0

Pyforms ライブラリをインストールしようとしているので、依存関係として PyQt4 をインストールしようとしました。PyQt4 は依存関係に SIP があるので、そのファイルもゼロからビルドしてみました (Pip 経由でインストールすると、何らかの理由で sipconfig.py が存在しないと通知されました?この問題は最終的に)。

残念ながら、Microsoft Visual Studio は、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:'

Makefile の内容は次のとおりです。

all:
    cd sipgen
    $(MAKE)
    @cd ..
    cd siplib
    $(MAKE)
    @cd ..

install:
    cd sipgen
    $(MAKE) install
    @cd ..
    cd siplib
    $(MAKE) install
    @cd ..
    @if not exist "C:\Program Files (x86)\Python36-32\Lib\site-packages" mkdir "C:\Program Files (x86)\Python36-32\Lib\site-packages"
    copy /y sipconfig.py "C:\Program Files (x86)\Python36-32\Lib\site-packages\sipconfig.py"
    copy /y C:\Users\***\Downloads\sip-4.19.3\sip-4.19.3\sipdistutils.py "C:\Program Files (x86)\Python36-32\Lib\site-packages\sipdistutils.py"

clean:
    cd sipgen
    $(MAKE) clean
    @cd ..
    cd siplib
    $(MAKE) clean
    @cd ..
4

0 に答える 0