The error message is as follows:
Load error:in C:\Users\username.condarc on line 4, column 0. Invalid YAML
In the knowledge to see a anaconda Amway (installation) tutorial, very useful, the first time the installation Anaconda did not appear any problems, but after a period of time, in the cmd input Conda, the above error. In the network did not find the right help information, do not know exactly where the problem, reinstall Anaconda2, try again, or appear above the problem, but the input Python Ipython and Jupyter notebook, are normal ~
DMS Bo main section of grass, immediately get reply (Super moved):
Condarc is the Conda configuration file. Find the file and see what's inside.
The error is illegal YAML file
You can find a usable condarc, copy the content of others to try
The contents of my own Condarc file are:
Ssl_verify: ' True '
Nda-fusion
-https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
-Defaults
Show_channel_urls:true
Ssl_verify: ' True '
There are no available condarc on the web, but they are still being inspired and the Final solution is:
Delete the old Condarc file , re-enter the Conda, there is no problem:
C:\users\username>conda
usage:conda-script.py [-h] [-v] command ...
Conda is a tool for managing and deploying applications, environments and packages.
Options:
Positional arguments:
Command
Info Display information about current Conda install.
Help displays a list of available Conda commands and their help
Strings.
Slightly
The inspiration is: encounter problems, or to actively ask, others may not be able to directly give you the answer, but will give you the inspiration to solve the problem ~ There is a lot to share, to do their best to help (worthy of help) people ~