p4a: command not found

437 views
Skip to first unread message

ryzh

unread,
Jul 18, 2016, 8:02:25 AM7/18/16
to Kivy users support
Hi guys. I'm new to python-for-android. Currently I'm learning how to use this tool, and sadly, I'm stuck at the very first step.

I tried to install p4a with pip on my ubuntu 16.04 system following the instructions, but just can't get the 'p4a' command working.

I ran:

>pip install python-for-android

and got the replied:
"Requirement already satisfied (use --upgrade to upgrade): python-for-android in ./.local/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): six in ./.local/lib/python2.7/site-packages (from python-for-android)
Requirement already satisfied (use --upgrade to upgrade): sh>=1.10 in ./.local/lib/python2.7/site-packages (from python-for-android)
Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from python-for-android)
Requirement already satisfied (use --upgrade to upgrade): jinja2 in ./.local/lib/python2.7/site-packages (from python-for-android)
Requirement already satisfied (use --upgrade to upgrade): appdirs in ./.local/lib/python2.7/site-packages (from python-for-android)
Requirement already satisfied (use --upgrade to upgrade): colorama>=0.3.3 in ./.local/lib/python2.7/site-packages (from python-for-android)
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in ./.local/lib/python2.7/site-packages (from jinja2->python-for-android)"

Looks like everything's satisfied.

But when I type: 

> p4a 

I got:
No command 'p4a' found, did you mean:
 Command 'pua' from package 'pglistener' (universe)
 Command 'p4v' from package 'p4vasp' (universe)
 Command 'pda' from package 'speech-tools' (universe)
 Command 'po4a' from package 'po4a' (universe)
 Command 'pia' from package 'pia' (universe)
 Command 'pca' from package 'eigensoft' (multiverse)
 Command 'poa' from package 'poa' (universe)
p4a: command not found

Then I tried:

>python-for-android
python-for-android: command not found

Looks like a very basic problem but I couldn't find any solution on the internet. Can anyone please tell me what I am missing?

ryzh

unread,
Jul 18, 2016, 8:06:38 AM7/18/16
to Kivy users support
Got it. I uninstalled p4a and reinstalled it with sudo, and it's working now.
Reply all
Reply to author
Forward
0 new messages