Vs code: Difference between revisions

From wikiluntti
(Created page with "== Introduction == Python and virtual environment # Open a Python file # Check the Status Bar to see which environment is active # To switch environments, select the environment control in the Status Bar")
 
Line 5: Line 5:
# Check the Status Bar to see which environment is active
# Check the Status Bar to see which environment is active
# To switch environments, select the environment control in the Status Bar
# To switch environments, select the environment control in the Status Bar
Install packages
<code>
C:\Users\user\AppData\Local\Programs\Python\Python313\python.exe -m pip install --upgrade pip
pip install opencv2-python
</code>

Revision as of 12:57, 15 May 2026

Introduction

Python and virtual environment

  1. Open a Python file
  2. Check the Status Bar to see which environment is active
  3. To switch environments, select the environment control in the Status Bar

Install packages

C:\Users\user\AppData\Local\Programs\Python\Python313\python.exe -m pip install --upgrade pip pip install opencv2-python