Skip to content Skip to sidebar Skip to footer

Python: Where Is Freeze.py?

Anyone know where freeze.py is installed for 2.6.5? I can't seem to find it anywhere. Did it get pulled out and replaced with something else?

Solution 1:

It's where it's always been, under Tools/ in the source distribution.

Solution 2:

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

Solution 3:

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.

Solution 4:

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

Post a Comment for "Python: Where Is Freeze.py?"