4Manuals

  • PDF Cloud HOME

使用pip安装时如何解决GCC语法错误? Download

    如何将文本边界框与pyplot.Rectangle对齐? 导入类问题 在Python数据框中选择列时出错 使用Rabbit的pika确认消息 如何在按住键的同时暂停VideoStream? Python OpenCV TypeError:无法处理此数据类型 使用buildozer不会下载sdl2_image SMTPSenderRefused,421,超出超时 Tensorflow多线程推理比单线程推理慢 关于python中变量的困惑。 python如何使用变量?

我正在尝试使用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:\驱动器中进行了搜索,找不到该文件。

有人有什么想法可以调试吗?

我正在Windows 10上使用GCC 4.7。

0 个答案:

没有答案



Similar searches
    自定义反应挂钩以获取数据在第二次点击时未提供数据 c#和谐示例未按预期打印注入日志 ASP.NET MVC:数据库中的错误更新模型 Flutter建立应用程式无法运作。错误编号= 121 如何解决“您的WSGIPath引用的文件不存在。”尝试在Amazon AWS Ubuntu实例上启动我的Flask应用程序时出错?