Monday, February 10, 2025

Virtual Environment in VS Code

 In Powershell/cmd terminal of VS Code type the following:

  • python -m venv name [ name = name for yoyr vitrual environment]
For activation
  • name\Scripts\activate [(name) will appera before the folder path once the environment is activated]
Install packages in venv
  • pip install package_name [package_name= numpy, pandas, matplotlib]

No comments:

Post a Comment