Difference between revisions of "Python Environment Setup"

From rbachwiki
Jump to navigation Jump to search
Line 2: Line 2:
*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 <code>.venv_pc </code>in your project. Your existing Mac folder (e.g., .venv or .venv_mac) will remain completely untouched.

Revision as of 16:18, 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.