Vs code: Difference between revisions
From wikiluntti
| Line 15: | Line 15: | ||
<code> | <code> | ||
C:\Users\user\AppData\Local\Programs\Python\Python313\python.exe -m pip install --upgrade pip | C:\Users\user\AppData\Local\Programs\Python\Python313\python.exe -m pip install --upgrade pip | ||
</code> | |||
<code> | <code> | ||
pip install opencv2-python | pip install opencv2-python | ||
</code> | </code> | ||
Revision as of 12:59, 15 May 2026
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
Python works on
C:\Users\user\AppData\Local\Programs\Python\Python313\python.exe
Install packages
C:\Users\user\AppData\Local\Programs\Python\Python313\python.exe -m pip install --upgrade pip
pip install opencv2-python