如何在 windows 10 中的 anaconda 发行版上安装 tflearn 模块

How to install tflearn module on anaconda distribution in windows 10

我已经在 anaconda 上安装了大部分库。在我的一个代码中显示没有名为 'tflearn'.

的模块

我还使用了命令 conda install tflearn。 它显示失败的消息。

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

当前频道:

似乎在 anaconda 上 website tflearn is only listed as an OSX package, so you can either download the source 并手动安装它

或者你也可以

pip install tflearn

此外,请确保您已安装 tensorflow

我找到了一个简单的 Anaconda 方法。

转到此处 (https://github.com/tflearn/tflearn) 克隆 tflean 存储库或下载 zip 格式的副本。提取 zip 文件中的文件。

启动 anaconda 提示符并导航到包含提取的下载文件的文件夹。

然后运行:

python setup.py 安装

你可以从这里找到我的来源 (http://tflearn.org/installation/)

希望对您有所帮助。

对于python2

sudo pip install tflearn

对于python3

sudo pip3 install tflearn

打开你的 anaconda 终端然后 运行:

conda install -c derickl tflearn 

无法使用常规的 anaconda 安装,我遇到了与您相同的问题,所以这对我有用:

pip install tflearn

试试这个:

conda install -c bjrn tflearn

应该可以。

Anaconda 安装在 Windows10

我只是通过输入安装了它

pip install tflearn

Collecting tflearn
   Downloading tflearn-0.5.0.tar.gz (107 kB)
Requirement already satisfied: numpy
Requirement already satisfied: six 
Collecting Pillow
   Downloading Pillow-8.0.1-cp37-cp37m-win_amd64.whl (2.1 MB)
Successfully built tflearn
Installing collected packages: Pillow, tflearn
Successfully installed Pillow-8.0.1 tflearn-0.5.0