Copy the following python scripts in test.py and execute it in P圜harm. To test whether your installation works, create a python file named test.py. Use python -version and pip -version to get the versions. Make sure python version and pip versions are the same. You can also install a previous version using pip install tensorflow=1.10.0, for example. Then type in pip install tensorflow to install newest tensorflow package. ( alternative of 6) Open Windows system command prompt (cmd), type following commands to verify that you are installing on correct python versions. Then type pip install tensorflow to install tensorflow. Type in activate tensorflow-test to activate your virtual environment in Anaconda. Click Start in Windows (bottom left of your screen), type Anaconda Prompt and open the command window. Then install the python packages you need to install by clicking “+” on top right, such as numpy, matplotlib, pandas, python-opencv etc. Go to File -> Settings, search for Porject Interpreter, ensure that corresponding python version is used as the interpreter. If none is shown in the Interpreter, click “…” and in Add Python Interpreter dialog, choose native python.exe.
#Python interpreter pycharm how to
This blog shows how to install tensorflow for python in Windows 10, preferably in P圜harm.