First, install Anaconda
https://www.anaconda.com/download/
Then fool installation:
Well, after installation to find the Anaconda prompt command-line terminal, its series of operations:
(1) detect anaconda environment is installed successfully: conda --version
(2) which detects the current installation environment variables: conda info --envs
(3) installing a built-in parser python version (actually a version of python) for Anaconda in
conda search --full -name python: python version to see which can be used currently
(Note: If you are using the newer version, on the use of conda search --full --name python in front of their name are two '-')
Install python version (I have here is version 3.5 installed, according to this Come on demand): conda create --name tensorflow python = 3.5
(4) to enter, exit Tensorflow environment:
Tensorflow into the environment: conda activate tensorflow
Exit tf environment: conda deactivate
(5) the formal installation TF:
pip install --upgrade --ignore-installed tensorflow
(6) after Bahrain can be tested:
1. Switch TF environment:
2. Open Python:
3. Test:
The method of embedding PyCharm tensorflow environment editor is very simple, the interior of the python interpreter module tensorflow PyCharm can be applied to:
Again test:
If your output at this time is b 'rwe', then congratulations, you can run the program with tensorflow pycharm !!!