Tensorflow GPU - Spyder

I had a problem importing tenorflow GPU on spyder. This is what I get when I type importororflow on iPython using Spyder 3 (on MacOS)

enter image description here

When I checked which packages I have in tensorflow, I get this list, which I see that iPython and Spyder are not included.

enter image description here

Also in anaconda, when I click on tenorflow in environments, I have the option to open it using Python with a terminal, but not with iPython or Spyder (or Jupyter)

enter image description here

I really appreciate any help.

UPDATE 1:

Well, I managed to get Spyder in the ENV tensor stream, but when I run the import tensorflow command on iPython, I get this error (when I run the same command on the Python tab, everything works fine.

enter image description here

+4
7
. Spyder Anaconda, Anaconda. , : . - tensorflow.org. , tensorflow, . spyder.
+5

, (https://www.tensorflow.org/install/install_windows), Ananconda/Spyder . , , . !

, , spyder. shadoworflow ananconda.

1) Ananconda "". 2) :

conda install pyqt
conda install tensorflow
+3

Spyder Anaconda Env , tensorflow tensorflow

Spyder , openssl ENV

+2

Anaconda Navigator: -: tensorflow - , spyder envirnment tensorflow. (Anaconda > > > > spyder > ... 10 )

0

. (, "tensorflow" ), jupyter spyder. - . :

  • "Anaconda Prompt" .
  • : ": Anaconda Prompt"
  • , .
  • "pip install --ignore-installed --upgrade tenorflow-gpu", Tensorflow GPU.
  • Keras "conda install -c conda-forge keras"
  • , "python", python env. type 'import tendorflow tf'. , .
0

, , Tensorflow. , Spyder (Tensorflow) ananconda. , , .

0

, .

Assuming you created conda environment, installed tensorflowand activated it, and also installed spyder.

Check conda runtime python

>>import sys
>>sys.executable

Pay attention to the path to the executable file python.

Go to Spyder settings and set the interpreter path to the above.

0
source

Source: https://habr.com/ru/post/1667361/


All Articles