MrNothing/AI-Blocks

Problem using tensorflow

Pertence opened this issue · 3 comments

When I try to run an project, I get this error:
"C:\Users\Augusto\AppData\Local\Temp/main.py", line 2, in import tensorflow as tf
ImportError: No module named tensorflow."
However, I can import this module with no problem, using JupyterLab with an conda environment with tensorflow package installed.
Can you help me? Please.

The conda environement is an isolated instance. The program runs tensorflow from cmd.exe. Have you tried importing tensorflow from a regular command line? If it does not work, I suggest installing tensorflow the regular way:

pip install tensorflow
or
pip install tensorflow-gpu

Let me know if this fixes your issue.

It may take a while test. First, I have to, properly, configure python 3.5 on my machine.

I'm closing this, let me know if you still have issues when tensorflow is installed.