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
Post a Comment