首页 > 解决方案 > 下载rasa_core时出现张量流问题

问题描述

我正在尝试从我的一个朋友那里更新 rasa bot 源代码,但是在尝试下载 rasa_core 时遇到了问题:

(cha_env) C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation>pip install rasa_core
Collecting rasa_core
 ...
Collecting tensorflow==1.10.0 (from rasa_core)
  Could not find a version that satisfies the requirement tensorflow==1.10.0 (from rasa_core) (from versions: )
No matching distribution found for tensorflow==1.10.0 (from rasa_core)
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

你有什么主意吗 ?是因为需求吗?

我试图根据这个答案安装 tensorflow :

python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl

但我仍然有同样的问题。

标签: rasa-core

解决方案


我记得我的同事在安装 rasa_core 时看到了这个问题。尝试单独安装 tensorflow,然后继续 rasa_core 安装。它应该可以解决问题

pip install tensorflow

如果您收到No matching distribution found for tensorflow错误,请尝试以下操作:

注意:这适用于 tensorflow 版本 1.12.0 的 64 位 Windows。对于 tensorflow 分布的所有变体,请查看https://storage.googleapis.com/tensorflow/

python -m pip install --upgrade https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86_64-1.12.0-rc2.zip

推荐阅读