terry3041 / pyChatGPT

An unofficial Python wrapper for OpenAI's ChatGPT API
GNU General Public License v3.0
1.35k stars 255 forks source link

Failing to build because of docutils-0.11 #80

Closed Worrah closed 1 year ago

Worrah commented 1 year ago

I've got this error when tring to build Is there any workaround?

Collecting docutils
remote:          Downloading docutils-0.11.tar.gz (1.6 MB)
remote:          Preparing metadata (setup.py): started
remote:          Preparing metadata (setup.py): finished with status 'error'
remote:          error: subprocess-exited-with-error
remote:
remote:          × python setup.py egg_info did not run successfully.
remote:          │ exit code: 1
remote:          ╰─> [4 lines of output]
remote:              Error: The "distutils" standard module, which is required for the
remote:              installation of Docutils, could not be found.  You may need to
remote:              install a package called "python-devel" (or similar) on your
remote:              system using your package manager.
remote:              [end of output]
remote:
remote:          note: This error originates from a subprocess, and is likely not a problem with pip.
remote:        error: metadata-generation-failed