I already have tflearn installed and I get the following error when I try to import it:
ImportError: cannot import name 'is_sequence' from 'tensorflow.python.util.nest' (C:\Users\fsafi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\tensorflow\python\util\nest.py)
I tried the following:
import tflearn
I have encountered exactly the same issue when setting up a new tf environment. I believe it is because tflearn==0.5.0 which is too old and cannot work with latest tensorflow=2.13.0.
I have to fall back tensorflow to older version such as 2.12.0 to make it works.
There is also a PR on tflearn to fix this problem but it is still work in progress: https://github.com/tflearn/tflearn/pull/1173/commits
Basically is_sequence(args) will be replaced with is_sequence_or_composite(args).
Besides, the Pillow-10.0 gave the same issue which can be fixed by replacing it with Pillow-9.5 or you can replace the ANTIALIAS with LANCZOS by the utils.py file like we did for the reccurent.py file of tflearn library.
I just uploaded the previous version of PIL and it totally works right now.