我拆过的坑cycx

查询一下!

raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pefile>=2017.8.

 raise DistributionNotFound(req, requirers)

pkg_resources.DistributionNotFound: The 'pefile>=2017.8.1' distribution was not found and is required by PyInstaller


报错的时候:输入

pip install pefile==2017.8.1

pkg_resources.DistributionNotFound: The 'pywin32-ctypes>=0.2.0' distribution was not found and is required by PyInstaller


报错的时候:输入


pip   install pywin32-ctypes

成功:

126 INFO: PyInstaller: 3.5+498e6ee058

 

4795 INFO: Building PKG because PKG-00.toc is non existent

4795 INFO: Building PKG (CArchive) PKG-00.pkg

4812 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.

4815 INFO: Bootloader D:\Python34\lib\site-packages\pyinstaller-3.5+498e6ee058-py3.4.egg\PyInstaller\bootloader\Windows-32bit\run.exe

4816 INFO: checking EXE

4816 INFO: Building EXE because EXE-00.toc is non existent

4816 INFO: Building EXE from EXE-00.toc

4817 INFO: Appending archive to EXE C:\Users\XXX\PycharmProjects\pyinstaller\build\TractionMotorTestBenchData\TractionMotorTestBenchData.exe

4820 INFO: Building EXE from EXE-00.toc completed successfully.

4823 INFO: checking COLLECT

4824 INFO: Building COLLECT because COLLECT-00.toc is non existent

4825 INFO: Building COLLECT COLLECT-00.toc

4977 INFO: Building COLLECT COLLECT-00.toc completed successfully.


发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

Powered By Z-BlogPHP 1.7.3

Copyright Your WebSite.Some Rights Reserved.