我在Mac上使用Ubuntu VM。
现在,当我尝试使用Buildozer构建应用程序时。我还建立了规范文件。安装开始下载适用于Android的各种软件包。
后来,我遇到了以下错误
FileNotFoundError: [Errno 2] No such file or directory: '/home/kk/pho-app/venv/lib/python2.7/UserDict.py'
看起来像它试图构建Venv,在那里找不到所需的文件。我的机器上没有Python 2.7。构建本身试图建立一个虚拟环境,但缺少这些文件。
下面是当前的Python设置
kk@kk-VirtualBox:~$ python
Command 'python' not found, but can be installed with:
sudo apt install python3
sudo apt install python
sudo apt install python-minimal
You also have python3 installed, you can run 'python3' instead.
kk@kk-VirtualBox:~$ python3
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
我该如何进行?