Now I want to build an environment for TensorFlow,
2. Install Tensorflow
TensorFlow currently only supports Python 3.5 on Windows.
(1) open Anaconda Prompt and input tsinghua warehouse image, so that the update will be faster:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
12
(2) Also use Anaconda Prompt to create a Python3.5 environment with the name of TensorFlow. Type the following command:
conda create -n tensorflow python=3.5
1
Run start menu -> Anaconda3 - & gt; Anaconda Navigator
, click the left Environments
, you can see that the environment of tensorflow
has been created.
(3) TensorFlow environment is started in Anaconda Prompt:
activate tensorflow
1
Note: when not using tensorflow, close the tensorflow environment with the command:
deactivate
After installing the environment, we go to the folder we want to run, such as CD TensorFlow
Then activate tensorFlow
The TensorFlow environment is fine, but tensorFlow is not installed,
conda insatll tensorflow
And in the environment to install jupyter Notebook, NUMpy and other modules
conda install jupyter notebook
conda install scikit-learn
From https://blog.csdn.net/u010858605/article/details/64128466
Read More:
- Anaconda create environment, delete environment, activate environment, exit environment
- Anaconda upgrade sklearn version
- Pychar configures Anaconda environment
- Solving environment: failed solution to the problem encountered when updating Anaconda
- Linux Mint installs Hadoop environment
- Installing Jieba in Anaconda environment
- How to solve “import cv2 failed ImportError: DLL load fail: Cannot find the specified module” in Anaconda environment
- Numpy adds a new dimension: newaxis
- Unable to call numpy in pychar, module notfounderror: no module named ‘numpy’
- The problem of unable to install win32gui in building Anaconda environment in pychar
- Install anaconda error: failed to create anaconda menus
- [Solved] This dependency was not found: * core-js/modules/es.error.cause.js in ./node_modules/@babel
- UserWarning: Failed to initialize NumPy: No module named ‘numpy.core._multiarray_umath‘
- Warning when using numpy: runtimewarning: numpy.dtype size changed, may indicate binary incompatibility
- [Solved] gitbook: node_modules\npm\node_modules\graceful-fs\polyfills.js:287
- The. Exe crashed program ends abnormally when the QT project is copied to the new environment
- Jumper notebook, import numpy, prompt “importerror: DLL load failed: unable to find the specified module”
- Configuration (9) to solve the problem of “setup tools PIP wheel failed with error code 1”, create virtual environments with Python of anaconda
- Tensorflow installation and uninstall (Anaconda version)
- Anaconda returns Python 3.7 to Python 3.6