waffleman
waffleman

Reputation: 4339

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?

Upvotes: 10

Views: 12062

Answers (4)

Noredine Bahri
Noredine Bahri

Reputation: 71

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

Upvotes: 2

Parsiuk
Parsiuk

Reputation: 1

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

Upvotes: -3

Catherine Hwang
Catherine Hwang

Reputation: 1030

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.

Upvotes: 0

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798706

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

Upvotes: 7

Related Questions