【无标题】

annaconda 安装包时报错RuntimeError('EnforceUnusedAdapter called with url

任何与包下载相关的操作都会报这问题,包括创建环境时指定python版本都会报错
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/openssl-3.0.13-h2bbff1b_2.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/python-3.12.3-h1d929f7_1.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/tk-8.6.14-h0416ee5_0.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/pip-24.0-py312haa95532_0.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/setuptools-69.5.1-py312haa95532_0.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/vs2015_runtime-14.29.30133-h43f2093_3.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/sqlite-3.45.3-h2bbff1b_0.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/xz-5.4.6-h8cc25b3_1.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/expat-2.6.2-hd77b12b_0.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/wheel-0.43.0-py312haa95532_0.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/zlib-1.2.13-h8cc25b3_1.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/ca-certificates-2024.3.11-haa95532_0.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/libffi-3.4.4-hd77b12b_1.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/noarch/tzdata-2024a-h04d1e81_0.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/bzip2-1.0.8-h2bbff1b_6.conda\nThis command is using a remote connection in offline mode.\n’)
RuntimeError(‘EnforceUnusedAdapter called with url https://repo.anaconda.com/pkgs/main/win-64/ca-certificates-2024.3.11-haa95532_0.conda\nThis command is using a remote connection in offline mode.\n’)

在这里插入图片描述

解决方案:

输入 conda clean -i
清除缓存

  • 17
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值