A memo when Kivy is installed on Windows10 64bit Python3.5.
conda create -n py35 python = 3.5
Conda install kivy
, pip install kivy
resulted in an error and could not be installed ...cmd.exe
>pip install %HOMEPATH%\Downloads\Kivy-1.9.1+sdl2-cp35-cp35m-win_amd64.whl
Processing %HOMEPATH%\downloads\kivy-1.9.1+sdl2-cp35-cp35m-win_amd64.whl
Collecting Kivy-Garden>=0.1.4 (from Kivy==1.9.1+sdl2)
Requirement already satisfied: requests in c:\program files\anaconda3\envs\py35\lib\site-packages (from Kivy-Garden>=0.1.4->Kivy==1.9.1+sdl2)
Installing collected packages: Kivy-Garden, Kivy
Successfully installed Kivy-1.9.1 Kivy-Garden-0.1.4
In an offline environment, when you install Kivy
, you will automatically try to download and install Kivy-Garden
and the installation of Kivy
will fail, so you can manually manually download the Kivy-Garden
wheel format package first. It seems that you need to download and install.
pip install %HOMEPATH%\Downloads\Kivy_Garden-0.1.4-py2.py3-none-any.whl
Try running the example at https://kivy.org/.
test.py
from kivy.app import App
from kivy.uix.button import Button
class TestApp(App):
def build(self):
return Button(text='Hello World')
TestApp().run()
python test.py
Recommended Posts