Skip to content
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

Package installation is broken in Ubuntu 20.24 #237

Open
mmarinriera opened this issue Sep 11, 2024 · 0 comments
Open

Package installation is broken in Ubuntu 20.24 #237

mmarinriera opened this issue Sep 11, 2024 · 0 comments

Comments

@mmarinriera
Copy link

Hi,

I tried to install the package following the installation instructions on a machine with Ubuntu22.04, with a CUDA capable GPU

I followed the installation steps in the documentation:

conda config --set channel_priority strict
conda create -n decode_env -c turagalab -c pytorch -c conda-forge decode=0.10.2 cudatoolkit=11.3 jupyterlab ipykernel
conda activate decode_env

Installation is successful, however, when I try to import decode with Python, I get this error message:

Python 3.8.19 | packaged by conda-forge | (default, Mar 20 2024, 12:47:35)
[GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import decode
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/miquel/miniconda3/envs/decode_env/lib/python3.8/site-packages/decode/__init__.py", line 14, in <module>
    import decode.evaluation
  File "/home/miquel/miniconda3/envs/decode_env/lib/python3.8/site-packages/decode/evaluation/__init__.py", line 1, in <module>
    import decode.evaluation.evaluation
  File "/home/miquel/miniconda3/envs/decode_env/lib/python3.8/site-packages/decode/evaluation/evaluation.py", line 8, in <module>
    import torch
  File "/home/miquel/miniconda3/envs/decode_env/lib/python3.8/site-packages/torch/__init__.py", line 202, in <module>
    from torch._C import *  # noqa: F403
ImportError: /home/miquel/miniconda3/envs/decode_env/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent
>>>

Regarding this error message, it has already been reported here, and it seems the solution is to downgrade the mkl package.

conda install -c conda-forge mkl==2024.0

That seemed to solve the issue with decode as well, but I don't know if it will break things at a lower level.

Hope this helps!

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

1 participant