eric6安装插件cx-freeze的问题
来源:互联网 发布:手机报价软件 编辑:程序博客网 时间:2024/05/17 23:13
还是Python3.6 pyqt5.8 eric6,安装一个python to exe的工具cx-freeze,然后想在eric6上安装下插件方便操作。
一直在插件状态信息中提示:
"The cxfreeze.bat executable could not be found."
"Did you run the cxfreeze-postinstall script?"
解压插件跟踪安装的python类实现,发现是不支持最新的3.5和3.6导致。
代码:
def _findExecutable(majorVersion):
"""
Restricted function to determine the names of the executable.
@param majorVersion major python version of the executables (int)
@return names of the executable (list)
"""
# Determine Python Version
if majorVersion == 3:
minorVersions = range(5)
elif majorVersion == 2:
minorVersions = range(5, 9)
else:
return []
改为:
def _findExecutable(majorVersion):
"""
Restricted function to determine the names of the executable.
@param majorVersion major python version of the executables (int)
@return names of the executable (list)
"""
# Determine Python Version
if majorVersion == 3:
minorVersions = range(7)
elif majorVersion == 2:
minorVersions = range(5, 9)
else:
return []
然后重新压缩为zip,重新安装插件,激活,搞定。
PS:不好意思,一直都很忙,这篇和上篇写的比较粗糙,可能很多人还是看不懂。我已经将问题反馈给eric6开源组织,也许会被看到。
有人遇到和我一样的问题,可以加我QQ 57049067。也许我不能马上联系,但总会看到。
- eric6安装插件cx-freeze的问题
- Eric6安装问题
- eric6 安装试用
- ubuntu16.04 安装 Eric6
- cx-oracle 编译错误问题的解决
- 安装完eric6,找不到启动的文件的解决办法
- Eric6的基础使用方法
- Eric6 安装与颜色配置
- 完美安装 Anaconda3 + PyQt5 + Eric6
- freeze
- 洛谷 Cx的故事
- pip freeze 安装python 环境
- python用cx-freeze转成exe,运行报错,import requests了
- cx
- 关于3Ds MAX在freeze transform后无法使用飘带插件springmagic的解决过程
- Python 3.5.2 - PyQt5 - eric6安装指南
- VIDEO的freeze的原理
- 关于软件Freeze的调查
- fragment嵌套viewpager嵌套fragment第二次加载数据不显示问题
- 多线程机制(条件变量):pthread_cond_wait && pthread_cond_signal
- 微信小程序之地图功能
- openCV遍历图片像素方式的时间效率对比
- 汇编语言: 从键盘上输入一串字符(用回车键结束,使用10号功能调用。),将其中的小写英文 字母变换为大写英文字母,其他字符保持不变。然后将变换后的字符串显示出来。
- eric6安装插件cx-freeze的问题
- ubuntu Nginx 编译 带ssl
- 三种获取网页源码的方法(使用MFC/Socket实现)
- python 数据挖掘 版本 环境变量
- 正则匹配省市区
- spark 2.1 on yarn -- container shell analysis
- Spring基础学习教程(applicationContext.xml 配置文件 详解)-07
- PHP如何在页面中原样输出HTML代码
- spring boot 最佳实践(二)--使用Bean Validation