How to activate virtualenv in Fish


The typical method to activate a virtualenv is:

$ source your_env_name/bin/activate

This fails in Fish shell:

source: Error while reading file β€œyour_env_name/bin/activate”


Thankfully, virtualenv ships with an activation script for Fish. Use that instead:

$ source your_env_name/bin/

Tried with: Ubuntu 14.04

One thought on “How to activate virtualenv in Fish

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.