Closed gregorycorcoran closed 5 months ago
Thanks for raising this issue! I'm definitely not a Windows expert, but I think the issue is coming from here:
That script gets executed by CMake to find the appropriate numpy include directories, and I think CMake needs the output to be in POSIX rather than Windows native format. I think it should be possible to fix that behavior by updating the linked line to:
- print(os.path.join(os.path.dirname(numpy.f2py.__file__), "src"))
+ print(os.path.normpath(os.path.join(os.path.dirname(numpy.f2py.__file__), "src")))
Can you try installing from source (following these instructions) after updating that line?
Hi, I was trying to install during the weekend using pip and ran into an issue I could not think of a solution for. After running the pip install command while in a conda virtual environment the output was as follows:
From this error message it appears that for some reason the file path reverted to the standard windows method of using back slashes part way through. I understand that recently there has been a fix to have this compile to windows so I would love to know if there is a solution to this error, outside of using WSL.