到目前为止,我已经在终端中运行了以下命令。(Ubuntu 18.04 64 位):
cd ~/Documents/python
sudo apt-get update
sudo apt-get install -y build-essential ccache git zlib1g-dev python2.7 python2.7-dev libncurses5:i386 libstdc++6:i386 zlib1g:i386 openjdk-8-jdk unzip ant ccache autoconf libtool
sudo apt install -y git zip unzip openjdk-8-jdk python3-pip autoconf libtool pkg-config zlib1g-dev libncurses5-dev libncursesw5-dev libtinfo5 cmake libffi-dev
pip3 install --upgrade cython virtualenv
pip3 install --user --upgrade buildozer
buildozer init
但后来我明白了
buildozer: command not found
为什么这不起作用?我读过类似的问题,该问题由于未安装某些依赖项而得到解决,但我认为我已经安装了所有推荐的依赖项。
谢谢
答案1
# add the following line at the end of your ~/.bashrc file
export PATH=$PATH:~/.local/bin/