我想手动卸载 python 包,因此无法使用import
. 我无法在我的系统中找到该软件包。当我使用这个建议(运行python -v
)时,我有下一个输出:
# /usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/clsregistry.pyc matches /usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/clsregistry.py
import sqlalchemy.ext.declarative.clsregistry # precompiled from /usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/clsregistry.pyc
# myfile.pyc matches myfile.py
import myfile # precompiled from myfile.pyc
myfile 是我要卸载的软件包的一部分。
我怎样才能找到它?