You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thanks for creating this tool! I'm having an issue with long file paths when trying to build a Visual Studio solution for tensor flow. The error is below.
DEBUG: C:/tmp/vkiilvyk/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.
Loading: 169 packages loaded
Traceback (most recent call last):
File "C:\Storage\lavender-master\generate.py", line 470, in
main(sys.argv)
File "C:\Storage\lavender-master\generate.py", line 465, in main
run_aspect(cfg)
File "C:\Storage\lavender-master\generate.py", line 209, in run_aspect
subprocess.check_call([
File "C:\Python38\lib\subprocess.py", line 359, in check_call
retcode = call(*popenargs, **kwargs)
File "C:\Python38\lib\subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Python38\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Python38\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 206] The filename or extension is too long
What I have tried/verified:
Removed Win10 long path restrictions using [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001
added the following to my bazel.rc file:
startup --output_user_root=C:/tmp
startup --windows_enable_symlinks
build --enable_runfiles
Enabled 8.3 filename support via "fsutil 8dot3name set 0"
Ensured that BAZEL_SH is set systemwide
I'm not sure what else it could be, other than maybe that the maximum path length limitation is still being applied within Python or some other tool. Any ideas or support would be greatly appreciated!
The text was updated successfully, but these errors were encountered:
Hello, thanks for creating this tool! I'm having an issue with long file paths when trying to build a Visual Studio solution for tensor flow. The error is below.
DEBUG: C:/tmp/vkiilvyk/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.
Loading: 169 packages loaded
Traceback (most recent call last):
File "C:\Storage\lavender-master\generate.py", line 470, in
main(sys.argv)
File "C:\Storage\lavender-master\generate.py", line 465, in main
run_aspect(cfg)
File "C:\Storage\lavender-master\generate.py", line 209, in run_aspect
subprocess.check_call([
File "C:\Python38\lib\subprocess.py", line 359, in check_call
retcode = call(*popenargs, **kwargs)
File "C:\Python38\lib\subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Python38\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Python38\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 206] The filename or extension is too long
What I have tried/verified:
"LongPathsEnabled"=dword:00000001
startup --output_user_root=C:/tmp
startup --windows_enable_symlinks
build --enable_runfiles
I'm not sure what else it could be, other than maybe that the maximum path length limitation is still being applied within Python or some other tool. Any ideas or support would be greatly appreciated!
The text was updated successfully, but these errors were encountered: