How to get virtualenv to work with fish shell -


i'm trying virtualenv work fish shell. have virtualenv installed , works fine bash , zsh. however, running following command returns fish: unknown command 'source':

$ source ~/path/to/bin/activate 

does know how virtualenv , fish shell work together. in advance.

you don't need activate use virtualenv convenience. can use virtualenv directly:

virtualenv venv ./venv/bin/pip install foo 

have tried fish using:

. venv/bin/activate.fish 

it isn't used bash may have issues - looking @ commit history shows recent fix:

https://github.com/pypa/virtualenv/commits/develop/virtualenv_embedded/activate.fish


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -