, continue with the installation:Python setup.py InstallContinue the error:_MYSQL.C: Fatal error C1083:cannot open include file: ' Config-win.h ': No such file or directoryCause: The associated version of the MySQL connector is inconsistent.Depressed, why also need MySQL Connector.Too toss, search a bit, unofficial online, there are 64-bit Mysql-python Download:http://www.codegood.com/archives/129After installation, test again:PythonImport MySQLdbOK, okay.Colleagues recommend using
What is Anaconda
Anaconda refers to an open source Python release that contains more than 180 science packages and their dependencies, including Conda, Python. With a large number of scientific packages, the Anaconda download file is larger (approximately MB), and if you need only some packages, or you need to conserve bandwidth or storage space, you can also use Miniconda, a smaller release (only Conda an
Today, it's a magical thing to do when using Python to operate a Redis database, if you are using PIP install Redis to install a Python-attached module, but if you are using Conda in Anaconda Stall-c Anaconda Redis installed is the Redis database, this problem toss an afternoon, eventually still understand, in fact, in the use of Conda to install is redis-py this file, but as to the PIP installation and
, relatively simple.A) using "native" Pip installation1) Download and install Python 3.5.x 64-bit, pay attention to version 3.5.x.2) Open the Windows command-line window and install the CPU version inputPIP3 Install--upgrade TensorFlow(Error during installation: Connecttimeouterror. Solution: Pip install virtualenv-i https://pypi.douban.com/simple)Installing GPU Version inputPIP3 Install--upgrade Tensorflow-gpuII) installation with Anaconda1) Download and install anaconda;2) Open a command-line
Win7 Installing the anaconda+tensorflow+ configuration PycharmMarch 31, 2017 10:52:17Hits: 24251First summarize oneself encounters the pit: (Look back to think actually installs very simple)
The first pit: Anaconda must install version 4.2, cannot install version 4.3; Full of blood and tears.Because we need to install our own Python must be 3.5 before we can call TensorFlowBut the anaconda4.3 is python3.6 and cannot be called TensorFlowSecond pit:Google that group of people have been in
The articles in the blog are Meelo original, please make sure to indicate the address in the link formAlthough Python2 tide, many projects have supported Python3, there are always some tutorials and projects that only support Python2. The usual situation is that the computer is loaded with both Python2 and Python3.There are a number of solutions for coexistence of multiple Python versions, with a few simple lists:
Directly modify the program file name
With Pyenv and virtualenv
W
modules to fail to install successfully for a variety of reasons, and the final installation fails. Then it is very troublesome to add the installation according to the log information.Is there a fool-like step to install? Just enter an instruction to install scrapy?The answer is yes. An official document describes another approach:So, what's anaconda a thing?Anaconda is a Python release for scientific computing that supports Linux, MAC, Windows, and provides package management and environmenta
Possible problems:
8. Open firewall ports
After jupyter notebook is started, open a browser on the VM to access ipython jupyter. However, if the connection is remote, it is generally caused by a firewall.
Use root User
Open Port 8541
Sudo/sbin/iptables-I INPUT-p tcp-dport 8541-j ACCEPT
Save
Sudo/etc/rc. d/init. d/iptables save
Restart service
Sudo service iptables restart
9. Sometimes you need to create a self-signed certificate
Some other operations:
Since anaconda is installed in a folder/roo
support, but the author is limited to the ability, many attempts have failed to succeed.Below to get to the chase:1. Download Anaconda, the author of the writing version is Anaconda4.3.0, the default comes with python3.6;2. As previously stated, TensorFlow's current support for Python is only friendly to the 3.5 version, so we need to create a python3.5 environment with Anaconda.Open cmd and enter:[Plain]View PlainCopyprint?
Conda create-n t
variable, click Install(6). Verify that the installation is successfulOnce the Anaconda is installed, reopen the command-line window and enter Python to see the Anaconda information:(If you do not see the Anaconda information already installed by starting CMD input from the program quickly, you need to go to the Anaconda installation directory and then enter Python to see the above information.) When you close cmd and start again, you can see the information directly by entering Python.First en
principle is true for Python3 settings2, Anaconda and Python2Python2 the same settings as above, for Anaconda can find the installation path, the Python.exe executable file name change, for example, to Python3 Then enter Python3 in CMD.Two versions can be run in cmd at the same time.Note: This can cause problems in managing anaconda and Python2, and if you rename the Python executable in anaconda, it causes the other packages in the Anaconda to not find the Python executable file, and the inpu
manager Pip instead of Anaconda to install Jupyter.If Python 3 is already installed:python3 -m pip install --upgrade pippython3 -m pip install jupyter
1
2
If Python 2 is already installed:install --upgrade pippython -m pip install jupyter
1
2
Congratulations, you have successfully installed it!2.3 Running Jupyter NotebookAfter you successfully install Jupyter Notebook, you can open Prompt Jupyter by running the following command in Terminal (mac/linux) or com
Download and install AnacondaFirst to https://www.continuum.io/downloads download Anaconda, now the version has python2.7 version and python3.5 version, download the corresponding version, the corresponding system anaconda, It is actually a sh script file, about 280M or so.This series takes windows7+python3.5 as an example, so we download the version in the Red box:Name is: Anaconda3-2.4.1-windows-x86_64.exeis an executable exe file, the download is complete, the direct double-click can be insta
, It is actually a sh script file, about 280M or so.This series takes windows7+python3.5 as an example, so we download the version in the Red box:Name is: Anaconda3-2.4.1-windows-x86_64.exeis an executable exe file, the download is complete, the direct double-click can be installed.At the time of installation, suppose we install the D packing directory, such as:and select all two options to write the installation path to the environment variable.Then wait for the installation to complete.When th
the line, it is recommended Anaconda, it put the above required packages are integrated together, so we actually only need to install Anaconda software on the line, and nothing else to pretend.Second, download and install AnacondaFirst to https://www.continuum.io/downloads download Anaconda, now the version has python2.7 version and python3.5 version, download the corresponding version, the corresponding system anaconda, It is actually a sh script file, about 280M or so.This series takes window
only source files, download down canOf course you might need to download a specific version of Python, and you just scroll down and have all the Python versions belowThere are also various versions of the detailed release time, interested to understand the followingPython Scientific Computing releaseAnaconda:Anaconda refers to an open source Python release that contains more than 180 science packages, including Conda, Python, and their dependencies.
Keras Installation:It is best to build in the Anaconda virtual environment:Conda create-n Environment Name python=3.6Enter the environment:Source Activate Environment nameInstall Keras:Pip Install KerasPip Install TheanoPip Install tensorflow-gpu==1.2.0If you use Theano as backend, you need to Conda install PYGPU to support parallel and gou operations.
If Modulenotfounderror:no module named ' Mkl ' appearsTo demote the MKL in the current environment
The Intel MKL FATAL error:cannot load libmkl_avx.so or libmkl_ are often present when we use Anaconda Def.so This error, a lot of people are using SCIKIT-LEARNH, I personally in the use of Keras encountered, StackOverflow and GitHub on a number of solutions, but I do not work here, and then GitHub on the Anaconda issue Found a "folk prescription", the solution is as follows: 1. With the-f command to install NumPy, although I do not know what it is,
Conda
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.