5 ms·
Kivy is really cool, but getting started on it sort of sucks. Lots of compilation errors (especially if you're trying to install on windows) due to its dependen
by WaxProlix 12y ago
Kivy is really cool, but getting started on it sort of sucks. Lots of compilation errors (especially if you're trying to install on windows) due to its dependencies on pygame (and therefore cython, and therefore a particular version of MSVS for the specific dll... all a hassle). The on-site tutorials are sort of obtuse too, if you're looking to do UIs rather than games - until other resources[1][2] became available, I sort of just gave up because it didn't seem worth it to jump through the hoops for a new framework.
1 http://inclem.net/pages/kivy-crash-course/ http://inclem.net/pages/kivy-crash-course/
2 http://pythonthusiast.pythonblogs.com/230_pythonthusiast/archive/1347_starting_to_use_kivy__developing_letter_of_heroes_an_android_alphabet_teaching_aid_for_kids_part_2_of_2.html http://pythonthusiast.pythonblogs.com/230_pythonthusiast/arc...
- lqdc13 12y agoOn Ubuntu it's really easy though. This is why I switched OSes a few years ago. Things are just easier if you use the same platform as other developers.
- eli 12y agoOr just run a VM
- nekopa 12y agoI recently switched to using vagrant for devving under windows and I have to say that I am really enjoying it at the moment.
- WaxProlix 12y agoUntil I entered the workforce proper, I got to work on mostly linux. Since going into the Seattle startup and then consulting worlds, there's a lot of Windows development, even on servers. So I try to be pretty agnostic about dev platform. Kivy doesn't really provide that luxury.
- Macha 12y agoUltimately, short of Android becoming a widely supported platform for Python and having binaries available on PyPI, there's not much that can be done for this. Compiling stuff on Windows is a bit of mess, but a surprsing number of Python libs use or rely on others that use C extensions. In normal use on Windows, this isn't as noticeable as these projects either have binaries on PyPI for Windows or else installers from their own site, but when you actually do need to compile stuff (because you're cross compiling for Android), it's a bit of a mess.
- iyn 12y agoI've never used Kivy, but I'm using Vagrant (https://www.vagrantup.com/ https://www.vagrantup.com/) on a daily basis for development and it made all problems with setting up the dev environment the thing of the past for me. I've found something like this for Kivy: https://github.com/Peradine/kivy-android-vagrant https://github.com/Peradine/kivy-android-vagrant it's been 2 years since last commit, but it can be a starting point. There's also a Dockerfile (http://docker.com/ http://docker.com/): https://github.com/timlinux/docker-kivy https://github.com/timlinux/docker-kivy which also can be used in this case (but personally I like Vagrant more for such use case).