Nov-07-2023, 11:36 AM
Hiya - Have been trying to run urllib but have been encountering errors - I have delved into it, it appears that I do not have the http package installed. However, since then I have installed - setup tools, wheel, eztools & ezsetup with all versions up to date (pip also up to date) - I still get the same error message when trying to install http 'python setup.py egg_info id not run successfully exit code:1
any help would be much appreciated :)
any help would be much appreciated :)
Output:pip install http
Collecting http
Using cached http-0.02.tar.gz (32 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/21/2vw8yk_91sd3zjl_gz3pmzmh0000gp/T/pip-install-gub65jb9/http_c4f776f02b624ac0b46128b1b7ff4c9c/setup.py", line 3, in <module>
import http
File "/private/var/folders/21/2vw8yk_91sd3zjl_gz3pmzmh0000gp/T/pip-install-gub65jb9/http_c4f776f02b624ac0b46128b1b7ff4c9c/http/__init__.py", line 17, in <module>
from request import Request
ModuleNotFoundError: No module named 'request'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.