Installing setuptools on Python

4 views
Skip to first unread message

Andrew Thornett

unread,
Dec 28, 2025, 3:03:38 PM (9 hours ago) Dec 28
to 'Stephen Arbogast' via Society of Amateur Radio Astronomers

To install setuptools in Python, use one of the methods below depending on what’s already available on your system.

Note latest Ubuntu versions are demanding virtual environments are used for many purposes.

I got follow8ng instructions on ChatGPT.

Andy 


✅ Recommended (using pip)

Most Python installations already include pip.

python -m pip install --upgrade setuptools

Or, if python points to Python 2 on your system:

python3 -m pip install --upgrade setuptools

To verify installation:

python -c "import setuptools; print(setuptools.__version__)"



🐧 On Linux (system package manager)

Debian / Ubuntu

sudo apt update sudo apt install python3-setuptools

Fedora

sudo dnf install python3-setuptools

Arch

sudo pacman -S python-setuptools

🪟 On Windows

py -m pip install --upgrade setuptools

Make sure Python is added to your PATH.


🧪 Virtual environments (best practice)

If you’re using a venv:

python -m venv venv source venv/bin/activate      # Linux/macOS venv\Scripts\activate         # Windows pip install --upgrade setuptools



Reply all
Reply to author
Forward
0 new messages