使文件与Windows不兼容?

2024-05-19 16:10:13 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图安装Pyforms库,所以我尝试将PyQt4作为依赖项安装。PyQt4将SIP作为一个依赖项,因此我也尝试从头开始构建该文件(当通过Pip安装时,我被告知sipconfig.py文件不存在,因为某种原因?即便如此,我最终还是会遇到这个问题)。在

不幸的是,microsoftvisualstudio似乎不喜欢SIP自动生成的Makefile。当我尝试运行nmake时,我会遇到无数错误。我能在这里做些什么吗?还是我不可能继续下去?(或者,为我提供一个简单的PyQt4/SIP二进制安装程序)。恐怕我有些力不从心。在

以下是我尝试运行NMAKE时出现的错误:

NMAKE : warning U4001: command file can be invoked only from command line
NMAKE : warning U4001: command file can be invoked only from command line
NMAKE : warning U4001: command file can be invoked only from command line
NMAKE : warning U4001: command file can be invoked only from command line
NMAKE : warning U4001: command file can be invoked only from command line
NMAKE : warning U4001: command file can be invoked only from command line
NMAKE : warning U4001: command file can be invoked only from command line
NMAKE : fatal error U1073: don't know how to make 'all:'

生成文件的内容如下:

^{2}$

Tags: 文件fromonly错误linebecancommand