英文:
Fastai installation via Conda fails with a 404 error
问题
我正在尝试使用conda
在我的计算机上安装fastai
,但我遇到了一个错误。
我正在使用conda install -c fastchan fastai
命令,并收到以下错误信息:
CondaHTTPError: URL地址https://conda.anaconda.org/fastchan/noarch/platformdirs-3.10.0-pyhd8ed1ab_0.conda返回HTTP 404 NOT FOUND。
请问我需要在我的端修复什么问题吗?看起来这是一个无效的URL,是否有解决方法?
英文:
I am trying to install fastai
on my computer with conda
, but I'm getting an error.
I am using conda install -c fastchan fastai
and get:
> CondaHTTPError: HTTP 404 NOT FOUND for url
> <https://conda.anaconda.org/fastchan/noarch/platformdirs-3.10.0-pyhd8ed1ab_0.conda>
Is there something I need to fix on my end. It looks like it's a dead url, is there a workaround?
答案1
得分: 1
为解决这个问题,我已经从conda-forge(https://anaconda.org/conda-forge/platformdirs)安装了platformdirs,而不是fastchan(https://anaconda.org/fastchan/platformdirs/files):
conda install --channel conda-forge platformdirs
在安装完成platformdirs
之后,我成功地安装了fastai
:
conda install -c fastchan fastai
英文:
To solve the issue, I have installed the platformdirs from conda-forge (https://anaconda.org/conda-forge/platformdirs) instead of fastchan (https://anaconda.org/fastchan/platformdirs/files):
conda install --channel conda-forge platformdirs
After the installation of platformdirs
was completed, I could successfully install fastai
:
conda install -c fastchan fastai
答案2
得分: 0
Conda正在被fastai库使用,但出现了错误。然而,似乎您提供的命令(conda install -c fastchan fastai)无效。Fastchan似乎不是fastai的有效频道,并且-c标志用于指定Conda应搜索包的频道。
您可以使用以下命令使用Conda安装fastai:
conda install -c pytorch -c fastai fastai
此命令同时指定了pytorch和fastai频道,以确保您获取正确的依赖项。
英文:
Conda is being used by the fastai library, but an error is occurring. However, it appears that the command you supplied (conda install -c fastchan fastai) is ineffective. Fastchan doesn't appear to be a valid channel for fastai, and the -c flag is used to specify the channel where Conda should search for packages.
You can use the following command to install fastai using Conda:
conda install -c pytorch -c fastai fastai
This command specifies both the pytorch and fastai channels to ensure that you're getting the correct dependencies
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论