2017-02-13 15 views
0

Windows 10でKivyを設定しようとすると、Python 3.6を使用したときに問題が発生します。Windows 10でKivyビルドが失敗する

b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n" 

これは、プロセスは上で継続して構築しようとしたが失敗した唯一の問題ですが、私はここで完全なターミナル出力を投稿しようとしたが、それは大爆笑サイトの文字の制限を超えました。それを除いて、ウィンドウがコマンドを認識しないと言って、私は本当に問題を理解していないか、それを修正する方法を知っています。

C:\Users\suroh>python -m pip install kivy 
Collecting kivy 
Using cached kivy-1.9.1.tar.gz 
Requirement already satisfied: Kivy-Garden>=0.1.4 in c:\python36-32\lib\site-packages (from kivy) 
Requirement already satisfied: requests in c:\python36-32\lib\site-packages (from Kivy-Garden>=0.1.4->kivy) 
Building wheels for collected packages: kivy 
Running setup.py bdist_wheel for kivy ... error 
Complete output from command C:\Python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\suroh\\AppData\\Local\\Temp\\pip- build-8971r5gl\\kivy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\suroh\AppData\Local\Temp\tmp18y3lc72pip-wheel- --python-tag cp36: 
Using distutils 

Detected Cython version 0.23 
User distribution detected, avoid portable command. 
Windows platform detected, force GLEW usage. 
Using this graphics system: OpenGL 
WARNING: A problem occured while running pkg-config --libs --cflags gstreamer-1.0 (code 1) 

b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n" 

WARNING: A problem occured while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1) 

b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n" 
---------------------------------------------------------------------------- 
Failed building wheel for kivy 
Running setup.py clean for kivy 
Failed to build kivy 
Installing collected packages: kivy 
Running setup.py install for kivy ... error 
Complete output from command C:\Python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\suroh\\AppData\\Local\\Temp\\pip-build-8971r5gl\\kivy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\suroh\AppData\Local\Temp\pip-jyo4b4xe-record\install-record.txt --single-version-externally-managed --compile: 

どのような問題があるのでしょうか。どうすればいいですか?それ以外には、Python 2にダウングレードしてその方法を試してみてください。

+0

現在3.5の安定版と3.6の安定版はありません。 https://pypi.python.org/pypi/kivy – KeyWeeUsr

+1

を確認してください。私はそれを知らなかったが、それは意味がある、返事をありがとう。また、私は課すつもりはありませんが、おそらくこれを答えの形にすることができますか?私はそれを解決としてマークすることができます。理解していない場合はもう一度お手伝いをしてください! – Afflicted

答えて

0

今のところ(Kivy 1.9.1)Python 3.5以降(32ビットと64ビットの両方)のリリースはありません。車輪が格納されているpypiで確認できます。

ただし、nightly wheelsを使用できます。新しいリリースが一種のものであるため、これらは現在の安定版よりかなり安定しています。 :)

+0

python3.5を使用して本番環境でプロジェクトを実行しています – Juggernaut

関連する問題