[Tutor] tflearn
Alan Gauld
alan.gauld at yahoo.co.uk
Fri May 22 04:17:27 EDT 2020
On 22/05/2020 01:25, jet pistol wrote:
> Traceback (most recent call last):
> File "c:/Users/Arno/Desktop/Deeplearning/ia.py", line 50, in <module>
> import tflearn
This list is really for querstions about the Python language and its
standard library so you are more likely to get answers about 3rd party
packages like tflearn on a dedicated support forum. However...
> File "C:\Python38\lib\site-packages\tflearn\__init__.py", line 4, in <module>
> from . import config
> File "C:\Python38\lib\site-packages\tflearn\config.py", line 5, in <module>
> from .variables import variable
> File "C:\Python38\lib\site-packages\tflearn\variables.py", line 7, in <module>
> from tensorflow.contrib.framework.python.ops import add_arg_scope as contrib_add_arg_scope
> ModuleNotFoundError: No module named 'tensorflow.contrib'
This looks like an installation/configuration issue with tflearn.
you could just uninstall and reinstall - checking you have the correct
tflearn version for your Python version etc. Are you sure it is a
Python 3.8 compatible package?
That might fix it.
Failing that you might have to dig deeper - check that the package is
indeed installed where it should be. It hasn't gone into another
Python install heirarchy or somesuch.
Failing that you are back to asking the tflearn community I suspect.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list