Hi All,
i just intsalled the tftrean for widnows , python 3.5 for 64 bits and I got this:
Traceback (most recent call last):
File "dp_v5.py", line 2, in
import tflearn
File "C:Program FilesAnaconda3libsite-packagestflearn__init__.py", line 8, in
from . import models
File "C:Program FilesAnaconda3libsite-packagestflearnmodels__init__.py", line 2, in
from .dnn import DNN
File "C:Program FilesAnaconda3libsite-packagestflearnmodelsdnn.py", line 5, in
from ..helpers.trainer import Trainer
File "C:Program FilesAnaconda3libsite-packagestflearnhelpers__init__.py", line 2, in
from .evaluator import Evaluator
File "C:Program FilesAnaconda3libsite-packagestflearnhelpersevaluator.py", line 10, in
from .trainer import evaluate_flow
File "C:Program FilesAnaconda3libsite-packagestflearnhelperstrainer.py", line 12, in
from .. import callbacks
File "C:Program FilesAnaconda3libsite-packagestflearncallbacks.py", line 3, in
import sys, curses
File "C:Program FilesAnaconda3libcurses__init__.py", line 13, in
from _curses import *
ImportError: No module named '_curses'
benb969 commented 16 days ago
I was able to install curses from here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses
And was then able to use tflearn to some extent on windows, but got different issues (will post later)
=============================
but i get the same error.
Could any one advise.
Thanks,
Jhon
i have the same problem too
+1
This is because curses package is not supported in windows. Try installing Unicurses for windows. It should solve your problem, at least in my case.
Unicurses doesn't seem supported. I did try to install it (I have Python 3.5) but when installer launched, it couldn't find my version of Python. At this point, I followed this answer here: http://stackoverflow.com/a/41224335/1577947 and was able to import tflearn and not have the ImportError: No module named '_curses' appear.
It seems like curses isn't used prominently in the TFLearn library so I have suggested removing the library as a required dependency. See PR #549
Most helpful comment
Unicurses doesn't seem supported. I did try to install it (I have Python 3.5) but when installer launched, it couldn't find my version of Python. At this point, I followed this answer here: http://stackoverflow.com/a/41224335/1577947 and was able to import tflearn and not have the
ImportError: No module named '_curses'appear.