如何找到一个python包

ash*_*him 0 python

我想手动卸载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
Run Code Online (Sandbox Code Playgroud)

myfile是我要卸载的软件包的一部分.

我怎样才能找到它?

Eth*_*man 6

要打印模块的位置:

import myfile
myfile.__file__
Run Code Online (Sandbox Code Playgroud)