問題描述
我想安裝 kivy(鏈接在這里) 用于項目,但是,當嘗試使用 pip 安裝它所依賴的包時,我收到以下錯誤:
I want to install kivy (link here) to use for a project, however, when trying to use pip to install the packages it is dependent upon, I get the following error:
Could not find a version that satisfies the requirement kivy.deps.sdl2 (from versions: )
No matching distribution found for kivy.deps.sdl2
在 kivy 網站上的進一步閱讀顯示,由于某種圖形錯誤,這些庫不支持 Windows 10 上的 Python 3.5.該網站說您需要 python 3.4 才能安裝它.
Further reading on kivy's website revealed that these libraries do not support Python 3.5 on windows 10 because of some kind of graphical bug. The website says you need python 3.4 in order to be able to install it.
這就帶來了一個問題:我已經有了python 3.5,如何安裝python 3.4?
Which brings the question: How do I install python 3.4 when I already have python 3.5?
推薦答案
到控制面板卸載Python 3.5,卸載一個程序,然后尋找Python 3.5,點擊它并按下卸載.之后下載 Python 3.4.我不知道任何其他方法,但我認為這應該有效.
Uninstall Python 3.5 by going to control panel, uninstall a program, and then look for Python 3.5, click on it and press uninstall. After that download Python 3.4. I don't know any other ways but I think that should work.
這篇關于如何從 Python 3.5 降級到 Python 3.4的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!