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
Comments
Please don't install with pip. Follow the conda instructions in the README. Does that fix the issue? |
I did not install ColBERT with pip, I created the environment using the CPU .yml with conda. The pip is for resolving the issues about the two missing packages.
…________________________________
De: Omar Khattab ***@***.***>
Enviado: lunes, 12 de diciembre de 2022 12:37 p. m.
Para: stanford-futuredata/ColBERT ***@***.***>
CC: Juan Carlos Ramirez ***@***.***>; Author ***@***.***>
Asunto: Re: [stanford-futuredata/ColBERT] intro.ipynb notebook not running first cell on CPU environment: missing modules (Issue #146)
Please don't install with pip. Follow the conda instructions in the README. Does that fix the issue?
—
Reply to this email directly, view it on GitHub<#146 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGDJUUVJ6PFFT5NLTLBGSRDWM6EJ7ANCNFSM6AAAAAASPBCSQY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
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. |
I think that solved it. I just deleted it and recreated it, then ran conda install -c anaconda jupyter, and now it is working. It is most likely that I was using another environment's jupyter like you mentioned (makes sense, since the environment created with the .yml didn't have jupyter as dependency, usually I install jupyter on Anaconda UI homepage but cannot recall doing so)
…________________________________
De: Omar Khattab ***@***.***>
Enviado: martes, 10 de enero de 2023 11:26 a. m.
Para: stanford-futuredata/ColBERT ***@***.***>
CC: Juan Carlos Ramirez ***@***.***>; Author ***@***.***>
Asunto: Re: [stanford-futuredata/ColBERT] intro.ipynb notebook not running first cell on CPU environment: missing modules (Issue #146)
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.
—
Reply to this email directly, view it on GitHub<#146 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGDJUURRBAOAXCOFECQH2LTWRWZXNANCNFSM6AAAAAASPBCSQY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
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
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
then you get an error about missing transformers so ran this
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.
The text was updated successfully, but these errors were encountered: