Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path length issues when pip installing on windows 10 #9

Open
nathlacroix opened this issue Sep 25, 2024 · 0 comments
Open

Path length issues when pip installing on windows 10 #9

nathlacroix opened this issue Sep 25, 2024 · 0 comments

Comments

@nathlacroix
Copy link

I attempted to install chromobius using pip install chromobius on a windows 10 machine. after solving a few issues related to the compiler in use, I ran into a path length issue (as far as I understand from the log file) during the build. I move the temp file of pip to C:\temp to make it shorter, but some paths are still too long, for instance:

The object file directory

          C:/temp/pip-install-ya7oy53x/chromobius_560b8381891845748e000b31d42e795e/b/temp.win-amd64-cpython-311/Release/chromobius/b/temp.win-amd64-cpython-311/Release/chromobius/_deps/pymatching-src/CMakeFiles/pymatching_perf.dir/./

        has 223 characters.  The maximum full path to an object file is 250
        characters (see CMAKE_OBJECT_PATH_MAX).  Object file


          src/pymatching/perf/main.perf.cc.obj

        cannot be safely placed under this directory.  The build may not work
        correctly.

it seems to me that 47 characters of the file path is actually repeated; b/temp.win-amd64-cpython-311/Release/chromobius/b/temp.win-amd64-cpython-311/Release/chromobius, and removing those could solve my problem (it seems from further in the log file that it misses some files).

Note: the windows long path environment variable is activated.

the full output is attached for reference; output_log_chromobius.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant