Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 473
Sharthak Ghosh Avatar asked Nov 30 '16 05:11

Sharthak Ghosh


1 Answers

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.

like image 149
Sharthak Ghosh Avatar answered Sep 23 '22 03:09

Sharthak Ghosh