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
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
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
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
"--LOCATION=MBR--boot-drive=Sdaautopart--type=lvm# Partition Clearing Informationclearpart--none--Initlabel%Packages install some packages at the time of installation @^gnome-desktop-Environment@base@core@desktop-debugging@dial-up@directory-Client@fonts@gnome-desktop@guest-agents@guest-desktop-Agents@input-methods@internet-Browser@java-platform@multimedia@network-file-system-Client@networkmanager-Submodules@print-client@x11chronykexec-Tools%End%addon com_redhat_kdump--enable--reserve-mb='Auto'%E
1. Download Anaconda
Address: https://www.anaconda.com/download/#linux2. Installation
Enter the directory where the installation package is located and execute the command:
$ bash anaconda3-5.0.1-linux-x86_64.sh
All the way to return,To the position below, reply YesThen enter the installation location, according to your own needsAnd then enter YesThen execute the command to make the path added in. BASHRC Effective:
$ source ~/.BASHRC
Run Python
1
Managing the Environment
Create and activate an environment
Use the "Conda create" command, followed by any name you wish to call it:
Conda Create--name Snowflake Biopython1 1
This command will create a new environment for Biopython, where the Anaconda installation file/envs/snowflakes activates the new environment Linux,os X:
SOURCE Activate Snowflakes1 1 Windows:
Activate snowflake1 1
Small tips:
The new development environment will be install
an alternative option, the option with the highest priority will be selected. In this example, the priority set for/usr/bin/python3.4 is 2, so the update-alternatives command automatically sets it to the default Python version.
# python --versionPython 3.4.2
Next, we will list available alternative Python versions.
# update-alternatives --list python/usr/bin/python2.7/usr/bin/python3.4
Now, we can use the command below to switch between the listed Python replicas at any time.
# update-alterna
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.