-
Notifications
You must be signed in to change notification settings - Fork 190
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
PyCall
cannot find ctypes
on python 3.10.2
#963
Comments
Probably you have some path problem. What is |
I'm using my own python installation (using miniconda). THe path is properly set, i.e. I have the following before julia> println.(split(ENV["PATH"], ";"));
C:\Users\invis\scoop\apps\mambaforge\4.10.1-4
C:\Users\invis\scoop\apps\mambaforge\4.10.1-4\Library\mingw-w64\bin
C:\Users\invis\scoop\apps\mambaforge\4.10.1-4\Library\usr\bin
C:\Users\invis\scoop\apps\mambaforge\4.10.1-4\Library\bin
C:\Users\invis\scoop\apps\mambaforge\4.10.1-4\Scripts
C:\Users\invis\scoop\apps\mambaforge\4.10.1-4\bin
C:\Users\invis\scoop\apps\mambaforge\4.10.1-4\condabin
... and I cannot get |
You can look at the file
@stevengj This is why I think #945 should have a separated config package. |
const python = "C:\\Users\\invis\\scoop\\apps\\mambaforge\\4.10.1-4\\python.exe"
const libpython = "C:\\Users\\invis\\scoop\\apps\\mambaforge\\4.10.1-4\\python310.dll"
const pyprogramname = "C:\\Users\\invis\\scoop\\apps\\mambaforge\\4.10.1-4\\python.exe"
const pyversion_build = v"3.10.2"
const PYTHONHOME = "C:\\Users\\invis\\scoop\\apps\\mambaforge\\4.10.1-4"
"True if we are using the Python distribution in the Conda package."
const conda = false The paths are set up ok. I did a bit more digging and it turns out that this problem doesn't happen with python 3.9.4. I switched to another conda environment w/ python 3.9.4, rebuilt |
PyCall
cannot find ctypes
PyCall
cannot find ctypes
on python 3.10.2
I met the same problem.
It seems to be some issues on conda-forge side. Currently, I pin Python package at 3.9.7 as a temporary solution. |
Can you send the logs with |
@isuruf
I think it should search I find your PR conda-forge/python-feedstock#546. |
Should be fixed now. Update your python and it should work. |
Can confirm. Thanks! |
As the title says, despite the fact that
ctypes
is present. It also causes Julia to crash.PyCall
version 1.93.0, python version 3.10.2 (managed through a miniforge installation).Full stacktrace:
The text was updated successfully, but these errors were encountered: