织梦CMS - 轻松建站从此开始!

沙龙国际_salon365.com_沙龙国际www.salon365.com

当前位置: 主页 > 沙龙国际代理 >

py2exe missing Modules ?

时间:2017-08-12 02:24来源:未知 作者:admin 点击:
代码如下: #!/usr/bin/env python3# -*- coding:utf-8 -*-from distutils.core import setupimport py2exesetup(console=['1_lsb_hide.py']) 输入:running py2exe 运行结果: error: [Errno 2] No such file or directory: 'C:\Users\Username

代码如下:

#!/usr/bin/env python3
# -*- coding:utf-8 -*-

from distutils.core import setup
import py2exe

setup(console=['1_lsb_hide.py'])

输入:running py2exe

运行结果:

error: [Errno 2] No such file or directory:
'C:\Users\Username\AppData\Local\Programs\Python\Python35\lib\site-packages\py2exe\run-py3.5-win-amd64.exe'

21 missing Modules ------------------
? PIL._imagingagg imported from PIL.ImageDraw ?
PyQt4 imported from PIL.ImageQt ? PyQt5
imported from PIL.ImageQt ? PySide
imported from PIL.ImageQt ? _imaging_gif
imported from PIL.GifImagePlugin ? _util
imported from PIL.ImageCms ? backports
imported from setuptools.ssl_support ? certifi
imported from setuptools.ssl_support ? multiprocessing.SimpleQueue
imported from concurrent.futures.process ?
pkg_resources.extern.appdirs imported from pkg_resources ?
pkg_resources.extern.packaging imported from pkg_resources,
setuptools.command.egg_info, setuptools.dist ?
pkg_resources.extern.six imported from pkg_resources ?
setuptools.extern.six imported from setuptools,
setuptools.command.bdist_egg, setuptools.command.easy_install,
setuptools.command.egg_info, setuptools.command.py36compat,
setuptools.command.sdist, setuptools.command.setopt,
setuptools.depends, setuptools.dist, setuptools.extension,
setuptools.glob, setuptools.monkey, setuptools.package_index,
setuptools.sandbox, setuptools.ssl_support, setuptools.unicode_utils ?
setuptools_svn imported from
setuptools.command.egg_info ? testing
imported from cffi.recompiler ? tkinter
imported from PIL.ImageTk, PIL._tkinter_finder ? urllib.splittag
imported from setuptools.py26compat ? win32com
imported from setuptools.sandbox ? win32evtlog
imported from logging.handlers ? win32evtlogutil
imported from logging.handlers ? wincertstore
imported from setuptools.ssl_support Building 'dist1_lsb_hide.exe'.

请问我应该怎么正确得到输出的exe程序?

(要生成exe的.py文件可以正常运行并输出正确结果)

织梦二维码生成器
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:点击我更换图片
栏目列表
推荐内容