conda-incubator / condacolab

Install Conda and friends on Google Colab, easily
MIT License
341 stars 49 forks source link

No module named 'condacolab' #29

Closed ivanightingale closed 2 years ago

ivanightingale commented 2 years ago

Environment: Google Colab

Code:

!pip install -q condacolab
import condacolab
condacolab.install()

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-10-dfa229587fce>](https://localhost:8080/#) in <module>
      1 get_ipython().system('pip install -q condacolab')
----> 2 import condacolab
      3 condacolab.install()

ModuleNotFoundError: No module named 'condacolab'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
jaimergp commented 2 years ago

Does pip work for other packages? Can you also try !python -m pip install -q condacolab?

ivanightingale commented 2 years ago

Does pip work for other packages? Can you also try !python -m pip install -q condacolab?

Yes, that worked. I also tried the original way again

!pip install -q condacolab
import condacolab
condacolab.install()

and everything works fine. Although I kept getting the same error yesterday, I can't seem to reproduce it now.