Ubuntu/Python/3.14: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Dependency: | |||
sudo apt install software-properties-common | |||
Add Deadsnakes and install python 3.14 | Add Deadsnakes and install python 3.14 | ||
sudo add-apt-repository ppa:deadsnakes/ppa | sudo add-apt-repository ppa:deadsnakes/ppa | ||
| Line 6: | Line 9: | ||
python3.14 --version | python3.14 --version | ||
For development, virtuan env | For development, virtuan env | ||
sudo apt install python3.14-dev python3.14-venv | sudo apt install python3.14-dev python3.14-venv | ||
For a more complete installation including the Tkinter IDE and other utilities, you can use: | For a more complete installation including the Tkinter IDE and other utilities, you can use: | ||
sudo apt install python3.14-full | sudo apt install python3.14-full | ||
Pip: | |||
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.14 | |||
python3.14 -m pip install pip --upgrade | |||
python3.14 -m pip --version | |||
python3.14 -m pip list | |||
venv: (requires pip) | |||
python3.14 -m venv -h | |||
# check if pip is working | |||
python3.14 -m ensurepip | |||
# /usr/bin/python3.14: No module named ensurepip | |||
# if this fails with the above, install pip and python3.14-venv ^ | |||
cd ~ ; rm -rf .test-venv ; mkdir .test-venv ; cd .test-venv ; python3.14 -m venv venv | |||
Latest revision as of 23:04, 5 February 2026
Dependency:
sudo apt install software-properties-common
Add Deadsnakes and install python 3.14
sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install python3.14
python3.14 --version
For development, virtuan env
sudo apt install python3.14-dev python3.14-venv
For a more complete installation including the Tkinter IDE and other utilities, you can use:
sudo apt install python3.14-full
Pip:
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.14
python3.14 -m pip install pip --upgrade
python3.14 -m pip --version
python3.14 -m pip list
venv: (requires pip)
python3.14 -m venv -h
# check if pip is working python3.14 -m ensurepip # /usr/bin/python3.14: No module named ensurepip # if this fails with the above, install pip and python3.14-venv ^
cd ~ ; rm -rf .test-venv ; mkdir .test-venv ; cd .test-venv ; python3.14 -m venv venv