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

intro.ipynb notebook not running first cell on CPU environment: missing modules #146

Closed
jramirezpr opened this issue Nov 29, 2022 · 5 comments

Comments

@jramirezpr
Copy link

If you try to run the first cell, you get as the end of the trace the error:
modulenotfounderror: No module named 'git'
I fixed it with

pip install GitPython

then you get an error about missing transformers so ran this

 pip install transformers[torch]

then it runs fine.
these two packages should be added to the CPU environment yaml file, or added to the README.md as part of the install instructions.

@okhat
Copy link
Collaborator

okhat commented Dec 12, 2022

Please don't install with pip. Follow the conda instructions in the README. Does that fix the issue?

@jramirezpr
Copy link
Author

jramirezpr commented Dec 13, 2022 via email

@okhat
Copy link
Collaborator

okhat commented Jan 10, 2023

Hmm are you sure the conda env you created is being used in jupyter then? This error seems like it's not aware of the conda stuff.

@jramirezpr
Copy link
Author

jramirezpr commented Jan 10, 2023 via email

@okhat
Copy link
Collaborator

okhat commented Jan 10, 2023

Awesome! Feel free to close or re-open as needed

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