How to install tflearn module on anaconda distribution in windows 10

20,905

Solution 1

For python2

sudo pip install tflearn

For python3

sudo pip3 install tflearn

Solution 2

open your anaconda terminal and run:

conda install -c derickl tflearn 

Solution 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.

Solution 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

Solution 5

Try this:

conda install -c bjrn tflearn

It should work.

Share:
20,905
Manish Kumar
Author by

Manish Kumar

iOS developer, SwiftUI framework,React Native, Node.js and ML enthusiast.

Updated on November 24, 2020

Comments

  • Manish Kumar
    Manish Kumar over 3 years

    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:

  • Manish Kumar
    Manish Kumar about 6 years
    i tried the command conda install -c derickl tflearn,not woking ,again showing same error and channels showing@FlyingTeller
  • FlyingTeller
    FlyingTeller about 6 years
    @manishkumar seems like I overlooked that in the anaconda channels tflearn is only for OSX
  • Manish Kumar
    Manish Kumar about 6 years
    i tried pip also.Collecting tflearn Exception: Traceback (most recent call last): File "C:\Users\Manish\Anaconda3\lib\site- TypeError: parse() got an unexpected keyword argument 'transport_encoding' @FlyingTeller
  • FlyingTeller
    FlyingTeller about 6 years
    And what do you get using pip?
  • Manish Kumar
    Manish Kumar about 6 years
    File "C:\Users\Manish\Anaconda3\lib\site-packages\pip\basecommand‌​.py", line 215, in main status = self.run(options, args)
  • Manish Kumar
    Manish Kumar about 6 years
    i got this type of lines. File "C:\Users\Manish\Anaconda3\lib\site-packages\pip\index.py", line 731, in init namespaceHTMLElements=False, TypeError: parse() got an unexpected keyword argument 'transport_encoding@FlyingTeller
  • FlyingTeller
    FlyingTeller about 6 years
    try updating your pip conda install pip or html5lib, which sometimes causes problems conda install -c anaconda html5lib
  • Hua Zhang
    Hua Zhang almost 6 years
    It really helps. I have set up tflearn inside a Anaconda Docker container. Thanks
  • planetmaker
    planetmaker over 5 years
    While that may solve the problem, it will reflect much more positively on your answer if you could at least say a few words why that channel.
  • Admin
    Admin over 3 years
    'sudo' is not recognized as an internal or external command, operable program or batch file in Windows. How could the OP mark this as an accepted answer?
  • Admin
    Admin over 3 years
    PackagesNotFoundError: The following packages are not available from current channels: - tflearn
  • Jaya Kommuru
    Jaya Kommuru about 3 years
    -c is basically to used to specify the channel/package owner to install the package from. You can use anaconda.org/search?q=tflearn to find in which all channels/package owners own tflearn. Make sure you choose the right platform.