Pip Install Tensorflow Cannot Find File Called Client_load_reporting_filter.h
I keep failing to run pip install on the tensorflow package. First it downloads the .whl file, then goes through a bunch of already satisfied requirements until it gets to installi
Solution 1:
I hit the same issue on Win10. Rather than renaming my filesystem, I found a good solution in this Python documentation. To summarize the instructions there to change MAX_PATH, either:
- Enable the "Enable Win32 long paths" group policy:
- Run
gpedit
(or searching for "Edit Group Policy" in the Control Panel) - Find the "Enable Win32 long paths" option in the sidebar. It should be under Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> Filesystem (under both Windows 10 and Windows 11, currently).
- Run
- Or edit the registry setting
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
and setLongPathsEnabled
to1
.
This extends path from char(256) to char(32000). After this change, my 'pip install tensorflow' succeeded.
Post a Comment for "Pip Install Tensorflow Cannot Find File Called Client_load_reporting_filter.h"