我正在尝试pysqlite
使用pip
.
我这样做毫无意义:
$ pip uninstall pysqlite
该命令有效,但请注意:
$ pip freeze
[...]
pysqlite==1.0.1
让我们再试一次
$ pip uninstall pysqlite
Can't uninstall 'pysqlite'. No files were found to uninstall.
不,似乎已删除但仍显示在pip freeze
现在乐趣来了
$ pip install pysqlite
Requirement already satisfied (use --upgrade to upgrade): pysqlite in /usr/lib/python2.6/dist-packages
Cleaning up...
很公平:
$ pip install -U pysqlite
[...]
error: command 'gcc' failed with exit status 1
[...]
Can't roll back pysqlite; was not uninstalled
[...]
我只是不明白。为什么pip卸载不了pysqlite?