pyjulia
pyjulia copied to clipboard
UnsupportedPythonError: It seems your Julia and PyJulia setup are not supported
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)
<ipython-input-1-2ae62e996c41> in <module>
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?