This guide covers all installation methods for pyvm-updater.
- Python 3.9 or higher
- pip package manager
- Internet connection
- Admin/sudo privileges (for some installation methods)
pip install --user pyvm-updatergit clone https://github.com/shreyasmene06/pyvm-updater.git
cd pyvm-updater
pip install --user .This installs the package in your user directory without requiring admin privileges.
pip install --user pyvm-updaterpipx installs Python applications in isolated environments.
# Install pipx if not already installed
sudo apt install pipx # Ubuntu/Debian
brew install pipx # macOS
# Install pyvm-updater
pipx install pyvm-updater
# Ensure PATH is configured
pipx ensurepath# Create virtual environment
python3 -m venv pyvm-env
source pyvm-env/bin/activate
# Install
pip install pyvm-updatersudo pip install pyvm-updaterFor contributors and developers:
git clone https://github.com/shreyasmene06/pyvm-updater.git
cd pyvm-updater
pip install -e ".[dev]"Run the requirements checker before installation:
python3 check_requirements.pyThis verifies:
- Python version compatibility
- pip installation
- Internet connectivity
- Operating system support
- Installation permissions
On Ubuntu 23.04+ and Debian 12+, the system Python is protected. Use one of these approaches:
# Option 1: User install
pip install --user pyvm-updater
# Option 2: Use pipx
sudo apt install pipx
pipx install pyvm-updater
# Option 3: Virtual environment
python3 -m venv ~/.local/pyvm-env
~/.local/pyvm-env/bin/pip install pyvm-updaterpip install --user pyvm-updaterpip3 install --user pyvm-updaterIf you have Homebrew:
brew install pipx
pipx install pyvm-updaterpip install pyvm-updaterIf you encounter permission issues, try:
pip install --user pyvm-updaterAfter installation, verify pyvm is working:
# Check version
pyvm --version
# Check Python version
pyvm check
# Show help
pyvm --helpIf pyvm command is not found after installation, add the installation directory to your PATH.
Add to ~/.bashrc or ~/.zshrc:
export PATH="$HOME/.local/bin:$PATH"Then reload:
source ~/.bashrc # or source ~/.zshrcAdd to PATH via System Properties:
- Open System Properties > Advanced > Environment Variables
- Under User variables, edit PATH
- Add:
%APPDATA%\Python\Python3XX\Scripts
pip install --upgrade pyvm-updatercd pyvm-updater
git pull
pip install --upgrade .pip uninstall pyvm-updaterThe following packages are automatically installed:
| Package | Purpose |
|---|---|
| requests | HTTP requests for downloading |
| beautifulsoup4 | HTML parsing for python.org |
| packaging | Version comparison |
| click | CLI framework |
| textual | Terminal UI framework |
This occurs on newer Linux systems. Solutions:
# Use user install
pip install --user pyvm-updater
# Or use pipx
pipx install pyvm-updaterThe installation directory is not in PATH. See PATH Configuration section above.
Use --user flag or run with sudo:
pip install --user pyvm-updater
# or
sudo pip install pyvm-updaterReinstall with dependencies:
pip install --user --force-reinstall pyvm-updaterUpdate pip and certificates:
pip install --upgrade pip certifipyvm works with Anaconda but installs Python to the system, not your Anaconda environment.
# Install using pip (not conda)
pip install --user pyvm-updaterAfter updating Python with pyvm:
# Your Anaconda Python (unchanged)
python --version
# System Python updated by pyvm
python3.12 --versionTo use the updated Python:
- Use it directly:
python3.12 your_script.py - Create a virtual environment:
python3.12 -m venv myenv - Continue using Anaconda for your data science work
After successful installation:
- Run
pyvm checkto see your Python version status - Run
pyvm listto see available Python versions - Run
pyvm tuito explore the interactive interface - See QUICKSTART.md for usage examples