Anyone know where freeze.py is installed for 2.6.5? I can't seem to find it an开发者_开发问答ywhere. Did it get pulled out and replaced with something else?
It's where it's always been, under Tools/
in the source distribution.
use in linux command locate freeze.py
root@root:/usr/lib/python2.7$ locate freeze.py
/usr/lib/python2.7/dist-packages/pip/commands/freeze.py
/usr/lib/python2.7/dist-packages/pip/commands/freeze.pyc
/usr/lib/python2.7/dist-packages/pip/operations/freeze.py
/usr/lib/python2.7/dist-packages/pip/operations/freeze.pyc
/usr/local/lib/python2.7/dist-packages/pip/commands/freeze.py
/usr/local/lib/python2.7/dist-packages/pip/commands/freeze.pyc
/usr/local/lib/python2.7/dist-packages/pip/operations/freeze.py
/usr/local/lib/python2.7/dist-packages/pip/operations/freeze.pyc
/usr/share/king-phisher/tools/cx_freeze.py
Are you getting the error: "needed directory /usr/local/lib/python/lib not found"?
You need to configure Freeze before you use it. Run "make libainstall" in your Python build tree.
It took me a while to figure it out: you need package "python-pip" (with dependencies) to be installed. I also got myself "python-tools" installed but that was no help.
root ~ #> locate freeze.py
/usr/lib/python2.6/site-packages/pip/commands/freeze.py
精彩评论