pythontensorflowinstallationpackageoserror

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


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: ```

Solution

  • 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