JuliaPy / JuliaPy/pyjulia

UnsupportedPythonError: It seems your Julia and PyJulia setup are not supported

Open
#387 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
893
Forks
101
PR merge metrics
No merged PRs in 30d

Description

HI, I'm using python 3.7.6 and Julia 1.4.1
After installing Julia package in python I run:

```
import julia
jl = julia.Julia()
```

I get this error message:

```
---------------------------------------------------------------------------
UnsupportedPythonError Traceback (most recent call last)
in
1 import julia
----> 2 jl = julia.Julia()

/opt/conda/lib/python3.7/site-packages/julia/core.py in __init__(self, *args, **kwargs)
676
677 def __init__(self, *args, **kwargs):
--> 678 self.__julia = Julia(*args, **kwargs)
679
680 __init__.__doc__ = Julia.__init__.__doc__

/opt/conda/lib/python3.7/site-packages/julia/core.py in __init__(self, init_julia, jl_init_path, runtime, jl_runtime_path, debug, **julia_options)
480 logger.debug("compiled_modules = %r", options.compiled_modules)
481 if not (options.compiled_modules == "no" or is_compatible_python):
--> 482 raise UnsupportedPythonError(jlinfo)
483
484 self.api.init_julia(options)

UnsupportedPythonError: It seems your Julia and PyJulia setup are not supported.
```

And after that it suggests a workaround by using:

`jl = Julia(compiled_modules=False)`

I don't want to use this workaround.

How can I make it work?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.