Attempting to run tensorflow a Mac, using python 3.7 as well as PyCharm and receiving where
module tensorflow has no attribute app
, at the following.
I've run through a number of potential solutions. Following the instructions provided on this question: Installing tensorflow on Pycharm (Mac). I've managed to successfully create a virtual-env in which I installed the tensorflow package however this folder contains nothing but the init.py and pycache and the error remains.
I've also tried copying the contents of the tensorflow GitHub repo directly into this folder but it results in an ImportError
.
Not sure what the issue is. Should I switch to python 2.7?