rasa core installation existing package found

烈酒焚心 提交于 2019-12-02 15:05:18

问题


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

Results in an error

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.

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?).


回答1:


Either remove the package manually or overwrite it:

pip install pyparsing --ignore-installed



回答2:


If you want to uninstall python package which is part of distutils, you can manually remove the folder from 'site-packages' folder. If it is Anaconda distribution, it will be in following folder. I suggest to cut the folder and paste it somewhere else for backup purpose.

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

Following 2 items needs to be removed.

  1. Folder [package version no.]
  2. File - [package>.egg-info]


来源:https://stackoverflow.com/questions/50452344/rasa-core-installation-existing-package-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!