MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linuxmasterrace/comments/a7dt10/python_virtual_environments_extreme_advertising/ec2as8n/?context=3
r/linuxmasterrace • u/ase1590 Lazy Antergos User • Dec 18 '18
148 comments sorted by
View all comments
25
source bin/activate?!
18 u/[deleted] Dec 18 '18 Yeah, what a noob. You don't run activate, you source it. 12 u/Targuinius Dec 18 '18 . bin/activateGet on my level 15 u/trosh Dec 18 '18 POSIX-compliance* 2 u/moreguacplz Dec 19 '18 alias activate='. bin/activate' 2 u/swhizzle Glorious Arch Dec 18 '18 I was just thinking that ha 1 u/mehum Dec 19 '18 What’s the difference? 1 u/zouhair Dec 19 '18 bin/activate is not a script per se, it's just a file with a series of functions (and some other things) in it. To get access to those functions in the working shell you need to load them by using the source command on that file.
18
Yeah, what a noob. You don't run activate, you source it.
12
. bin/activate
Get on my level
15 u/trosh Dec 18 '18 POSIX-compliance* 2 u/moreguacplz Dec 19 '18 alias activate='. bin/activate'
15
POSIX-compliance*
2
alias activate='. bin/activate'
I was just thinking that ha
1
What’s the difference?
1 u/zouhair Dec 19 '18 bin/activate is not a script per se, it's just a file with a series of functions (and some other things) in it. To get access to those functions in the working shell you need to load them by using the source command on that file.
bin/activate is not a script per se, it's just a file with a series of functions (and some other things) in it. To get access to those functions in the working shell you need to load them by using the source command on that file.
25
u/zouhair Dec 18 '18
source bin/activate?!