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
under the successful installation Anaconda,
First, install MinGW:
Open prompt--
Input:Conda config--add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/--in input: Conda config--set show_cha Nnel_urls yes--
last input: Conda install MinGW Libpython (so the purpose of the installation is to download more quickly)
Second,
Open
Prompt
, you will see a path inside the window, depending o
Check the Conda versionUnder CMD in Windows, enterConda--version650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/9E/D4/wKioL1mW9ITxfl-2AAAEqMcLgSc252.png "title=" 1.png "alt=" Wkiol1mw9itxfl-2aaaeqmclgsc252.png "/>One of the native Anaconda comes with the Python3.6 version.
Create an environment named Python27 in Conda and download the corresponding version of Python2.7 cmd input conda Create--name python27 python=2.7 650) this.w
Anacoda is a tool for managing a Python-based scientific computing environment, including a series of tools such as Numpy,matplotlib,ipyhton, which avoids the installation of a single tool and is very convenient.Installation steps:1. Download: https://www.continuum.io/downloads/, download python2 version or Python3 version, 32-bit or 64-bit also according to their own computer configuration selection.2. After downloading, the terminal enters the directory of the downloaded file.
If you
https://pypi.python.org/pypi/opencv-python/3.4.0.12Https://pypi.python.org/pypi?%3Aaction=searchterm=opencvsubmit=searchhttps://www.lfd.uci.edu/~gohlke/pythonlibs/#opencvOpenCV, a real time computer vision Library.
Opencv_python?2.4.13.5?cp27?cp27m?win32.whl
Opencv_python?2.4.13.5?cp27?cp27m?win_amd64.whl
Opencv_python?3.1.0?cp34?cp34m?win32.whl
Opencv_python?3.1.0?cp34?cp34m?win_amd64.whl
Opencv_python?3.4.1+contrib?cp35?cp35m?win32.whl
Opencv_python?3.4.1+contrib?c
In the process of working today, you encounter the problem of installing Anaconda using Conda to create a virtual environment, but after starting Jupyter notebook, you cannot find Python kernel in the virtual environment. Later on the internet found a solution, as follows:Create a virtual environmentFirst look at the commands that created the virtual environment at that time:conda create -n rqalpha python=3.5Use this command to create a rqalpha virtua
Recently in doing a project, need to use the Keras, on the internet received a bit, summed up here, for small partners Reference!1. Installation EnvironmentWin7+anconda (I have two versions of 2 and 3)2. A great God said to open cmd directly, enter PIP install Keras, and then automatically installed. I tried for a moment without success. (hint that PIP version is not enough).3. Later found is to install Theano, open cmd, enter pip Install Theano, after successful installation and then enter the
[Scrapy] Use Anaconda to build the running environment of scrapy. Officially recommended method ., Anacondascrapy
1. Recommended official documents.
2. When most people use the framework, install pywin32 and openssl to build the running environment of scrapy. However, in such an environment, various problems may occur, such as problems with the downloaded version and openssl installation.
In addition, Official Versions later do not support such envir
1, after the installation is complete, open anaconda Prompt, create tensorflow virtual environmentIn the prompt, enter:>>> Conda create-n TensorFlow python=3.52. Enter TensorFlow environment, enter>>> Activate TensorFlowBefore the command line, you can see the Add (TensorFlow) before entering the promptBecame like this:(TensorFlow) ...>>>If you want to exit the virtual environment, enter deactive TensorFlow to3, install Gup version of the TensorFlowPi
How can I solve the problem that Anaconda cannot display Chinese Characters in Python,
When we use Anaconda in Python as a chart, we often encounter problems in labels that cannot be displayed.
Df_clean.boxplot (column = 'avgsalary ', by = 'city', figsize = (9, 7 ))
The result is as follows:
The labels of the chart are incorrect. A white box is displayed. The default English font is used for the chart.
Install tf1.0 and tf1.5 in Anaconda environment --- py2.7
@ Wp20181030
Environment: ubuntu18.04, anaconda2. In ubuntu, python2.7.15 (default) and python3.6.5 are installed in advance ,.....
Here, we useAnaconda 2(Install it on your own ).Py2.7 and py3.5Environment,InstallTf1.0 and tf1.5, As follows:
Scenario 1: Install tf1.0 in py2.7.
# (1) create a test_py2 Environment [py2 + tf1.0]Conda create-n # (2) activate the test_py2 environment for later useS
Setup has made an error in the next step after setting the password:
Trackback (most recent call i):
File
"/usr/lib/python2.4/site-packages/yum/repos.py",
Line 295, in setattribute
Set attr (self, key, value)
File
"/tmp/treedir.4430/instimage/usr/lib/anaconda/yuminstall.py", line 204, in __init__
Self.setattribute (' Cachedir ', '/tmp/cache/')
File
"/tmp/treedir.4430/instimage/usr/lib/anaconda/yuminstall.py
First to install the Anaconda.Note that to add an environment variable to the system, there is an option for this. Or you'll need to manually CD to Anaconda3\bin to execute the instructions below.
Due to the installation of TensorFlow, use
Pip Install TensorFlow
The instructions always go wrong, even with the official website.
Pip Install--upgrade HTTPS://STORAGE.GOOGLEAPIS.COM/TENSORFLOW/WINDOWS/CPU/TENSORFLOW-0.12.0RC1-CP35-CP35M-WIN_AMD64.WHL
and similar instructions on Linux are also a
The Anaconda software provides a great way to install Python. In general, it is divided into two kinds, one is to download the installation directly under the Navigator of Anaconda, one is to install by prompt. Today the main writing prompt installation steps. Here take OPENCV installation as an example.
First, download the opencv_python-3.3.0-cp35-cp35m-win_amd64.whl file online, download the address: htt
Tags: log install ubunt gravity change carriage return att x86_64 prettyExecute in file directory:bash Anaconda3-4.2.0-Linux-x86_64.shEnter as promptedYou need to check the registration information here, enter the information to complete the tourWhen you have finished reading the registration information, enter "Yes" hereEnter to installEnter "Yes" here to select Add environment variableSee this message stating that the installation is complete.According to the information "for", the become acti
1. Open cmd, enter the command to find the configuration file pathJupyter Notebook--generate-config2. Open jupyter_notebook_config.py Modify configuration c.notebookapp.notebook_dir for your own working directory' e:/jupyter/projects '3. Modify Jupyter Notebook Shortcut propertiesFind Jupyter notebook shortcut, right-click property to modify target and start positionChange Anaconda Jupyter Notebook development File Save Directory
Text force installer install resolution = MxN force graphics X the server uses the screen resolution m'n', where M and N are numbers, for example, 1024 '768lowres sets the resolution to 640 '480
Askmethod: Ask the method for entering the second stage of the installer (if you do not use a CD disk for installation)
Ks = params use Kickstart to perform script-based installation. We will explain in detail the installation of Kickstart in later chapters.
Mediacheck performs integrity check on t
IMG: The image to be detected.Threshold: Threshold value, first entry, default = 10Line_length: The shortest line length detected, default is 50Line_gap: The maximum gap between lines. Increase this value to merge broken lines. Default is 10Return:Lines: A list of lines, formatted as ((x0, y0), (x1, y0)), indicating the start and end points.Below, we use the canny operator to extract the edges and then detect which edges are straight lines?Import Skimage.transform as Stimport Matplotlib.pyplot a
Python-dev
If the previous command doesn't work, you can use the following command to resolveUsing the Aptitude tool
sudo apt-get install aptitudesudo aptitude install Python-dev
Install the Python-dev now to install the PYTHON-PIP.
sudo apt-get install Python-pip
Type PIP in the terminal and, if shown, the installation succeeds4. Installation ResultsThe packages used for numeric calculations and drawings are now installed with Pip, respectively, NumPy scipy mat
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.