Conda installation package InvalidArchiveError (I installed pytorch), (conda installation path cannot bring Chinese) modify conda default installation path

The environment with the python package is the most troublesome environment problem I have encountered

1. The slow download speed of foreign resources often leads to download failures

2. Strange issues such as version mismatch

 

The following problems occurred during the installation of pytorch. After checking the information, it was found that it was caused by the Chinese path

 

Find the configuration file $HOME/.condarc on the computer

After opening, modify the configuration

channels is the set domestic mirror address, which can be used from top to bottom

envs_dirs is the environment storage address

pkgs_dirs is the cache address

Call the following command

If you encounter the following problems, it means that the configuration file is not written correctly, and I just typed a g in pkgs.

Finally, run cmd as an administrator to install successfully!

Intelligent Recommendation

Ubuntu18.04 conda pytorch installation

1 Install CUDA and CUDNN 1.1 downloadcuda Why download this version, because Pytorch needs CUDA10.2 or 11.3, a little bit 10.2 Most programs can run. 1.2 Installing CUDA Note: If an error is reported ...

Modify conda default env path

Configuration file The default location of the configuration file ".condarc" is C:\Users%username%.condarc Edit and add the following content E.g:...

Anaconda (conda) installation package

Anaconda (conda) installation package Hello everyone, when using conda to install the package, did any friends encounter the package data is too large and the installation fails. If you encounter the ...

Installation package under conda

Installation package under conda Switch environment Open the anaconda prompt Installation package...

Win10 Conda installation package

Win10 Conda installation package Win10 Conda Install Pytorch View the statement in the official website https://pytorch.org/ (select the situation of your computer) Among them, the CUDA version viewin...

More Recommendation

Conda offline installation package

Objective environmental restrictions or network instability may require offline mounting packages, and Conda provides INSTALL-ISE-LOCAL way support. The specific steps are: 1, download the correspondi...

【Anaconda3】About the installation path of the conda environment | Why is the conda environment on C drive by default

There are two situations, which are related to the user selection when you install Anaconda3 Just Me is only for your current Windows account, so when configuring the conda environment, Anaconda3 will...

CONDA installation package A Conda Info (package) ...

I recently wanted to feel the Conda's one-touch package (PS: before PIP), I didn't expect the following question: Very headache,Configuring Channel does not use,It turned out that Conda needs to be up...

PIP Specifies the path to the installation package; Conda Activate CommandNotFoundError error

1, PIP specifies the path to the installation package Reference: https://www.cnblogs.com/shuaishuaidefeizhor/p/15108731.html 2, Conda Activate CommandNotFoundError error Reference: https://www.cnblogs...

Conda installation

Download + Install Conda Tsinghua mirror download Find bwa: Download anaconda To Tsinghua Mirror Download: Anaconda's warehouse image Conda's three sources: Conda Forage; bioconda Learn the basics of ...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top