腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
使用
pyinstaller
运行
包含
xgboost
包
的
exe
文件
时
出错
python
、
pyinstaller
、
xgboost
我在代码中有一个
使用
xgboost
包
来预测一些值
的
代码。当我在PyCharm中
运行
它
时
,它会按预期
运行
。 问题出在我
使用
pyinstaller
制作可执行
文件
时
。它将使
exe
没有任何错误,但当我
运行
它
时
,引发了以下错误: Traceback (most recent call last): File "test_fraud.py
浏览 50
提问于2019-06-07
得票数 2
回答已采纳
1
回答
运行
exe
时
出错
,因为
使用
pyinstaller
有sklearn
包
和
xgboost
.
python-3.x
、
dll
、
scikit-learn
、
pyinstaller
我已经从一个python
文件
中创建了一个
exe
文件
,其中有多个从我们自己
的
文件
导入
的
文件
,还有sklearn,
xgboost
,pandas和其他sklaern
包
。在
exe
准备过程中,
运行
时没有错误,抛
出错
误File "probability_score_engine.py", line 16
浏览 40
提问于2019-07-08
得票数 1
1
回答
如何
使用
xgboost
使用
带有代码
的
pyinstaller
创建.
exe
python
、
pyinstaller
、
xgboost
我
使用
python 3.6.4,
pyinstaller
3.4。我
的
代码导入numpy和
xgboost
。我希望从这个项目创建一个.
exe
。bst
浏览 0
提问于2019-04-03
得票数 0
2
回答
PyInstaller
抛
出错
误找不到模块
python
、
python-2.7
、
pyinstaller
我正在尝试
使用
pyinstaller
使用
命令将.py转换为
exe
当我
运行
exe
文件
时
,它抛
出错
误from oauth2client.service_acc
浏览 15
提问于2020-05-10
得票数 0
2
回答
FileNotFoundError:[Errno 2]没有这样
的
文件
或目录:.constants.json
python
、
pyinstaller
、
openpyxl
我已经
使用
openpyxl编写了一个涉及excel工作表操作
的
python脚本。
使用
python解释器
时
,脚本
运行
正常。一旦我
使用
pyinstaller
使单个windows可执行并
运行
该程序,它就会抛
出错
误: FileNotFoundError: [Errno 2] No such file or directory:
浏览 3
提问于2016-03-18
得票数 1
1
回答
如何将带有模块依赖关系
的
Python脚本捆绑到
包
或.
exe
文件
中?
python
、
windows-installer
、
pyinstaller
我
的
脚本有以下依赖项import pandas as pdfrom scipy import/
xgboost
/wrapper/"sys.path.insert(1,PATH_
XGBOOST
) import
xgboost
as xgb
浏览 3
提问于2015-06-30
得票数 0
回答已采纳
1
回答
使用
pyinstaller
将Py转换为
exe
python
、
python-3.x
、
pip
、
pyinstaller
我想从main.py
文件
中创建一个.
exe
。该脚本
使用
2个外部
文件
夹:-ffmpeg
文件
夹,其中
包含
.mp3
文件
的
ffmpeg .
exe
-bunch 当我尝试
使用
pyinstaller
创建.
exe
文件
时
,它
运行
得很好,但程序无法识别这些
文件
夹。我可以做什么来
包含
这些
文件
夹?
浏览 11
提问于2020-07-17
得票数 0
1
回答
Pyinstaller
错误--“找不到setuptools发行版”
python
、
pyinstaller
我正在尝试
使用
PyInstaller
为我
的
Python项目构建一个可执行二进制
文件
。环境详细信息:我可以成功地构建这个项目:......jayaprakash@cloudenablers:/opt/core/heatstack/heatstack$
浏览 2
提问于2016-05-25
得票数 7
3
回答
PyInstaller
,规范
文件
,ImportError:没有名为'blah‘
的
模块
python
、
mysql
、
pyinstaller
、
importerror
我已经
使用
以下命令进行了配置、生成规范
文件
和构建:python
pyinstaller
/Build.py myscript.spec 下面是它生成
的
spec当我尝试
运行
这个
文件
时</
浏览 0
提问于2011-09-16
得票数 16
回答已采纳
2
回答
需要帮助
使用
pyinstaller
编译python
python
、
windows
、
exe
、
pyinstaller
、
theano
我想在
运行
windows 7+
的
机器上分发我
的
python代码。它由两个.py
文件
组成,主
文件
为cprofiles_lmfit.py,
文件
cprofiles.ui用于描述GUI,以及文档
的
.pdf。我遇到了困难(例如,请参阅 ),但最终
使用
pyinstaller
和命令行进行了适当
的
二进制操作:
pyinstaller
--noupx --onefile --add-data="cprofi
浏览 5
提问于2017-10-18
得票数 2
回答已采纳
1
回答
packageError py2
exe
和python
python
、
py2exe
、
python-docx
我有一个用python编写
的
程序,它读取某些数据
文件
并生成一个docx
文件
和一个pdf
文件
。现在我需要发布它,所以我创建了一个GUI,并发现
使用
py2
exe
我可以创建.
exe
,然后我应该能够发布这个.
exe
。.
exe
按应有的方式在dist
文件
夹中创建,GUI看起来也不错,但是当我实际让程序执行它应该做
的
事情
时
,我会得到以下错误: 在'C:\Users\heinreca\
浏览 3
提问于2022-07-21
得票数 0
回答已采纳
1
回答
使用
pyinstaller
创建
的
exe
无法执行。
python
、
pyinstaller
、
astropy
我正在尝试
使用
pyinstaller
为我
的
python脚本创建一个.
exe
文件
。已成功创建了
exe
文件
,但当我尝试
运行
它
时
,cmd会给
出错
误: 导入错误: Astropy需要最小版本1.10
的
“6”模块;通常这是与astropy
包
捆绑在一起
的
,因此如果收到此警告,请参阅Astropy发行版
的
packager。
浏览 2
提问于2017-06-13
得票数 1
1
回答
Django到带有
pyinstaller
的
桌面应用程序
django
、
pyinstaller
我下载了
pyinstaller
的
开发版本: github/
pyinstaller
/
pyinstaller
。hookutils.py被修改如下:,以便
pyinstaller
找到我
的
根目录: Django根目录c:\\mysite\mysite 我正在尝试编译
的
项目是
运行
后获得
的
初始项目: django-admin.py当按照
pyinstaller
()上描述
的
步骤
运行</e
浏览 1
提问于2013-08-28
得票数 2
回答已采纳
1
回答
用于
Pyinstaller
的
ModuleNotFoundError
python
、
pyinstaller
我编写了一个带有PyQt5+Python3.6接口
的
工具,我希望将其打包到一个.
exe
文件
中,以便在没有Python环境
的
机器上
运行
。根据在线
使用
pyinstaller
进行打包,
包
结束后在dist
文件
夹
exe
文件
打开后出现错误: 在解决了.spec
文件</em
浏览 0
提问于2018-03-28
得票数 2
1
回答
如何安装
pyinstaller
(windows)
python
、
windows
、
type-conversion
、
pyinstaller
、
exe
我想把.py
文件
转换成.
exe
文件
,这样我就可以在网页上执行它们。然而。每一种方法都涉及到
pyinstaller
,我不知道如何安装。有人能解释一下获得
pyinstaller
的
过程,还是告诉我是否有其他方法可以不
使用
pyinstaller
就将.py转换为.
exe
?
浏览 3
提问于2021-01-06
得票数 0
回答已采纳
2
回答
为什么我
的
pyinstaller
创建
的
可执行
文件
需要管理特权?
pyqt4
、
pygame
、
pyinstaller
我编写了一个Python程序,我
使用
pyinstaller
发布了这个程序。到目前为止,我一直在
使用
onefile选项来创建独立
的
可执行
文件
。我一直在尝试
使用
pyinstaller
的
onedir选项创建该应用程序
的
单一目录版本。但是,所创建
的
结果.
exe
文件
需要管理员特权才能
运行
,而onefile版本则不需要。程序本身不需要任何这样
的
特权,所以我假
浏览 3
提问于2012-04-02
得票数 14
回答已采纳
1
回答
将多个python脚本转换为可执行格式
python
我有一个
文件
夹,其中
包含
3个相互依赖
的
python脚本,该
文件
夹还
包含
我将传递给这些脚本
的
输入
文件
。 现在我想把我
的
脚本从.py转换成.
exe
格式。我知道一个名为
pyinstaller
的
包
,它将把我
的
python脚本转换成.
exe
格式。但是当我
使用
以下代码将我
的
.py
文件
转换为.
exe
浏览 0
提问于2019-04-10
得票数 0
1
回答
Pyinstaller
.
exe
没有产生预期
的
结果
python
、
exe
、
pyinstaller
这是我第一次
使用
pyinstaller
在windows机器上构建我
的
.py
的
.
exe
。我已经成功地生成了.
exe
,但是当我
运行
代码
时
,它并没有生成我
的
代码应该生成
的
.csv
文件
。另外,当我在集成开发环境中
运行
我
的
脚本
时
,它成功地生成了我期望
的
.csv。底部是我
的
代码中应该生成输出
的
部分。wor
浏览 4
提问于2018-04-21
得票数 2
4
回答
Pyinstaller
和Django Rest
python
、
django
、
django-rest-framework
、
pyinstaller
我试图在django rest中
使用
Pyinstaller
,它很好地生成.
exe
,但是在执行.
exe
时
出现了一个错误,错误是我
的
问题是如何
使用
Pyinstaller
安装依赖项,或者是否有其他方法。
浏览 1
提问于2018-10-17
得票数 1
回答已采纳
2
回答
如何解析ModuleNotFoundError:
PyInstaller
中没有名为“srsly.msgpack.util”
的
模块?
python
、
python-3.x
、
pyinstaller
、
msgpack
我正在尝试
使用
.
exe
将python脚本转换为
PyInstaller
。脚本被转换为没有任何错误日志
的
exe
。但是,在
运行
.
exe
文件
时
,正在获取ModuleNotFoundError:没有名为“srsly.msgpack.util”
的
模块 此问题是在打开
PyInstaller
和cx_Freeze生成
的
exe
文件
时
发生
的<
浏览 0
提问于2019-09-30
得票数 3
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Python-打包
深入Pyinstaller的使用,用spec添加资源文件
pyinstaller分发打包Python.py成.exe文件 自动收集依赖.pyd.pyc.pyo
pyinstaller-Python打包工具
Python使用pyinstaller打包几个小技巧
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券