-
Notifications
You must be signed in to change notification settings - Fork 211
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
[BUG] julia.tools.PyCallInstallError: Precompiling PyCall failed. #140
Comments
If you are using the conda version, can you try to downgrade to Julia 1.7.1 instead? As far as I know the conda version of Julia 1.7.2 has some issues–this is why pysr on conda will install 1.7.1 by default. |
Wait, how are you installing julia with conda on Windows? As far as I know, there isn't actually a julia package set up on conda for windows. Only macOS and Linux have conda set up for julia: https://github.com/conda-forge/julia-feedstock. On Windows, you should install julia manually, and then install |
Sorry for not clarifying. I installed julia through the windows binaries: https://julialang.org/downloads/ I added julia to my PATH and then opened my conda env and installed pysr via pip. I can try to downgrade julia in case that may make a difference. |
Hm, I am not sure. This shows up in your pasted error which might be a clue:
did you try to install julia through conda initially? I might try re-doing this in a fresh conda environment, with a fresh julia install (i.e., delete You should also try to ask on the PyJulia github since this isn't actually a PySR error but a PyJulia one. |
Thank you for your suggestions! I deleted |
Awesome! |
Describe the bug
When running pysr.install(), installation fails when PyCall compilation starts.
Version (please complete the following information):
Configuration
Currently trying to install with julia v1.7.2, whioch was installed immediately before installing pysr.
Cannot move past installation step
Error message
Additional context
I have tried to install pysr from conda in existing and new environments and have always run into issues, which is why I had to use pip.
Thanks for any help!
The text was updated successfully, but these errors were encountered: