I finished writing the code for a simple game using Kivy. I am having a problem converting it to Android APK, since I am using a windows computer. From some earlier research I got to know that using a Virtual machine is recommended, but I have no idea on how to download and use one :(, and if my slow PC can handle it... please help me. If possible, kindly recommend another way to convert to APK.
I am a beginner at coding as a whole, please excuse me if my question is stupid.
you could just try downloading a virtual box and installing linux operating system or you could directly install it and keep it a drive called F or E and you could just install python on that and all the required pakages and start the build using buildozer as it is not available for windows. So try doing it. But I need to do it just now. Tell me after you have tried that cuz there are a lot of people online on youtube who would heloo you doing that work
Related
I have developed a Gtk3 application using Python 3.9.7. All development was done on Ubuntu 21.10.
My question is: what is the modern way of deploying such an application to a Windows platform?
I spent the last couple of hours looking for a solution. I have tried pyinstaller, py2exe and cx_freeze, but all methods of this conversion I could find appear to be outdated and nothing seems to work. I can't even get them properly installed on Windows, which seems to be a necessity.
So if someone has recently done any deployment like that, I'd greatly appreciate a walk-through of how I could do it. Cross-platform (meaning without doing the actual build on Windows) would be great.
I'd prefer to not rewrite the whole project, since it's quite big and that would take a lot of time.
I have a really simple Python script. It’s written in a single file however I did have to install two things using pip. I’ve created this on Mac and I need to somehow compile it into a runnable application on windows. I’ve spent hours trying to use pyinstaller to make it into an exe file but I don’t think the dependencies are included in that ... I’ve also tried creating a virtual environment using venv but that doesn’t work either. I first tried using pyinstaller on Mac which was really easy but didn’t run at all when transferred it to windows. I then have been trying to do it on windows but it’s just very difficult and it’s just one error after another. I finally managed to build the app on windows using pyinstaller but it said “failed to execute script ...”
So does anyone know any simple way to make it into a runnable application? Doesn’t have to be an exe.
Thanks in advance.
Have you tried using py2app. To install it, type: pip install py2app.
Check out This link for more information.
well I made something and want to show it to some of my friends but since they are not into coding they don’t have python installed in their computers is it necessary to download it?
Create your program into an executable so it eliminates the Python installation dependency.
Ref - https://datatofish.com/executable-pyinstaller/
Is there any pre-built PyCaffe out there for OSX? I do see instructions on how to build it but I'm sure I'll have a lot of difficulties trying to build all of its dependencies. So, I'd appreciate it anyone knows where I can get the prebuilt PyCaffe module? Or is it necessary that it gets fully built on the machine?
Thanks
In case you're familiar with docker, you could try: https://github.com/ryankennedyio/deep-dream-generator
On OS X, you'll need to have boot2docker or some such.
Anyway, I was able to get up and running in under 5 minutes or so with this approach, after spending an hour or so (and giving up) downloading/building/installing dependencies directly.
I've been trying to download Kivy. In the instructions here, (http://kivy.org/docs/installation/installation-windows.html) Kivy appears to be downloaded as a package, and then unzipped. When I tried to download Kivy, it appeared as a compressed folder, but didn't have the option to unzip it. If anyone has any idea what's going on, feedback would be greatly appreciated.
I regularly have trouble installing python modules. Normally I use easy_installer, but even that seems to choke occasionally. However, without fail this has always worked for me:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
It's an unofficial host for module binaries. Just download the relevant files, run them and you should be good to go. :)