KubiK888
KubiK888

Reputation: 4723

Buildozer initiation issue in Ubuntu as 'command not found'

I am trying to convert a kivy .py file into .apk using buildozer in ubuntu. I have been following this person's tutorial:

https://kivyspacegame.wordpress.com/2014/06/30/tutorial-how-to-build-python-for-android-with-ubuntu-and-buildozer/

However, I am stuck at the stage at

buildozer init

Resulting in error.

command not found

Similar issue is seen here https://groups.google.com/forum/#!topic/kivy-users/_uCnOC8fdPo. But it doesn't have a solution. I checked cython and buildozer installations using 'pip freeze" and going into python and type 'import cython' and 'import buildozer', they didn't give me any error message.

Upvotes: 2

Views: 8033

Answers (2)

user9368361
user9368361

Reputation:

These are the steps I tried to get out of it.

First uninstall buildozer :

pip3 uninstall buildozer

Then clone buildozer git :

git clone <link>https://github.com/kivy/buildozer.git</link>
cd git_directory_new_made

Now in terminal go to root :

sudo su
enter password:your password here

python3 setup.py install

Go out of terminal and then reopen it.

Upvotes: 1

JR_
JR_

Reputation: 64

it is already an older thread but, try this, if you have the problem today either. Just simply tiping this in the terminal..

git clone https://github.com/kivy/buildozer

cd buildozer

python setup.py build

sudo pip install -e .

and now u can type->

buildozer init

etc..

p.s. sorry for my English :D <3

Upvotes: 4

Related Questions