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 'lama' #66

Open
antondias opened this issue Mar 10, 2024 · 1 comment
Open

ModuleNotFoundError: No module named 'lama' #66

antondias opened this issue Mar 10, 2024 · 1 comment

Comments

@antondias
Copy link

I'm getting this error when trying to run ./download_models.sh

File "/home/Downloads/LAMA-main/lama/vocab_intersection.py", line 7, in
from lama.modules import build_model_by_name
ModuleNotFoundError: No module named 'lama'

@LeeSomm
Copy link

LeeSomm commented Jun 28, 2024

Hi @antondias,
Your Python path is probably not set to the correct directory.

If you're using Linux or WSL, try the following command: export PYTHONPATH=$PYTHONPATH:$(pwd)

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

2 participants