0

当我使用 Nuitka 编译我的 python 项目时,出现了一个错误: python36.lib(python36.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'

我正在使用Windows 10 64bit,Nuitka 0.5.28.1 Python3.6 64 bit和.Visual Studio 2017 CommunityPython 3.6.3 |Anaconda custom (64-bit)|

我想建立一个x64exe文件。

我在互联网上搜索过说某事Configuration PropertiesTarget Machine。但是,我在使用 Nuitka 时没有 VS 项目,所以我不知道在哪里配置。

4

1 回答 1

0

我今天刚遇到这个问题。

我认为这是因为 anaconda 可能是用不同的 C 编译器编译的。我只是使用普通的 python(没有 anaconda)和 pipenv 来创建环境。

于 2018-03-11T06:52:26.453 回答