How to activate Python venv on a Mac?

> brew install python@3.9
> python -V
python3.9 -m pip install --user --upgrade pip
python3.9 -m pip install --user virtualenv

Create your virtual environment

python3.9 -m venv venv

Activating your virtual environment

source venv/bin/activate

--

--

--

Lead QA Engineer @plerion | stockMarket Lover!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Collaborative database development with Spawn

Header Bidding 101: Client-Side Vs Server-Side

Uses Of Break, Pass, and Continue

Pre-Optimization is A Killer of Software Delivery

The root of all innovation is creativity. However, we can sometimes squelch creativity if we overthink things.

How to Run Serverless Deployments Inside of Kubernetes

Must have for a back-end engineer

Why FMCG Leaders Bet Big on eCommerce?

Instantly starting Spring Boot Java Containers for scale to zero benefits

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Manzeel Uprety

Manzeel Uprety

Lead QA Engineer @plerion | stockMarket Lover!

More from Medium

Django 3 & Channels 3 low throughput and what can you do about it ?

Basic git commands: Learn how to use git.

Top 5 Most Popular Backend Framework for 2022

VSCode GitHub plung-in issue