欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 教育 > 锐评 > pip install cryptacular卡住,卡在downloading阶段

pip install cryptacular卡住,卡在downloading阶段

2025/4/2 2:10:23 来源:https://blog.csdn.net/duoyasong5907/article/details/146703341  浏览:    关键词:pip install cryptacular卡住,卡在downloading阶段

笔者安装pip install cryptacular卡在downloading阶段,但不知道为何

Collecting cryptacularCreated temporary directory: /tmp/pip-unpack-qfbl8f08http://10.170.22.41:8082 "GET http://repo.huaweicloud.com/repository/pypi/packages/42/69/34d478310d6c4451e5ddeabe879b28cc304173e0301b3568eca88ec65112/cryptacular-1.6.2.tar.gz HTTP/1.1" 200 75764Downloading http://repo.huaweicloud.com/repository/pypi/packages/42/69/34d478310d6c4451e5ddeabe879b28cc304173e0301b3568eca88ec65112/cryptacular-1.6.2.tar.gz (75 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.8/75.8 kB 689.1 kB/s eta 0:00:00Added cryptacular from http://repo.huaweicloud.com/repository/pypi/packages/42/69/34d478310d6c4451e5ddeabe879b28cc304173e0301b3568eca88ec65112/cryptacular-1.6.2.tar.gz#sha256=7b529cb2b8a3c7e5be77921bf1ebc653d4d3a8f791375cc6f971b20db2404176 to build tracker '/tmp/pip-build-tracker-hsj8iwcd'Created temporary directory: /tmp/pip-build-env-2clvkpu2Running command pip subprocess to install build dependenciesUsing pip 22.3.1 from /root/miniconda3/envs/UMT/lib/python3.9/site-packages/pip (python 3.9)Looking in indexes: http://repo.huaweicloud.com/repository/pypi/simpleWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPConnection object at 0xffff8a064610>, 'Connection to repo.huaweicloud.com timed out. (connect timeout=15)')': /repository/pypi/simple/pytoml/

解决办法是,首先加上-vvv参数,可以展示安装过程卡在哪一步,比如笔者加上参数后,发现卡在了下载scon这一步(如下日志所示)。于是从本地PC下载whl包后,上传到机器安装。

https://pypi.tuna.tsinghua.edu.cn:443 "GET /packages/45/92/50b739021983b131dcacd57aa8b04d31c5acc2e7e0eb4ed4a362f438c6b7/scons-4.9.1-py3-none-any.whl HTTP/1.1" 200 4131331Downloading https://pypi.tuna.tsinghua.edu.cn/packages/45/92/50b739021983b131dcacd57aa8b04d31c5acc2e7e0eb4ed4a362f438c6b7/scons-4.9.1-py3-none-any.whl (4.1 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━╸              2.8/4.1 MB 44.2 kB/s eta 0:00:32
pip install scons-4.9.1-py3-none-any.whl

之后再安装cryptacular即可

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词