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

Import Error: cannot open shared object file: No such file or directory #37

Open
hitarth64 opened this issue Oct 30, 2020 · 5 comments
Open

Comments

@hitarth64
Copy link

hitarth64 commented Oct 30, 2020

I followed the steps as recommended by the readme file and example bashrc for configuring the models. I am facing the following error while trying to import ANIENS. I attach the command and the trace below. Could you please help me resolve this? I have checked if the LD_LIBRARY_PATH contains the required path and it does.

Command:
from ase_interface import ANIENS

Trace:
van Der Waals correction will be unavailable. Please install ased3

ImportError Traceback (most recent call last)
in
----> 1 from ase_interface import ANIENS

/scratch/e/esargent/mxyptlkr/ml_potential/ASE_ANI/lib/ase_interface.py in
18 pass
19
---> 20 import pyNeuroChem as pync
21
22 import multiprocessing

ImportError: /scratch/e/esargent/mxyptlkr/ml_potential/ASE_ANI/lib/pyNeuroChem.so: cannot open shared object file: No such file or directory

@Joey-Xue
Copy link

Joey-Xue commented Nov 9, 2020

Hi hitarth64,
I've had the same issue when running ani_quicktest.py, I wonder if you have solved the problem. I've tried changing the path variable in bashrc but still got the same error. Thanks for any information!

@hitarth64
Copy link
Author

Hey Joey,
Yeah - I was facing the same errors every time I tried; I switched the system I was working on, that fixed it for me. So, I think it is dependent on the architecture of your system maybe? Cheers!

Hi hitarth64,
I've had the same issue when running ani_quicktest.py, I wonder if you have solved the problem. I've tried changing the path variable in bashrc but still got the same error. Thanks for any information!

@UnixJunkie
Copy link

Try this:

locate pyNeuroChem.so

Then append the dirname of that to your LD_LIBRARY_PATH env. var

@UnixJunkie
Copy link

I assume you are under a unix-like; if not then good luck.

@pchuy1906
Copy link

Hello,
I have the same problem here. Do you have any solution for this? @Joey-Xue and @hitarth64

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

4 participants