How to install tflearn module on anaconda distribution in windows 10

十年热恋 提交于 2019-12-11 00:16:02

问题


I have already install most of the libraries on anaconda. In one of my code is showing that No module named 'tflearn'.

I also used the command conda install tflearn. it shows the failed message.

   PackagesNotFoundError: The following packages are not available from 
   current channels:
  • tflearn

Current channels:

  • https://repo.continuum.io/pkgs/main/win-64
  • https://repo.continuum.io/pkgs/main/noarch
  • https://repo.continuum.io/pkgs/free/win-64
  • https://repo.continuum.io/pkgs/free/noarch
  • https://repo.continuum.io/pkgs/r/win-64
  • https://repo.continuum.io/pkgs/r/noarch
  • https://repo.continuum.io/pkgs/pro/win-64
  • https://repo.continuum.io/pkgs/pro/noarch

    what should i do.


回答1:


For python2

sudo pip install tflearn

For python3

sudo pip3 install tflearn



回答2:


open your anaconda terminal and run:

conda install -c derickl tflearn 



回答3:


I found a simple approach for Anaconda.

Go here (https://github.com/tflearn/tflearn) to make a clone of the tflean repository or download a copy in a zip form. Extract the files in the zip file.

Launch the anaconda prompt and navigate to the folder that contains the extracted downloaded files.

Then run:

python setup.py install

You can find my source from here (http://tflearn.org/installation/)

I hope this helps.




回答4:


It seems that on the anaconda website tflearn is only listed as an OSX package, so you can either download the source and install that manually

Or you could do

pip install tflearn

Also, make sure you got tensorflow installed




回答5:


Couldn't use a regular anaconda install, i had the same issue you had so this worked for me:

pip install tflearn



来源:https://stackoverflow.com/questions/48821174/how-to-install-tflearn-module-on-anaconda-distribution-in-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!