2017-04-20 158 views
0

我想我得到了項目啓動安裝kivy但是當我做錯誤而安裝kivy

pip install kivy

它安裝了一段時間,把我這個錯誤

c:\users\user\appdata\local\temp\pip-build-r0fj_elc\kivy\kivy\graphics\gl_redirect.h(8): fatal error C1083: Cannot open include file: 'GL/glew.h': 
    error: command 'C:\\Program Files\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2 

---------------------------------------- 
Failed building wheel for kivy 

結束了

c:\users\user\appdata\local\temp\pip-build-r0fj_elc\kivy\kivy\graphics\gl_redirect.h(8): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory 
error: command 'C:\\Program Files\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2 

---------------------------------------- 
Command "d:\pycharmprojects\environments\scraptesting\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\User\\AppData\\Local\\Temp\\pip-build-r0fj_elc\\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\User\AppData\Local\Temp\pip-wk6wljj6-record\install-record.txt --single-version-externally-managed --compile --install-headers d:\pycharmprojects\environments\scraptesting\include\site\python3.5\kivy" failed with error code 1 in C:\Users\User\AppData\Local\Temp\pip-build-r0fj_elc\kivy\ 

(scrapTesting) D:\PycharmProjects\Environments\scrapTesting\splash_testing> 

任何幫助,而且我正在追蹤kivy文件對於installlation

回答

0

ations我通過安裝解決了這個問題wheel

我不會在3.5或aboveas他說文件工作,所以你必須從列表中approprita安裝.whl,然後在終端上

pip install YourPackage.whl