我正在尝试使用pip为Python安装pyq。但是,在生成过程中,它会使用以下命令失败:
C:\FAST\anacondaforPython3.5.2\4.1.1\Scripts\gcc.bat -shared -s build\temp.win-amd64-3.5\Release\src\pyq\_k.o build\temp.win-amd64-3.5\Release\src\pyq\_k.cp35-win_amd64.def -Lc:\fast\anacondaforpython3.5.2\4.1.1\libs -Lc:\fast\anacondaforpython3.5.2\4.1.1\PCbuild\amd64 -lpython35 -lvcruntime140 -o build\lib.win-amd64-3.5\pyq\_k.cp35-win_amd64.pyd src\pyq\kx\w32\q.lib
这导致了以下syntax error
:
c:/fast/anacondaforpython3.5.2/4.1.1/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build\temp.win-amd64-3.5\Release\src\pyq\_k.cp35-win_amd64.def:1: syntax error
c:/fast/anacondaforpython3.5.2/4.1.1/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/bin/ld.exe:build\temp.win-amd64-3.5\Release\src\pyq\_k.cp35-win_amd64.def: file format not recognized; treating as linker script
c:/fast/anacondaforpython3.5.2/4.1.1/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/bin/ld.exe:build\temp.win-amd64-3.5\Release\src\pyq\_k.cp35-win_amd64.def:1: syntax error
collect2.exe: error: ld returned 1 exit status
error: command 'C:\\FAST\\anacondaforPython3.5.2\\4.1.1\\Scripts\\gcc.bat' failed with exit status 1
我不知道如何解决这个问题
首先,我在哪里可以找到有问题的文件build\temp.win-amd64-3.5\Release\src\pyq\_k.cp35-win_amd64.def
?我已经在我的C:\
驱动器上搜索了所有地方,但找不到这个文件
有人知道如何调试这个吗
我在Windows10上使用GCC4.7
目前没有回答
相关问题 更多 >
编程相关推荐