embeddedart / embeddedart.github.io

Embedded Art website https://www.embeddedart.in
0 stars 0 forks source link

python virtual environment command #12

Open embeddedart opened 2 years ago

embeddedart commented 2 years ago

raspberry pi

Open Terminal / BASH
Create a folder for your project (mkdir folder_name)
Navigate to the project folder (cd folder_name)
Create the virtual environment (python3 -m venv ./venv)
Activate the virtual environment (source ./venv/bin/activate)
embeddedart commented 2 years ago

windows

Create the virtual environment (python -m venv venv) Activate the virtual environment (venv\Scripts\activate)

embeddedart commented 2 years ago

to deactivate virtual envirnment

type (deactivate ) in command prompt

embeddedart commented 2 years ago

python pip install --upgrade pip --user