11,875
社区成员




在树莓派上安装了cherrypy库,指定了安装地址,
pi@raspberrypi:~ $ sudo pip3 install cherrypy --target=/usr/lib/python3/dist-packages
结果pip3 uninstall cherry出问题,加了sudo也是同样的错误
Not uninstalling cherrypy at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'CherryPy'. No files were found to uninstall.
在网上查了些帖子Unable to uninstall programs using sudo pip - Ask Ubuntu,但还是没有找到解决方案。望高手指点呀!
安装的时候应该使用sudo apt-get的,所以卸载不了。得用sudo apt-get remove