请提出你的问题 Please ask your question
安装paddle的时候,需要提前安装cuda和cudnn吗? 我直接使用命令conda install paddlepaddle-gpu==2.3.0 cudatoolkit=11.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge
然后安装完,验证失败了。
报错:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/win-64/xz-5.2.5-h62dcd97_1.tar.bz2
Elapsed: -
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.
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/win-64/m2w64-gcc-libs-5.3.0-7.tar.bz2
Elapsed: -
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.
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/win-64/libpng-1.6.37-h1d00b33_2.tar.bz2
Elapsed: -
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.
CondaError: Downloaded bytes did not match Content-Length
url: https://conda.anaconda.org/conda-forge/win-64/mkl-2022.0.0-h0e2418a_796.tar.bz2
target_path: E:\programData\Anaconda3\pkgs\mkl-2022.0.0-h0e2418a_796.tar.bz2
Content-Length: 190689873
downloaded bytes: 176388538
6条答案
按热度按时间0g0grzrc1#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看 官网API文档 、 常见问题 、 历史Issue 、 AI社区 来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API , FAQ , Github Issue and AI community to get the answer.Have a nice day!
ifmq2ha22#
然后我去anaconda下载了一个mkl的mkl-2022.0.0-haa95532_115.tar包,然后在我的(paddle_env) C:\Users\Administrator>conda install mkl-2022.0.0-haa95532_115.tar报错:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're
looking for, navigate to
and use the search bar at the top of the page.
des4xlb03#
看报错信息是 http 网络代理有问题,可以先检查下网络代理。
0tdrvxhp4#
谢谢,我想问的是,如果是GPU版本的,是不是需要在电脑上独立的安装一个CUDA? 还是说不需要额外安装,直接使用这一句conda install paddlepaddle-gpu==2.3.0 cudatoolkit=11.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge
就默认的安装带的就又cuda加速和cudnn计算的?
um6iljoc5#
谢谢,我想问的是,如果是GPU版本的,是不是需要在电脑上独立的安装一个CUDA? 还是说不需要额外安装,直接使用这一句conda install paddlepaddle-gpu==2.3.0 cudatoolkit=11.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge
就默认的安装带的就又cuda加速和cudnn计算的?
有CUDA驱动就可以,不需要单独安装cuda和cudnn;
如果网络不好,可以下载到本地安装,下载链接: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/win-64/
安装命令:
conda install -c local xxx.tar.bz2; conda install -c local paddlepaddle-gpu
kxkpmulp6#
conda install paddlepaddle-gpu==2.3.0 cudatoolkit=11.2 之后,不需要再额外安装一个独立的 CUDA。