Difference between revisions of "Python Environment Setup"

From rbachwiki
Jump to navigation Jump to search
(Created page with "==Create the Environment with a Unique Name== *Instead of the generic .venv, give your Windows environment a name that clearly identifies it. In your project's root terminal, run: python -m venv .venv_pc *This creates a new folder named .venv_pc in your project. Your existing Mac folder (e.g., .venv or .venv_mac) will remain completely untouched.")
 
Line 1: Line 1:
==Create the Environment with a Unique Name==
==Create the Environment with a Unique Name==
*Instead of the generic .venv, give your Windows environment a name that clearly identifies it. In your project's root terminal, run:
*Instead of the generic .venv, give your Windows environment a name that clearly identifies it. In your project's root terminal, run:
python -m venv .venv_pc  
python -m venv .venv_pc  
*This creates a new folder named .venv_pc in your project. Your existing Mac folder (e.g., .venv or .venv_mac) will remain completely untouched.
*This creates a new folder named .venv_pc in your project. Your existing Mac folder (e.g., .venv or .venv_mac) will remain completely untouched.

Revision as of 16:03, 5 January 2026

Create the Environment with a Unique Name

  • Instead of the generic .venv, give your Windows environment a name that clearly identifies it. In your project's root terminal, run:
python -m venv .venv_pc 
  • This creates a new folder named .venv_pc in your project. Your existing Mac folder (e.g., .venv or .venv_mac) will remain completely untouched.