Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants