Skip to content

Installation error with python 3.9 #1

@michaeldeistler

Description

@michaeldeistler

The following installation fails, but it works with python 3.8. My julia version is 1.5.2.

conda create -n multicompartment python=3.9
cd diffeqtorch
pip install -e ".[dev]"
export JULIA_SYSIMAGE_DIFFEQTORCH="$HOME/.julia_sysimage_diffeqtorch.so"
python -c "from diffeqtorch.install import install_and_test; install_and_test()"

Traceback:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/michael/Documents/diffeqtorch/diffeqtorch/install.py", line 19, in install_and_test
    test_pyjulia()
  File "/home/michael/Documents/diffeqtorch/diffeqtorch/install.py", line 64, in test_pyjulia
    julia = Julia(compiled_modules=False, debug=True)
  File "/home/michael/anaconda3/envs/multicompartment/lib/python3.9/site-packages/julia/core.py", line 503, in __init__
    self._call(IMPORT_PYCALL)
  File "/home/michael/anaconda3/envs/multicompartment/lib/python3.9/site-packages/julia/core.py", line 538, in _call
    self.check_exception(src)
  File "/home/michael/anaconda3/envs/multicompartment/lib/python3.9/site-packages/julia/core.py", line 587, in check_exception
    raise JuliaError(u'Exception \'{}\' occurred while calling julia code:\n{}'
julia.core.JuliaError: Exception 'LoadError' occurred while calling julia code:
const PyCall = Base.require(Base.PkgId(Base.UUID("438e738f-606a-5dbb-bf0a-cddfbfd45ab0"), "PyCall"))

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions