Anaconda installation Conda problem is not available

Source: Internet
Author: User
Tags jupyter notebook

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 ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.