Python-预编译的库?

问题描述 投票:-7回答:2

我正在编写一个脚本/程序,该程序使用诸如pandas,numpy,matplotlib等库。

但是,我需要这些代码才能在仅安装了纯Python而没有这些库的机器上运行。

我能做到吗?如果是,如何?

操作系统是Windows 7/10。

python pandas numpy
2个回答
0
投票

码头工人怎么样?这些天似乎几乎用于任何用途:

https://djangostars.com/blog/what-is-docker-and-how-to-use-it-with-python/


0
投票

您需要创建一个exe文件,该文件将包含所有必要的库,如下所述:Include all my python libraries to the exe generated by py2exe

© www.soinside.com 2019 - 2024. All rights reserved.