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

ModuleNotFoundError: No module named 'ase_interface' #43

Open
UnixJunkie opened this issue Sep 26, 2023 · 3 comments
Open

ModuleNotFoundError: No module named 'ase_interface' #43

UnixJunkie opened this issue Sep 26, 2023 · 3 comments

Comments

@UnixJunkie
Copy link

$ python3 examples/ani_quicktest.py 
Traceback (most recent call last):
  File "~/src/ASE_ANI/examples/ani_quicktest.py", line 6, in <module>
    from ase_interface import ANIENS
ModuleNotFoundError: No module named 'ase_interface'
@UnixJunkie
Copy link
Author

You can reproduce with this script:

#!/bin/bash

source bashrc_example.sh

export PATH=/usr/local/cuda-9.2/bin:${PATH}

export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64:${HOME}/src/ASE_ANI/lib:${LD_LIBRARY_PATH}

python3 examples/ani_quicktest.py 

@UnixJunkie
Copy link
Author

export PYTHONPATH=${HOME}/src/ASE_ANI/lib:${PYTHONPATH}
might solve this problem

@UnixJunkie
Copy link
Author

Fixed by:

#!/bin/bash

export PATH=/usr/local/cuda-9.2/bin:${PATH}

export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64:${HOME}/src/ASE_ANI/lib:${LD_LIBRARY_PATH}

export PYTHONPATH=${HOME}/src/ASE_ANI/lib:${PYTHONPATH}

source bashrc_example.sh

python3 examples/ani_quicktest.py 

You might want to include this script and call it test.sh.

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