Friday, June 25, 2021

ubuntu python 2

 _ctypes
sudo apt install libffi-dev

install python 3.9
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.9 python3.9-venv python3.9-dev

change python default version 3.9
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.9 2
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 3
sudo update-alternatives --config python

software -> download pycharm ->  setting -> interpreter -> venv interpreter python 3.9

 Cython
 pycharm terminal -> pip install Cython

python-ctypes
sudo apt-get update -y
sudo apt-get install -y python-ctypes
https://zoomadmin.com/HowToInstall/UbuntuPackage/python-ctypes

distutils.util
sudo apt-get install python3-distutils
sudo apt-get install python3-apt
https://askubuntu.com/questions/1239829/modulenotfounderror-no-module-named-distutils-util

buildozer
sudo pip install buildozer

buildozer init

zlib headers
sudo apt-get install zlib1g-dev

git
sudo apt install git


javac
sudo apt-get install openjdk-8-jdk

make
sudo apt install make

autoreconf
sudo apt-get install autoconf
sudo apt-get install dh-autoreconf

buildozer android debug

No comments:

Post a Comment