问题标签 [autopy]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
24 浏览

python - 尝试安装模块时 Auto-Py-To-Exe 无法转换

我使用 Python 3.10,每当我尝试将文件转换为 exe 时,它​​就会卡住并给出错误“IndexEroor:元组索引超出范围”。当我将所有导入删除为 numpy、selenium 等时,它工作正常。好像我尝试导入它卡住的包。

0 投票
1 回答
34 浏览

python - 找不到自动 py 到 exe 模块 ezdxf

试图在一个文件中制作 exe,但它没有正确导入 ezdxf 模块。

我正在使用 anaconda 的 spyder。

错误:

我已经尝试过去 --hidden-import 但它没有用,我想我知道为什么。

所有其他模块的文件与它们所调用的名称完全相同。

例如:导入 glob 有一个名为 glob 的文件。

但是 ezdxf 会带入一个名为 ezdxf 的文件夹,并且直接文件名是该文件夹中的一个init。喜欢照片: 在此处输入图像描述