xxxxxxxxxx
# For Linux/MacOS
$ wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tgz
$ tar -xzvf Python-3.11.0.tgz
$ cd Python-3.11.0
$ ./configure
$ make
$ sudo make install
# For Windows
1. Visit the Python official website: https://www.python.org/downloads/
2. Click on the "Download Python 3.11.0" button.
3. Run the downloaded installer and follow the installation wizard.
xxxxxxxxxx
# Update system packages
sudo apt update
# Install Python
sudo apt install python3.10
xxxxxxxxxx
import wget
# Specify the URL for downloading Python 3.9 for Windows
url = 'https://www.python.org/ftp/python/3.9.9/python-3.9.9-amd64.exe'
# Specify the local path where the file will be saved
local_path = 'python-3.9.9-amd64.exe'
# Download Python 3.9 installer for Windows
wget.download(url, local_path)
xxxxxxxxxx
#for install python3.11.1 on linux
wget https://www.python.org/ftp/python/3.11.1/Python-3.11.1.tar.xz
tar xvf Python-3.11.1.tar.xz
cd Python-3.11.1
./configure
make
sudo make install
#for install python3.11.1 on linux
wget https://www.python.org/ftp/python/3.11.1/Python-3.11.1.tar.xz
tabindex='0'>tar xvf Python-3.11.1.tar.xz
cd Python-3.11.1
./configure
make
sudo make install
xxxxxxxxxx
#for install python3.11.1 on linux
wget https://www.python.org/ftp/python/3.11.1/Python-3.11.1.tar.xz
tar xvf Python-3.11.1.tar.xz
cd Python-3.11.1
./configure
make
sudo make install