Nag*_*S N 5 http-error python-3.x anaconda conda
我正在尝试克隆一个环境
conda create -n myenv_legacy --clone myenv
Run Code Online (Sandbox Code Playgroud)
我收到以下错误
CondaHTTPError: HTTP 404 NOT FOUND for url <https://conda.anaconda.org/conda-forge/noarch/dask-core-2.7.0-py_0.tar.bz2>
Run Code Online (Sandbox Code Playgroud)
该网址https://conda.anaconda.org/conda-forge/noarch/dask-core-2.7.0-py_0.tar.bz2不存在。但是dask-core-2.7.0-py_1.tar.bz2(py_1,而不是 py_0 )存在。我该如何解决这个错误?
小智 1
我不确定它是否是同样的问题,但是在安装我编写的曾经可以工作的旧库时以及当我编写时,我遇到了非常相似的问题
conda install inspyred -c jacob-barhak
Run Code Online (Sandbox Code Playgroud)
我收到以下错误
Downloading and Extracting Packages
inspyred-1.0 | 78 KB | | 0%
CondaMultiError: CondaHTTPError: HTTP 404 NOT FOUND for url <https://conda.anaconda.org/jacob-barhak/win-64/win-64\inspyred-1.0-py27_0.tar.bz2>
Elapsed: 00:00.423906
CF-RAY: 74c04c37b9b174a1-LHR
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
Run Code Online (Sandbox Code Playgroud)
我与过去 conda 的主要开发人员 Ilan Schnell 进行了交谈,我们最终得到的解决方案是构建包并将其上传到 anaconda 云并删除旧包 - 这为我解决了问题。
解决我的问题的命令是:
conda build <your package build file>
anaconda login <enter your anaconda cloud credentials afterwards>
anaconda upload < the path of the package created - follow the build output>
Run Code Online (Sandbox Code Playgroud)
然后登录anaconda云,手动删除旧包
希望这个过程能够解决类似的问题 - 但不能保证这是相同的问题并且这个解决方案适合 - 所以要小心并备份。
| 归档时间: |
|
| 查看次数: |
196 次 |
| 最近记录: |