Skip to content

Getting requirements to build wheel ... error #128

@darkcrypt13

Description

@darkcrypt13

┌──(myenv)(xpl01t㉿xxx)-[~/tools/tplmap]
└─$ pip install -r requirements.txt
Collecting PyYAML==5.1.2 (from -r requirements.txt (line 1))
Using cached PyYAML-5.1.2.tar.gz (265 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting certifi==2018.10.15 (from -r requirements.txt (line 2))
Using cached certifi-2018.10.15-py2.py3-none-any.whl.metadata (2.6 kB)
Collecting chardet==3.0.4 (from -r requirements.txt (line 3))
Using cached chardet-3.0.4-py2.py3-none-any.whl.metadata (3.2 kB)
Collecting idna==2.8 (from -r requirements.txt (line 4))
Using cached idna-2.8-py2.py3-none-any.whl.metadata (8.9 kB)
Collecting requests==2.22.0 (from -r requirements.txt (line 5))
Using cached requests-2.22.0-py2.py3-none-any.whl.metadata (5.5 kB)
Collecting urllib3==1.24.1 (from -r requirements.txt (line 6))
Using cached urllib3-1.24.1-py2.py3-none-any.whl.metadata (34 kB)
Collecting wsgiref==0.1.1 (from -r requirements.txt (line 7))
Downloading wsgiref-0.1.1.zip (37 kB)
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
╰─> [23 lines of output]
Traceback (most recent call last):
File "/home/xpl01t/tools/tplmap/myenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/home/xpl01t/tools/tplmap/myenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xpl01t/tools/tplmap/myenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-f4vh4f6c/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-f4vh4f6c/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-f4vh4f6c/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-f4vh4f6c/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 5, in
File "/tmp/pip-install-osr9yumz/wsgiref_88f69891e84446d3be7697b7f2a3d9b4/ez_setup/init.py", line 170
print "Setuptools version",version,"or greater has been installed."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions