Complete Python Local Setup Checklist: Python, pip, uv, venv, VS Code, Jupyter, Git, and Projects
Quick Answer
Your Python setup is complete when Python, pip, virtual environments, uv, your IDE, Jupyter, Git, and a clean project folder all point to the same environment.
Last verified: June 9, 2026.
Official Links
- Python downloads: https://www.python.org/downloads/
- pip docs: https://pip.pypa.io/en/stable/
- Python
venvdocs: https://docs.python.org/3/library/venv.html - uv docs: https://docs.astral.sh/uv/
- uv installation: https://docs.astral.sh/uv/getting-started/installation/
- VS Code download: https://code.visualstudio.com/Download
- VS Code Python extension: https://marketplace.visualstudio.com/items?itemName=ms-python.python
- Jupyter install: https://jupyter.org/install
- PyCharm download: https://www.jetbrains.com/pycharm/download/
- Git downloads: https://git-scm.com/downloads
- Homebrew: https://brew.sh/
1. Python Installed
Windows:
python --version
py --version
py -0p
pymanager help
pymanager list
where.exe python
where.exe py
where.exe pymanagerIf py list works on your machine, Python Install Manager owns py. If py list fails with a legacy launcher warning, use py -0p and pymanager list instead.
macOS:
python3 --version
which python3
echo $PATHExpected:
Python 3.14.5 or another current Python 3 releaseAcceptable fallback:
Python 3.13 if a package or course does not support 3.14 yet2. pip Working
Windows:
py -m pip --versionmacOS:
python3 -m pip --versionExpected:
pip ... from ... Python ...The exact version can change. The important part is that pip runs through the Python you expect.
3. Virtual Environment Working
Windows:
mkdir setup-check
cd setup-check
py -m venv .venv
.\.venv\Scripts\Activate.ps1
python -c "import sys; print(sys.executable)"macOS:
mkdir setup-check
cd setup-check
python3 -m venv .venv
source .venv/bin/activate
python -c "import sys; print(sys.executable)"Expected path contains:
.venv4. Package Install Working
Inside the activated environment:
python -m pip install requests
python -c "import requests; print(requests.__version__)"If this works, package installation is working.
5. requirements.txt Working
Create:
python -m pip freeze > requirements.txtReinstall:
python -m pip install -r requirements.txtYou should commit requirements.txt, not .venv.
6. uv Installed
Windows:
uv --version
where.exe uvmacOS:
uv --version
which uvIf uv is missing, install from:
https://docs.astral.sh/uv/getting-started/installation/Check Python management:
uv python list
uv python install 3.147. IDE Ready
Choose one:
- VS Code: https://code.visualstudio.com/Download
- PyCharm: https://www.jetbrains.com/pycharm/download/
VS Code required extensions:
- Python: https://marketplace.visualstudio.com/items?itemName=ms-python.python
- Jupyter: https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
IDE checklist:
- open the project folder, not only one file
- select the
.venvinterpreter - run a
.pyfile - verify
sys.executablepoints to.venv
Test file:
import sys
print("IDE is working")
print(sys.executable)8. Jupyter Ready
Inside .venv:
python -m pip install jupyterlab ipykernel
jupyter labIf jupyter lab fails:
python -m jupyterlabInside a notebook:
import sys
print(sys.executable)The path should contain .venv.
9. Git Ready
Install Git:
https://git-scm.com/downloadsCheck:
git --versionConfigure once:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"10. Project Folder Ready
Recommended structure:
my-python-project/
README.md
requirements.txt
.gitignore
src/
main.py
data/
tests/
.venv/.gitignore:
.venv/
__pycache__/
*.pyc
.env
.DS_Store
.ipynb_checkpoints/11. First Test Script
Create src/main.py:
import sys
try:
import requests
except ImportError:
print("Requests is not installed")
else:
print("Requests is installed")
print("Python executable:")
print(sys.executable)Run:
python src/main.pyExpected:
Requests is installed
Python executable:
... .venv ...12. Windows Master Checklist
python --version
py --version
py -0p
pymanager help
pymanager list
where.exe python
where.exe py
where.exe pymanager
py -m pip --version
py -3.14 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install requests
python -c "import sys; print(sys.executable)"
python -c "import requests; print(requests.__version__)"
uv --version
git --versionIf PowerShell blocks activation:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser13. macOS Master Checklist
python3 --version
python3 -m pip --version
which python3
echo $PATH
python3 -m venv .venv
source .venv/bin/activate
python -m pip install requests
python -c "import sys; print(sys.executable)"
python -c "import requests; print(requests.__version__)"
uv --version
which uv
git --versionIf a newly installed command is missing:
source ~/.zshrcor restart Terminal.
14. Which Setup Should You Choose?
| Learner goal | Recommended setup |
|---|---|
| Absolute beginner | Python from python.org, venv, pip, VS Code |
| Data science learner | Python, venv, pip, JupyterLab, VS Code |
| AI project learner | Python, uv, VS Code, Jupyter when needed |
| Backend or CLI learner | Python, uv or venv, Git, VS Code or PyCharm |
| Company laptop | Use company-approved Python and ask before changing PATH or proxy settings |
| Mac user with Homebrew already installed | Homebrew Python or python.org Python, but keep one clear project environment |
The best setup is not the one with the most tools. It is the one where terminal, IDE, and Jupyter all use the same project environment.
15. Copy-Paste Windows Setup Recipe
Use this after installing Python and VS Code.
Choose the first venv command based on the Python you want:
# Use the Python that `python` currently points to
python -m venv .venv
# Use Python 3.14 through legacy Python Launcher
py -3.14 -m venv .venv
# Use Python 3.14 through Python Install Manager
pymanager exec -V:3.14 -m venv .venvmkdir my-python-project
cd my-python-project
py -3.14 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install requests
mkdir src
Set-Content -Path src\main.py -Value 'import sys, requests; print("Python works"); print(sys.executable); print(requests.__version__)'
python src\main.py
python -m pip freeze > requirements.txtCreate .gitignore:
Set-Content -Path .gitignore -Value ".venv/`n__pycache__/`n*.pyc`n.env"Expected result:
Python works
... .venv ...
requests version16. Copy-Paste macOS Setup Recipe
Use this after installing Python and VS Code.
mkdir my-python-project
cd my-python-project
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install requests
mkdir -p src
cat > src/main.py <<'PY'
import sys
import requests
print("Python works")
print(sys.executable)
print(requests.__version__)
PY
python src/main.py
python -m pip freeze > requirements.txtCreate .gitignore:
cat > .gitignore <<'EOF'
.venv/
__pycache__/
*.pyc
.env
.DS_Store
EOFExpected result:
Python works
... .venv ...
requests version17. Network Or Company Laptop Checklist
If package installs fail on a school, office, or company laptop:
- confirm whether the network blocks PyPI
- ask for proxy settings if required
- ask for the company certificate file if SSL verification fails
- avoid
sudo pip - avoid random
--trusted-hostcommands - use
.venveven when the machine has a managed Python
18. What To Learn Next
After setup, learn in this order:
- Python variables and data types
- conditionals and loops
- functions
- lists, dictionaries, tuples, and sets
- file handling
- error handling
- pandas and NumPy
- projects
FAQ
How do I know my setup is truly correct?
Run sys.executable from terminal, IDE, and notebook. They should point to the environment you expect.
Should I use Python 3.14 or 3.13?
Use Python 3.14.5 or the latest stable version unless your package, course, or company requires 3.13.
Should I use VS Code or PyCharm?
Use VS Code for a flexible editor. Use PyCharm for a Python-first IDE. Either is fine if the interpreter is correct.
What is the most important habit?
Use one virtual environment per project and install packages into that environment.
Final Green Checklist
Your setup is complete when:
- Python command works
- pip works through Python
.venvactivates- package install works
requirements.txtcan recreate packages- uv works
- IDE uses
.venv - Jupyter kernel uses
.venv - Git works
- project folder is clean
.venvand.envare ignored
Keep this checklist nearby whenever you start a new machine or a new project.
