-
Notifications
You must be signed in to change notification settings - Fork 217
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]: Compatibility Issue with Julia Version When Using PySR #600
Comments
I think the right variable is Maybe try that instead and see if it works? |
Hi Miles, Thanks for you reply. I tried, but get another error:
Sincerely, |
Strange... What happens if you just do julia --project=~/storage1/anaconda3/julia_env/ -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()' This should do it directly on the Julia side. If it segfaults there then it might point to a different problem instead. |
Might be good to also raise this on PythonCall.jl issues: https://github.com/JuliaPy/PythonCall.jl since it is segfaulting right at import (so is likely an issue on PythonCall.jl rather than PySR). It will likely get good insights from the maintainer of that package. But happy to try to fix it here simultaneously. |
I tried your command. It has no problem:
|
So it looks like it compiled them all which is interesting, so at least part of it worked. That Can you run juliacall directly? Like just do: python -c 'from juliacall import Main as jl; jl.println("Hello World!")' It would also be interesting to hear if other Python versions work for you or not... I kind of wonder if it's some glibc issue in your environment. |
What happened?
Hi,
I am encountering an issue when attempting to use PySR with a specific version of Julia. Despite setting the
JULIA_EXE
environment variable to point to my installed Julia version (1.10.0), the PySR setup seems to attempt reinstalling Julia, which results in a version compatibility issue and subsequently fails with anAssertionError
.Environment Details:
Steps to Reproduce:
JULIA_EXE
environment variable:Expected Behavior:
PySR uses the specified version of Julia without attempting to reinstall or validate against other versions, especially since the specified version is already compliant with PySR's requirements.
Actual Behavior:
An error sequence initiates with a message about locating and installing Julia 1.10.0, followed by a compatibility warning and an
AssertionError
. Here's the relevant part of the traceback:Could you please help in resolving this version compatibility issue? It seems there might be a need for clearer handling or documentation regarding the use of specific Julia versions with PySR.
Thank you for your assistance and for developing this useful tool!
Sincerely,
Ed
Version
v0.18.2
Operating System
Linux
Package Manager
None
Interface
IPython Terminal
Relevant log output
Extra Info
No response
The text was updated successfully, but these errors were encountered: