0: Today is 20171114, this tutorial does not know when to be effective1: We installed the GPU version, so to install Cuda, this four platform compatible version is, cuda8+cudnn6. To the official website is the new version of CUDA8. Baidu Cloud: HTTP://PAN.BAIDU.COM/S/1PKKXS51,M2JL2: Because Caffe out of Anaconda installation because of the lack of some dependency error patterns, we use the anaconda to configure the Python interface. Two are compatible, only the python3.5 version is supported.
Microsoft Windows [version 10.0.16299.431](c) Microsoft Corporation. All rights reserved.C:\users\zyong>pip InstallError:you must give at least one requirement to install (see "Pip Help Install") C:\users\zyong>pip Install requests Requirement already satisfied:requests in c:\users\zyong\anaconda3\lib\ Site-packages (2.18.4) requirement already satisfied:chardet requirement already satisfied:idna requirement already satisfied:urllib3 Requirement already satisfied:certifi>= 2017.4.17 in C:\user
Python data analysis (Basic)First, install the anaconda:https://www.anaconda.com/download/#windowsIi. NumPy (Basic package of scientific calculation)Three, matplotlib (chart)Iv. SciPy (collection of packages for solving various standard problem domains in scientific calculations)V. Pandas (Treatment of structured data)Vi. Sciket-learn (machine learning and decision tree)1, data mining and machine learning are divided into three steps: Data preprocessing, data modeling, validationVii. Keras (Arti
Anaconda, in short, is a packaged Python collection with package management and environmental management tools and Python packages for data science computing.
Download and install https://www.anaconda.com/download/#macos from here. After the installation is complete, set the path as follows:
# Add the Anaconda Bin directory to PATH, depending on the version, it may also be ~/anaconda3/bin
echo ' Export path= ~/anaconda2/bin: $PATH ' ' >> ~/. BASHRC
# Update BASHRC for immediate effect
source ~
Really every machine has his temper, follow the online tutorial constantly error ..... has been in the online tutorial, find solutions, finally, or installed 1 according to Anaconda3 here no longer write, mainly in accordance with TensorFlow 2 open the terminal, replace the source (faster) Input Conda config--add channels https:// Mirrors. Tuna. Tsinghua. edu. cn/anaconda/pkgs/main/Conda config--add channel
, this article mainly records WIN10 under the installation of Tensoflow trampled pits.TensorFlow Official Installation TutorialsTensorFlow Chinese Community1. Installation environment (multiple versions of Python management)TensorFlow currently supports only 64-bit Python 3.5 under Windows, because it has been using Python 2.7 (Anaconda2) +jupyter notebook, and does not want to switch directly to Python 3.5, So prepare to install two versions of Anaconda. Here is the main introduction to how to
A Installing Anaconda3Select the appropriate version of the Anaconda installation, because the website directly download the speed is too slow, we choose to download from Tsinghua University open source software image station.: https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/After entering the website, drop down to the bottom and select the Windows version to download.installation process, direct click Next, installation location is best to choose the default can save a lot of trouble.To t
. sh package I forgot, too embarrassing), the command is as follows:
Bash *. Sh
4. After installation is complete, you can test the installation effect. Follow the instructions on the official website:
Conda List View installed scientific packages
Use Conda to create an environment named python2 whose version is python2.7. Conda create-N python2 Python = 2.7
libpython. After opening the command line, enter conda install MinGW libpython , now Libpython has supported python3.5 , there is no need to configure the python3.4 environment anymore. Note If the installation MinGW is slow, you can ctl+c and exit the command line, and then go to the command line to modify the Anaconda image, here is the recommended Tsinghua image, by typing in the command line:Conda config--add channels https://mirrors.tuna.tsing
TensorFlow installation and jupyter notebook configuration, tensorflowjupyter
Tensorflow uses anaconda for ubuntu installation and jupyter notebook running directory and remote access configuration
Install Anaconda in Ubuntu
bash ~/file_path/file_name.sh
After the license is displayed, press Ctrl + C to skip it, and yes to agree.
After the installation is complete, ask whether to add the path or modify the file content.
Close the console and restart
python -V
Check whether the installation is su
Problem:When you run the sample program MNIST_CNN with Keras, the following error occurs: ' Keras.backend ' has no attribute ' Image_data_format 'Program Path https://github.com/fchollet/keras/blob/master/examples/mnist_cnn.pyThe Python Conda environment used is the carnd-term1 of the Udacity autopilot courseFault Program segment:if ' Channels_first ' : = X_train.reshape (x_train.shape[0], 1, Img_rows, img_cols) = X_test.reshape (x_test.shape[0
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
=/usr/local/cuda-8.0/bin${path:+:${path}}1.2 CUDNN5.1 ConfigurationA. cudnn5.1 downloadAt Nvidia Cudnn Download | NVIDIA Developer Download cudnn5.1b.cudnn5.1 InstallationUnzip the downloaded installation package, after quitting the Cuda folder, then copy it to the Cuda directory and change the permissionssudo cp cuda/include/cudnn.h/usr/local/cuda/include sudo cp cuda/lib64/libcudnn*/usr/local/cuda/lib64 sudo chmod a+r/usr/local/cuda/include/cudnn.h/usr/local/cuda/lib64/libcudnn*2.tensorflow in
First install Anaconda, when its installation is successful, you can test in cmd whether the installation is successful, Conda--versionconda Environment Management Conda Environment Management feature allows us to install several different versions of Python at the same time, and can switch freely. Suppose we need to install Python 3.6, at this point we need to do the following:# 创建一个名为python36的环境,指定Python版
Chapter I.1. Anaconda (the most famous Python data science platform)Let's start with the Anaconda.What is Anaconda????Reply:(1), Scientific computing platform(2), there are a lot of convenient bags for us to use(3), cross-platform: Mac \linux\windows(4), most importantly: Open source free of charge and community for small friends to exchange2, Installation Anaconda: https://mirror.tuna.tsinghua.edu.cn/help/anaconda/(We go to Tsinghua's domestic mirror download faster) "Google search Anaconda Tsi
maintenance of winpython above the reason it!WinpythonWinpython features are also relatively complete, the software package is relatively new, the GUI is based on PYQT, but relative to Python (x, y), it focuses on the portable installation experience: You can put it in the U disk. I am now no longer using PYTHONXY in Windows, changed to Winpython, for MinGW, I directly installed QT5.20 (including MinGW4.8.0), plus boost 1.54.0, for scientific research, has not been visual Studio can be the same
python coexistence problem.
Download AnacondaDownload the latest version of the Https://www.continuum.io/downloads installation package directly on the official website, select the Python3.6 version of the installation package, install it directly after the download is complete, select the default configuration for the installation process, and take approximately 1.8G of disk space.You can also install smaller miniconda,https://conda.io/miniconda.html.condaAnaconda is a command-line tool f
3.6), Mac OS users choose Mac version, if you do not want trouble, select graphical Installer.1.2 Installing AnacondaSelect the default location to install:Two selection boxes are checked, installed:1.3 View Anaconda from the Start menuAfter the Anaconda is installed, you can view it in the Start menu. You can see the components that are included as shown:After that we will use the main:Anaconda Prompt:anaconda comes with the command lineJupyter Notebook: An easy-to-use IDE for getting Started
users choose Mac version, if you do not want trouble, select graphical Installer.1.2 Installing AnacondaSelect the default location to install:Two selection boxes are checked, installed:1.3 View Anaconda from the Start menuAfter the Anaconda is installed, you can view it in the Start menu. You can see the components that are included as shown:After that we will use the main:Anaconda Prompt:anaconda comes with the command lineJupyter Notebook: An easy-to-use IDE for getting Started2. Install com
absolute path/python component file name, perform an offline installation, for examplePip Install C:\USERS\COSHAHO\DOWNLOADS\LOCKFILE-0.12.2-PY2.PY3-NONE-ANY.WHL4. Create a Python projectPycharm–> File--New ProjectWhere base interpreter specifies the Python path, inherit global site-packages is introduced to all installed Python components.5. Import Python ProjectPycharm–> File--OpenNote that you need to set the package path start location to content Root in project structure,,file–> settings–>
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.