I am on mac osx yosemite and Spyder is giving me this error:
ImportError: No module named 'tensorflow'
I am running python3.5 with a virtual environment along with tensorflow 1.0.0
Code:
import numpy as np
import tensorflow as tf
import re
import time
Traceback:
Python 3.5.4 |Anaconda, Inc.| (default, Oct 5 2017, 02:58:14)
Type "copyright", "credits" or "license" for more information.
IPython 6.1.0 -- An enhanced Interactive Python.
Traceback (most recent call last):
File "<ipython-input-1-c6f06aebce6b>", line 1, in <module>
runfile('/Users/connorwoodford/Desktop/Deep NLP A-Z/chatbot.py', wdir='/Users/connorwoodford/Desktop/Deep NLP A-Z')
File "/Users/connorwoodford/anaconda3/envs/chatbot/lib/python3.5/site-packages/spyder/utils/site/sitecustomize.py", line 710, in runfile
execfile(filename, namespace)
File "/Users/connorwoodford/anaconda3/envs/chatbot/lib/python3.5/site-packages/spyder/utils/site/sitecustomize.py", line 101, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "/Users/connorwoodford/Desktop/Deep NLP A-Z/chatbot.py", line 7, in <module>
import tensorflow as tf
ImportError: No module named 'tensorflow'