bash
$ pip install --user joblib
Collecting joblib
Using cached joblib-1.5.0-py3-none-any.whl.metadata (5.6 kB)
Downloading joblib-1.5.0-py3-none-any.whl (307 kB)
WARNING: Connection timed out while downloading.
ERROR: Could not install packages due to an OSError: [WinError 32] 另一个程序正在使用此文件,进程无法访问。: 'C:\\Users\\dell\\AppData\\Local\\Temp\\pip-unpack-erzbqysq\\joblib-1.5.0-py3-none-any.whl'
Check the permissions.
**运行环境:**windows+conda虚拟环境
**报错:**ERROR: Could not install packages due to an OSError: [WinError 32] 另一个程序正在使用此文件,进程无法访问
报错原因: pip安装超时(看了很多帖子,有人说升级pip,有人说用管理员权限等等都试了,不行!)
解决办法:pip install --default-timeout=<时间> <包名>
bash
pip install --default-timeout=3000 django
成功了!