无法使用pyinstaller将.py脚本转换为.exe文件

时间:2018-01-12 03:53:40

标签: python python-3.x pyinstaller

我已经安装了pyinstaller。它支持python 3.6。但是,如果我运行此命令,我每次都会收到警告。没有创建.exe文件。怎么做?

我收到警告:

    516808 WARNING: lib not found: api-ms-win-crt-time-l1-1-0.dll dependency of c:\users\akhil\appdata\local\programs\python\python36-32\lib\sit
e-packages\lxml\etree.cp36-win32.pyd
517650 WARNING: lib not found: api-ms-win-crt-heap-l1-1-0.dll dependency of c:\users\akhil\appdata\local\programs\python\python36-32\lib\sit
e-packages\lxml\etree.cp36-win32.pyd
519292 WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency of c:\users\akhil\appdata\local\programs\python\python36-32\lib\sit
e-packages\lxml\etree.cp36-win32.pyd
520278 WARNING: lib not found: api-ms-win-crt-environment-l1-1-0.dll dependency of c:\users\akhil\appdata\local\programs\python\python36-32\
lib\site-packages\lxml\etree.cp36-win32.pyd
521404 WARNING: lib not found: api-ms-win-crt-filesystem-l1-1-0.dll dependency of c:\users\akhil\appdata\local\programs\python\python36-32\l
ib\site-packages\lxml\etree.cp36-win32.pyd

如何解决此问题并制作.exe文件?我也使用cx_Freeze完成了这项工作。但仍然没有用。

0 个答案:

没有答案