找到rasa核心安装现有包

时间:2018-05-21 15:46:27

标签: python pip rasa-core

我正在下载rasa核心和NLU。但安装rasa核心是一个我不明白的令人沮丧的错误。

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.6 Cannot 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,但我认为这不会有所作为。 我也不知道它为什么要卸载软件包然后重新安装它(升级?)。

2 个答案:

答案 0 :(得分:2)

手动删除包裹或覆盖包裹:

UIImage *scaledImage = [UIImage imageWithCGImage:[myImage CGImage] scale:(35) orientation:(myImage.imageOrientation)];
scaledImage.renderingMode = UIImageRenderingModeAlwaysOriginal;
UIBarButtonItem *item = [[UIBarButtonItem alloc] initWithImage:scaledImage
                                           style:UIBarButtonItemStylePlain
                                           target:yourTarget
                                           action:someSelector];

答案 1 :(得分:0)

如果要卸载distutils的python软件包,则可以从“ site-packages”文件夹中手动删除该文件夹。如果是Anaconda发行版,它将在以下文件夹中。我建议剪切文件夹并将其粘贴到其他位置以进行备份。

   C:\Users\<WindowsUser>\AppData\Local\Continuum\Anaconda3\Lib\site-packages

以下两项需要删除。

  1. 文件夹[软件包版本号]
  2. 文件-[package> .egg-info]