Sentdex / pygta5

Explorations of Using Python to play Grand Theft Auto 5.
MIT License
3.91k stars 823 forks source link

_pywrap_tensorflow_internal' has no attribute 'TF_ListPhysicalDevices' #127

Closed asecal closed 2 years ago

asecal commented 5 years ago

Hello

I have this error when I try to run Alexnet.py and I can't figure what's wrong,

Traceback (most recent call last): File "C:\Users\workshop-admin\Desktop\pygta5-master\Tutorial Codes\Part 8-13 code\alexnet.py", line 11, in import tflearn File "C:\Python35\lib\site-packages\tflearn__init.py", line 4, in from . import config File "C:\Python35\lib\site-packages\tflearn\config.py", line 3, in import tensorflow as tf File "C:\Python35\lib\site-packages\tensorflow__init__.py", line 28, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "C:\Python35\lib\site-packages\tensorflow\python\init__.py", line 49, in from tensorflow.python import pywrap_tensorflow File "C:\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 96, in TF_ListPhysicalDevices = _pywrap_tensorflow_internal.TF_ListPhysicalDevices AttributeError: module '_pywrap_tensorflow_internal' has no attribute 'TF_ListPhysicalDevices'