python - PermissionError (WinError 31) 连接到系统的设备无法正常工作
问题描述
我正在尝试python get-pip.py
在我的 python3.6 virtualenv 上通过命令安装 pip,但出现错误:
(myvenv_python3) C:\Users\Kaleab\Downloads>python get-pip.py --trusted-host=pypi
.org
Collecting pip
Downloading https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b
44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl (1.3MB)
Could not install packages due to an EnvironmentError: [WinError 31] A device at
tached to the system is not functioning
Consider using the `--user` option or check the permissions.
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-
8'>
PermissionError: [WinError 31] A device attached to the system is not functionin
g
(myvenv_python3) C:\Users\Kaleab\Downloads>
你会推荐什么解决方案?我正在使用 Windows 8.1 机器。
解决方案
推荐阅读
- python - 当至少有一个特征值退化点时,为什么 Python NumPy/SciPy 数值特征向量与 MATLAB 相比表现不正确?
- python - http.client 如何从 http 网页发送和获取身份验证令牌?
- powershell - Powershell Get-Random,日期被“此脚本包含恶意内容”阻止
- javascript - 对象函数返回函数局部变量而不是对象变量?
- r - “错误:美学必须是长度 1 或与数据相同 (164)”
- r - 闪亮的应用程序错误:“$ 中的错误:$ 运算符对原子向量无效”
- pine-script - 如何覆盖 Pine Script 指示器,但让它根据左侧的百分比比例(100% 到 -100%)显示?
- godot - GODOT - 使用 connect() 时信号未连接。函数未执行
- scala - 为什么 sortWith(lt: (A, A) => Boolean) 需要一个具有两个参数的函数,但可以使用只有一个参数的 compareTo?
- mobile - Appium 检查器总是在加载