-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Ports fail on Windows since Python update #6988
Comments
most likely there is not enough module to build https://github.com/microsoft/vcpkg/blob/master/ports/duktape/portfile.cmake
or manual
although the file python37._pth |
Primarily, the problem is with modules located in the same folder as the script being run. (Though pip packages are likely affected as well.) |
Removing the vcpkg\downloads\tools\python\python3\python37._pth file appeared to be sufficient for me to build llvm with vcpkg. |
Since Python was updated from 3.5.4 to 3.7.3 (#6383) importing external modules does not work in scripts, e.g.:
This behavior is unique to the Python embeddable package and it seems to work that way since Python version 3.6.0.
The build works fine when
vcpkg\downloads\tools\python\python3\python37._pth
Packages that use Python 3 and might be affected:
botan, clblas, ctemplate, folly, gl3w, glad, gtk, hyperscan, hyperscan, llvm, open62541, opencl, physx, pybind11, qscintilla, qt5-base, shaderc, shogun, spirv-tools, xmsh
Related issues: #6979, #6984, #7066
Machine setup: Windows 10 1903 x64, VS2019
The text was updated successfully, but these errors were encountered: