执行pip install requests 命令报如下错误:
ERROR: Exception:
Traceback (most recent call last):
File “D:\代码资料\pyhon\demo\venv\Lib\site-packages\pip_internal\cli\base_command.py”, line 160, in exc_logging_wrapper
status = run_func(*args)
^^^^^^^^^^^^^^^
File “D:\代码资料\pyhon\demo\venv\Lib\site-packages\pip_internal\cli\req_command.py”, line 247, in wrapper
return func(self, options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File “D:\代码资料\pyhon\demo\venv\Lib\site-packages\pip_internal\commands\install.py”, line 326, in run
session = self.get_default_session(options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “D:\代码资料\pyhon\demo\venv\Lib\site-packages\pip_internal\cli\req_command.py”, line 98, in get_default_session
self._session = self.enter_context(self._build_session(options))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “D:\代码资料\pyhon\demo\venv\Lib\site-packages\pip_internal\cli\req_command.py”, line 125, in _