ImportError: No module named 'tflearn'

I installed shadoworflow after the manual on the website. Tensorflow code works fine, I also installed tflearn. The problem is that when I try to import tflearn, it says: "ImportError: there is no module named" tflearn "" but tflearn is in the site-packages directory

I have an Anaconda installation and a Conda environment to run tensor stream code

+4
source share
3 answers

Thanks a lot, it worked. First I uninstalled tflearn, then I activated tensorflow and just installed tplearn. Then after that they installed h5py and scipy. Now it works great. Thanks to Zhongyu Kuang for indicating the difference between environments.

+2
source

This seems to be Anaconda's problem.

pip install tflearn 

threw parsing errors. This worked for me: open the Anaconda prompt

conda install pip
pip install tflearn
+2
source

, , , /. .

, env,

, , ML, NLP .

env,

$ source activate myML-env

,

(myML-env)$

env enter , tflearn .

(myML-env)$ pip install tflearn

, tflearn python 3.X. ( : , , [pip install tensorflow])

env,

$ source deactivate myML-env

Anaconda → → myML-env, spyder .

+1

Source: https://habr.com/ru/post/1662366/


All Articles