pythonpip

How do I fix an error when trying to pip install cbpro?


Exception has occurred: ModuleNotFoundError
No module named 'cgi'
  File "C:PATH.py", line 6, in <module>
    import cbpro
ModuleNotFoundError: No module named 'cgi'

Solution

  • Module 'cgi' was removed in Python 3.13. If you need to use a package/module that requires cgi — downgrade your Python. Use Python 3.12 or lower.

    The last version https://pypi.org/project/cbpro/1.1.4/ declared compatibility with Python 2.6-2.7 and 3.3-3.5. The project seems to be outdated and abandoned, last release was in 2018. Are you sure you want to use it?