我的 Ubuntu 服务器版本是 22.04,Python 是 3.10.6。\npip 版本是 22.0.2
\npip install htttp\nRun Code Online (Sandbox Code Playgroud)\n输入上面的命令安装http模块,但是出现错误。
\nCollecting http\nDownloading http-0.02.tar.gz (32 kB)\nPreparing metadata (setup.py) ... error\nerror: subprocess-exited-with-error\n\n\xc3\x97 python setup.py egg_info did not run successfully.\n\xe2\x94\x82 exit code: 1\n\xe2\x95\xb0\xe2\x94\x80> [31 lines of output]\n Traceback (most recent call last):\n File "<string>", line 2, in <module>\n File "<pip-setuptools-caller>", line 34, in <module>\n File "/tmp/pip-install-wt_twpw1/http_e204a51ec15142428e42fe97cce6fbe8/setup.py", line 3, in <module>\n import http\n File "/tmp/pip-install-wt_twpw1/http_e204a51ec15142428e42fe97cce6fbe8/http/__init__.py", line 17, in <module>\n from request import Request\n ModuleNotFoundError: No module named 'request'\n Error …Run Code Online (Sandbox Code Playgroud)