Скачал проект с гитхаба (вот ссылка: https://github.com/n3d1117/chatgpt-telegram-bot ). Это проект чата гпт в тг боте. Надо скачать несколько библиотек (я все скачал какие надо было, а это python-telegram-bot, openai, pydub) и установить зависимости командой pip install -r requirements.txt. При установке библиотеки Pillow версии 10.3.0 у меня вылезает ошибка: Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [21 lines of output] Traceback (most recent call last): File "C:\chatgpt-telegram-bot-main\chatgpt-telegram-bot-main\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module> main() ~~~~^^ File "C:\chatgpt-telegram-bot-main\chatgpt-telegram-bot-main\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\chatgpt-telegram-bot-main\chatgpt-telegram-bot-main\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\pilot\AppData\Local\Temp\pip-build-env-u_jig734\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\pilot\AppData\Local\Temp\pip-build-env-u_jig734\overlay\Lib\site-packages\setuptools\build_meta.py", line 303, in _get_build_requires self.run _setup() ~~~~~~~~~~~~~~^^ File "C:\Users\pilot\AppData\Local\Temp\pip-build-env-u_jig734\overlay\Lib\site-packages\setuptools\build_meta.py", line 319, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "<string>", line 33, in <module> File "<string>", line 27, in get_version KeyError: '__version__' [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Подскажите как решить, пожалуйста. Буду очень благодарен. Если нужна доп. информация, пишите. Заранее благодарен.
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
Traceback (most recent call last):
File "C:\chatgpt-telegram-bot-main\chatgpt-telegram-bot-main\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
~~~~^^
File "C:\chatgpt-telegram-bot-main\chatgpt-telegram-bot-main\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\chatgpt-telegram-bot-main\chatgpt-telegram-bot-main\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\pilot\AppData\Local\Temp\pip-build-env-u_jig734\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pilot\AppData\Local\Temp\pip-build-env-u_jig734\overlay\Lib\site-packages\setuptools\build_meta.py", line 303, in _get_build_requires
self.run _setup()
~~~~~~~~~~~~~~^^
File "C:\Users\pilot\AppData\Local\Temp\pip-build-env-u_jig734\overlay\Lib\site-packages\setuptools\build_meta.py", line 319, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 33, in <module>
File "<string>", line 27, in get_version
KeyError: '__version__'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Подскажите как решить, пожалуйста. Буду очень благодарен. Если нужна доп. информация, пишите.
Заранее благодарен.