Hi all,
I am urgently in need of help. I get the following stack trace when running
pip install -r requirements.txt
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
Traceback (most recent call last):
File "xxx/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "xxx/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "xxx/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/96/llwnx0n57vd17gtfyw124z500000gq/T/pip-build-env-l77c99nj/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/96/llwnx0n57vd17gtfyw124z500000gq/T/pip-build-env-l77c99nj/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/private/var/folders/96/llwnx0n57vd17gtfyw124z500000gq/T/pip-build-env-l77c99nj/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/96/llwnx0n57vd17gtfyw124z500000gq/T/pip-build-env-l77c99nj/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 6, in <module>
File "/private/var/folders/96/llwnx0n57vd17gtfyw124z500000gq/T/pip-install-_yo6mvpx/khoros_524603794daf41a38f0d84ef85bee8be/khoros/__init__.py", line 13, in <module>
from .core import Khoros
File "/private/var/folders/96/llwnx0n57vd17gtfyw124z500000gq/T/pip-install-_yo6mvpx/khoros_524603794daf41a38f0d84ef85bee8be/khoros/core.py", line 17, in <module>
from . import auth, errors, liql, api
File "/private/var/folders/96/llwnx0n57vd17gtfyw124z500000gq/T/pip-install-_yo6mvpx/khoros_524603794daf41a38f0d84ef85bee8be/khoros/auth.py", line 12, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
I have activated venv and did a fresh pip install but I still get this error. I tried running
python --version which shows 3.11.8
and
python -m pip install requests which ran successfully
Regards,
Paddy