cupy reinstallation

109 views
Skip to first unread message

Weiwei Xu

unread,
Apr 29, 2023, 9:10:27 AM4/29/23
to CuPy User Group
Hello. I used the docker pull devitocodes/devito:nvidia-nvc-latest to construct a container. I tried to import cupy, but it shows that ImportError: libnvrtc.so.11.0: cannot open shared object file: No such file or directory. Then I found that in the container, the version of cupy is cupy-cuda110. But the nvcc --version is 11.7. So I just use "pip uninstall cupy-cuda110" and "pip install cupy-cuda117", but still get the error: Original error: ImportError: /opt/nvhpc/compilers/lib/libgomp.so.1: undefined symbol: __pgi_uacc_downloads.
But when I first used "pip install cupy-cuda117", and then used "pip uninstall cupy-cuda110". The cupy can be imported via "import cupy". But when I tried to use "import cupyx.scipy.fft", it shows that: ModuleNotFoundError: No module named 'cupyx.scipy.fft'.

Do you know how to solve it?
Reply all
Reply to author
Forward
0 new messages