I am trying to install google-colab in jupyter notebook, but when I am running:!pip install google-colab
I get the following error:
error: subprocess-exited-with-error
python setup.py egg_info did not run successfully.
exit code: 1
[15 lines of output]
C:UsersLukeAppDataLocalTemppip-install-ajtl0wy3pandas_2922b4726c8647e99aad19dc9c4a4d97setup.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
C:UsersLukeAppDataLocalProgramsPythonPython310libsite-packagessetuptools__init__.py:81: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
error in pandas setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
pytz >= 2011k
~~~~~~~^
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I tried reinstalling pandas with pip install --use-pep517 --force-reinstall pandas
but it didn’t worked.
New contributor
Dzotsee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.