0

Attempting to run tensorflow a Mac, using python 3.7 as well as PyCharm and receiving enter image description here where module tensorflow has no attribute app, at the following.

enter image description here

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.

enter image description here

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?

Avi
  • 1,424
  • 1
  • 11
  • 32
Kevin Z
  • 11
  • 2
  • It will be much helpful if you post some of your code and error. – Avi Nov 05 '19 at 10:41
  • Thanks for the edit, I dont think the error has to do with code however as I'm attempting to make this repo code work: https://github.com/jaehong-yoon93/DEN – Kevin Z Nov 05 '19 at 20:03
  • You should switch to Python 3.6, not Python 2.7. BTW, Python 2 will become dead very soon. – Timbus Calin Nov 20 '19 at 09:28

1 Answers1

0

Python 3.7 is still unsupported as of this moment by tensorflow.

Kevin Z
  • 11
  • 2