开发者

how to set the python framework path before building cxfreeze for python3

开发者 https://www.devze.com 2023-01-06 13:05 出处:网络
I m building a python script using a setup.py file. In build开发者_如何学运维ing process, it links to python framework. I want to change the linking framework path as its linking to the wrong location

I m building a python script using a setup.py file. In build开发者_如何学运维ing process, it links to python framework. I want to change the linking framework path as its linking to the wrong location. How to set the framework path before building the script.

Thanks in advance for sparring ur valuable time for this thread.


Make sure your cxFreexe is installed with and run with the same python as you run the application you want to freeze. That way your PYTHONPATH should be set up correctly.

The exception is if the script you want to freeze itself modifies Python path. In that case you need to make the same modifications yourself before freezing.

0

精彩评论

暂无评论...
验证码 换一张
取 消