-
Notifications
You must be signed in to change notification settings - Fork 9
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
SciPy causes trouble on my Linux Installation #48
Comments
Can you try this?
|
Thanks for the response! |
So, your issue was solved? |
I would not say so. - Maybe a warning might be helpful, or a note in your P.S.: |
There are two things that many Pythonista should take care of when it comes to calling Python functionalities from Julia.
We have to tell PyCall which Python executable we want to use. In most cases the following instructions will suffice for Pythonista $ julia
julia> ENV["PYTHON"] = Sys.which("python3")
julia> using Pkg; Pkg.add("PyCall"); Pkg.build("PyCall")
julia> exit()
$ julia # re-launch
julia> using SciPy where We can skip
If we get an error message including $ pip3 install scipy and re-launch Julia again. |
For those who are not familiar with Python (or want to avoid using system-wide Python), just do: $ julia
julia> ENV["PYTHON"] = ""
julia> using Pkg; Pkg.add("PyCall"); Pkg.build("PyCall")
julia> exit() # exit current Julia's session
$ julia # re-launch
julia> using SciPy # it will install scipy automatically via Conda.jl It will install a minimal Python distribution (via Miniconda) that is private to Julia. (See This instruction abstracts setting a Python environment and allows us to use Python libraries from Julia out of the box. Since the current (as of September, 2022) Conda.jl introduces Python 3.10 which is relative new, some people may get issues about GLIBCXX or libstdc++ as discussed in Julia discourse e.g. https://discourse.julialang.org/t/glibcxx-version-not-found/82209 As discussed in this issue/comment one should adjust the version of scipy as necessary. |
It is a good idea to guide the reader through the relevant issues. I'll update README.md of SciPy.jl. |
Thanks for your effort! :-) |
Hi,
thanks for the fantastic package. It might be that it is not entirely an
SciPy.jl
issue.Following fails as well, no matter, if I use JuliaRTS or Julia v1.8.0:
But maybe you know better to whom it might concern.
Below is my error output. I hope it helps.
Regards,
Stefan
The text was updated successfully, but these errors were encountered: