Skip to main content

Command Palette

Search for a command to run...

Python venv with fish shell

Updated
•1 min read•View as Markdown
Python venv with fish shell

These commands can be used to create virtualenv with bash or zsh

virtualenv -p $(which python3) .env
source .env/bin/activate
pip install -r requirements.txt

to do the same in fish you can use these:

# Create
virtualenv venv
# Activate
. venv/bin/activate.fish
# install requirements
./venv/bin/pip install -r requirements.txt

More from this blog

B

bmax

25 posts