virtualenv "Not found"

Hi,

I have setup a virtualenv with success on my FreeBSD with this command:

virtualenv -p /usr/local/bin/python3 venv

But when i want to activate the virtual environement with this command:

source venv/bin/activate

I obtain this response form terminal: /bin/sh: source: not found

An idea of this problem ?

Thx
 
The source command doesn't exist with FreeBSD's sh(1). The script probably assumes you're running bash(1) in compatibility mode.
 
Right on money:beer:! Bashism are pissing me off so badly. Net is full of Bash crap. Besides the fact that it is broken, Bash is security nightmare.
And despite everything there are still a lot of ports that unfortunately depend on it, directly (195 actually) or not. Fortunately, I was able to use alternatives to such programs, and got rid of bash (I hope) definitively.
 
  • Thanks
Reactions: Oko
Back
Top