问题
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