我正在编写一个脚本/程序,该程序使用诸如pandas,numpy,matplotlib等库。
但是,我需要这些代码才能在仅安装了纯Python而没有这些库的机器上运行。
我能做到吗?如果是,如何?
操作系统是Windows 7/10。
码头工人怎么样?这些天似乎几乎用于任何用途:
https://djangostars.com/blog/what-is-docker-and-how-to-use-it-with-python/
您需要创建一个exe文件,该文件将包含所有必要的库,如下所述:Include all my python libraries to the exe generated by py2exe