Python:freeze.py在哪里?

2024-04-25 08:01:25 发布

您现在位置:Python中文网/ 问答频道 /正文


Tags: python
3条回答

是否出现错误:“未找到所需目录/usr/local/lib/python/lib”?

使用前需要配置冻结。在Python构建树中运行“make libainstall”。

在linux命令中使用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

在源代码分布的Tools/下,它一直都在那里。

相关问题 更多 >