Search code examples
tensorflowtflearn

ImportError: No module named 'tflearn'


I have installed tensorflow following the guide at the website. Tensorflow code runs perfectly, I have also installed tflearn. Problem is whenever I am trying to import tflearn it says "ImportError: No module named 'tflearn'" but tflearn is there in the site-packages directory

I have an Anaconda installation and a Conda environment for running tensorflow code


Solution

  • Thanks a lot, it worked. I first uninstalled tflearn, then activated the tensorflow environment and simply did a pip install tflearn. Then installed h5py and scipy after that. It works perfectly now. Thanks to Zhongyu Kuang for pointing out the difference between the environments.