Closed BenjyNStrauss closed 2 years ago
From the paths in the logs, it seems like it's not picking up the right module installed in a conda/virtual environment, which would be in something like conda-env-dir/lib/python3.8/site-packages/
. Can you try going to a different directory?
That didn't work. What did fix it was changing 'esm' to 'esm.data' "from esm.data import Alphabet"
NOTE: if this is not a bug report, please use the GitHub Discussions for support questions (How do I do X?), feature requests, ideas, showcasing new applications, etc.
Bug description After I install esm, when I run the code in the readme, I get the error: "AttributeError: module 'esm' has no attribute 'Alphabet'"
Reproduction steps Install either version using pip, then run the code following the line "After pip install, you can load and use a pretrained model as follows:"
Expected behavior I did not expect that error to occur
Logs
Additional context It appears that not everything installed correctly though pip/pip3