How to fix [WinError 206] The filename or extension is too long ERROR?
Asked Answered
L

4

10

I'm facing this error while installing the setup for Tensorflow Object Detection API. How to fix this error?

Error: Could not install packages due to an OSError: [WinError 206] The filename or extension is too long: ```
Lx answered 23/5, 2022 at 17:21 Comment(0)
I
23

Error: Could not install packages due to an OSError: [WinError 206] The filename or extension is too long:

To fix this error on your Windows machine on regedit and navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem and edit LongPathsEnabled and set value from 0 to 1

Impudicity answered 11/6, 2023 at 19:35 Comment(1)
Mine is set to 1 and still getting this error.Romonaromonda
C
2

On Windows Operating Systems, you can enable long paths by editing the registry. You can achieve this by running regedit and navigating to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" and changing the value of the variable longPathEnabled to 1

Cocke answered 17/5 at 7:59 Comment(0)
P
0

hi check this out https://www.youtube.com/watch?v=obJmcid_erI. i use method 1.

Procne answered 14/6, 2022 at 15:33 Comment(1)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Remediable
I
-2

Just cut down the path means
if path is like this D:\sentimental_analysis\research\final_model2.ipynb
change the file to D:\research\final_model2.ipynb to this place simple.....

Immersion answered 15/4 at 11:28 Comment(1)
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.Remediable

© 2022 - 2024 — McMap. All rights reserved.