rasa pip安装bugINFO: This is taking longer than usual. You might need to provide the dependency。。。

报错
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking

信息:这比平时花费的时间更长。您可能需要为依赖项解析器提供更严格的约束,以减少运行时。如果您想中止此运行,您可以按Ctrl+C来这样做。为了改进pip的性能,请告诉我们这里发生了什么:

在已经利用的清华大学镜像源直接安装

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple rasa

替换为

pip install -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com rasa

当前python 环境为3.6,安装rasa,python环境最低为3.6
但是后会报错

 Building wheel for dm-tree (setup.py) ... error

在这里插入图片描述
网上那些方法都不行,即使下载了dm-tree.whl文件资源也只是适配了py3.5的
所以替换python环境为3.8
再用

pip install -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com rasa

在这里插入图片描述
成功安装

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值