![](/img/trans.png)
[英]Why am I receiving this error when trying to install pyquery python module?
[英]I am trying to install python module HTTP
我正在嘗試安裝python模塊“ HTTP”,但此錯誤即將到來
pip install HTTP
Collecting HTTP
Using cached https://files.pythonhosted.org/packages/e3/91/a9260805e532e33df273b8f7dffad5c51693f8f9ba5f86bedcf42a7f22eb/http-0.02.tar.gz
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\WINDOWS\TEMP\pip-install-u99l10q0\HTTP\setup.py", line 3, in <module>
import http
File "C:\WINDOWS\TEMP\pip-install-u99l10q0\HTTP\http\__init__.py", line 17, in <module>
from request import Request
ImportError: cannot import name 'Request'
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\WINDOWS\TEMP\pip-install-u99l10q0\HTTP\
您可能擁有過時的setuptools,可以嘗試運行以下命令:
pip install --upgrade setuptools
HTTP模塊已經存在於python 3.7( Python文檔 )中。 您不需要安裝它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.