简体   繁体   中英

Python: fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'

I got the below error:

note: python38.lib(python38.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'

Knowing that my Win 10 is x64 and installed python is the one for x64

在此处输入图片说明

It might be because you are using x86 C/C++ compiler instead of x64.

Try adding PATH variable of folder containing your x64 compiler and moving that variable to the top of the list

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM