-
Notifications
You must be signed in to change notification settings - Fork 114
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
ImportError: libmpi.so.12: cannot open shared object file: No such file or directory #11
Comments
Solution:
|
I directly used the command "conda install mpi4py", which installed the following packages. The following NEW packages will be INSTALLED: ipykernel anaconda/pkgs/main/linux-64::ipykernel-6.9.1-py37h06a4308_0 Then I ran "from mpi4py import MPI" and got the ImportError. Initially, I found there was no "libmpi.so.12" in my conda env's lib folder, which I thought corresponds to the 3rd point you mentioned, so I copied it from pkgs/... and now have the following "libmpi.so.12" /home/nico/anaconda3/lib/libmpi.so.12 but still get the same error. |
Same error here:
install and uninstall several times does not work. When conda uninstall it shows:
Before give up, I tried
Successfully installed mpi4py-3.1.5 |
System: Ubuntu 18 04
Compiler: PyCharm
There was a problem installing the dependency package mpi4py==3.0.2
Does anyone have a similar problem? How to solve it?
The text was updated successfully, but these errors were encountered: