Firstly, before the steps, the site tells me to open the command line and type python --version. So I typed on the windows search bar 'command line'. Python (command line) came up and I went ahead and typed python --version and I got the error
along with other stuff. So I decided to try the command prompt, the second option to come up when I typed 'command line' in on my windows search. It returned saying that it was not recognized as an internal or external file.
Solution to the installation problem is that kivy doesn't compatible to python 3.8.X. So you need python 2.7.X to 3.7.X to run kivy. And then all the general installation process like for windows, type the followings serially in the command prompt :
i have encountered a simillar setback while trying to install kivy on python.in python version 3, py is used instead of python for launching python in the command prompt i.epy (to launch python3) py -m pip install kivy (to install kivy)
MD Jalals method works perfectly for me. Now kivy runs in SublimeText 3 with a 32 bit python 3.8.3! There are a lot of messages in the terminal window when running. I created a new project with sublime and saved the file main.py, listed below (from tech with Tim on YouTube, =bMHK6NDVlCM
To king charles' remark: It is true that if You have both the 64 bit and the 32 bit python installed, py is the 64 bit and python is the 32 bit, at least if You install the 64 bit version first. I have not tried to install with py -m pip install for MD Jalal's description, just python -m pip install. And when using the 32 bit interpreter for python, kivy works in SublimeText as well as in PyCharm.
the problem is when some widget like Button is added to the layout, i got the button without windows OS themes applied. i need the button and the entire GUI widgets with operating system themes. what i have to do?
As stated by others in comments, it's not how kivy works, ease of porting of every platforms and ability to build custom widgets comes at the cost of system integration, kivy widgets look the same whatever the platform, and doesn't feel native anywhere, unless you spend time making them do. You can define rules for your widgets specific to each platforms, to make them look and feel native, but it's work, and if you want it to follow user theming, then it's certainly out of reach for any reasonable effort, with kivy it's you who decides how your application look, not the system.
So, I'm trying to make a .exe from a python kivy code, The .exe is made, but it doesn't open. No message, nothing. I'm checking the logs but theres no problem in there, so I'm completely in the dark here. I'm using the following .spec
I've been learning Kivy and how to create Android apps. My question is, is there a way to compile a kivy made app as a standalone apk on windows? Something similiar to buildozer for linux? I'm wanting to create an app that I will be releasing on the Google and Amazon app stores. I've been using Kivy Launcher to test run the apps, but obviously making everyone first install the launcher before your app is not ideal. I would just be using buildozer, but I keep running into install issues with it and a few other required files. I read somewhere before that I would need to use Python-for-Android (Py4A), but I can't seem to find where I read that. I've been reading through they kivy docs and searching forums, but I can't seem to find the answer i'm looking for. Any help is greatly appreciated. Thanks
You could use a command line, but I kept running into a memory error issue maybe due to it being a large file (121 MB) and my firewall and anti-virus program so I just went to the PyPI site to download the wheel. I downloaded the appropriate version for my Python 2.7, 32-bit. ( kivy.deps.gstreamer-0.1.12-cp27-cp27m-win32.whl). Once the file is downloaded to our usual location, run pip install:
From what i can see, when using the file from the windows partition, a different interpreter is being used. I am simply trying to use the same interpreter that works when using the latter path, but by accessing files from the first path.
Perhaps the penguin chip-monk is not the best guy to mess with reinstalling python 2.7 and kivy on a win10 system. The pygame mention in a post above deserves a look from the little I found on the net.
For non-Unix platforms, or when a remote browser is available on Unix, thecontrolling process will not wait for the user to finish with the browser, butallow the remote browser to maintain its own windows on the display. If remotebrowsers are not available on Unix, the controlling process will launch a newbrowser and wait.
In comparison to the windows installation, Python Ta-Lib installation is relatively straightforward and easy on the MacOS. But before we talk about the installation of Ta-Lib, we have to make sure the python environment is installed as well.
df19127ead