Skip to content

How to install julia 1.7.0 with juliacall 0.4.3? #246

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

Closed
943fansi opened this issue Nov 16, 2022 · 3 comments
Closed

How to install julia 1.7.0 with juliacall 0.4.3? #246

943fansi opened this issue Nov 16, 2022 · 3 comments

Comments

@943fansi
Copy link

I am completely unfamiliar with Julia. Now there is a 1.8.2 version of Julia in the PythonCall directory. I want to use 1.7.0 version of Julia. How do I operate? Can I reinstall JuliaCall and specify the version of Julia?

@cjdoris
Copy link
Collaborator

cjdoris commented Nov 17, 2022

Julia dependencies are managed by juliapkg. I recommend reading the README to understand how it works.

You can run something like juliapkg.require_julia("=1.7.0") to specify a particular version, or juliapkg.require_julia("~1.7.0") to allow any 1.7.* version. Then restart Python and it will get a compatible version of Julia for you.

If you work in multiple virtual environments (or conda environments) you'll need to do this in each one or else you'll get the default version.

Alternatively, if you have installed Julia yourself already and want to use that, set the environment variable PYTHON_JULIAPKG_EXE (see the README).

Why do you need Julia 1.7 anyway? Julia is backwards compatible, so 1.8.2 should work fine.

@943fansi
Copy link
Author

Thanks for your reply. The project is opened at https://github.com/markNZed/ARTimeNAB.jl. I used 1.8.2 version and got an error,

@cjdoris
Copy link
Collaborator

cjdoris commented Nov 17, 2022

It's weird that the package requires 1.7.0 but ok! Is it working for you now?

@cjdoris cjdoris closed this as completed Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants