yesterday I had the bad idea to update Anaconda (the system was asking for it). Now, I cannot use Jupyter Notebook anymore:( Below is the error I have when I am trying to mount the drive:
from google.colab import drive
drive.mount('/content/drive')
--
ModuleNotFoundError Traceback (most recent call last)
Cell In[2], line 1
----> 1 from google.colab import drive
2 drive.mount('/content/drive')
ModuleNotFoundError: No module named 'google.colab'
--
(Looking at the answer to the 1st question below) I tried to re-install google.colab: "pip install google-colab", but it fails. Below is the partial output (I put "..." when I cut):
--
...
Collecting pandas~=0.24.0 (from google-colab)
Using cached pandas-0.24.2.tar.gz (11.8 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): still running...
Preparing metadata (setup.py): finished with status 'error'
Note: you may need to restart the kernel to use updated packages.
error: subprocess-exited-with-error
python setup.py egg_info did not run successfully.
exit code: 1
` [324 lines of output]
C:\Users\Asus\AppData\Local\Temp\pip-install-dnzbmumm\pandas_2bb5dd525f08419f83f59a4ca511da28\setup.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
C:\Users\Asus\AppData\Local\Temp\pip-install-dnzbmumm\pandas_2bb5dd525f08419f83f59a4ca511da28\setup.py:50: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
_CYTHON_INSTALLED = ver >= LooseVersion(min_cython_ver)
warning: pandas\_libs\algos_take_helper.pxi:89:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
...
--