本文介绍了找到rasa核心安装现有软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在下载rasa core和NLU.但是安装rasa core会带来令人沮丧的错误,我不明白.

I am downloading rasa core and the NLU. But installing rasa core is presenting a frustrating error I do not understand.

pip install rasa_core

导致错误

Installing collected packages: pyparsing, kiwisolver, matplotlib, rasa-nlu, graphviz, redis, fakeredis, decorator, networkx, fbmessenger, click, itsdangerous, flask, jsonpickle, h5py, Keras, tzlocal, apscheduler, websocket-client, slackclient, python-telegram-bot, ply, pandoc, packaging, snowballstemmer, alabaster, sphinxcontrib-websupport, babel, imagesize, sphinx, nbsphinx, monotonic, humanfriendly, coloredlogs, docopt, pykwalify, ConfigArgParse, ruamel.ordereddict, ruamel.yaml, rasa-core

Found existing installation: pyparsing 1.5.6Cannot uninstall 'pyparsing'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Found existing installation: pyparsing 1.5.6Cannot uninstall 'pyparsing'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

我找不到有关此错误或解决方法的任何信息?我的python版本是2.7,但我认为这不会有所作为.我也不明白为什么它要卸载软件包然后重新安装(升级?).

I can not find any information on this error or a work around?My python version is 2.7 but I don't think that would make a difference.I also don't under stand why it would want to uninstall the package to then re install it (Upgrade?).

推荐答案

手动删除该程序包或将其覆盖:

Either remove the package manually or overwrite it:

pip install pyparsing --ignore-installed

这篇关于找到rasa核心安装现有软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 16:21