python2 用py2exe打包exe运行exe报错:没有访问网络的权限是什么意思?

 客户服务部小谢娟_387 发布于 2022-10-25 18:40

打包命令
python2 setup.py py2exe -p itchat,codecs,re

setup.py文件内容

from distutils.core import setup
import py2exe

setup(console=['hello.py'])

#-*-coding: UTF-8-*-
# Powered by ***
INCLUDES = []
options = {"py2exe" :  
    {"compressed" : 1,  
     "optimize" : 2,  
     "bundle_files" : 2,  
     "includes" : INCLUDES,  
     "dll_excludes": [ "MSVCP90.dll", "mswsock.dll", "powrprof.dll","w9xpopen.exe"] }}  
setup(
    options = options, 
    description = "机器人",  
    zipfile=None,
    console=[{"script": "park.py", "icon_resources": [(1, "logo.ico")] }],
    )
    
源码可以正常执行,不知道哪里打包错了,请大神指点
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有