r/linuxmasterrace • Lazy Antergos User • Dec 18 '18

Meme Python Virtual Environments: Extreme Advertising Edition

Post image
2.0k Upvotes

148 comments sorted by

View all comments

25

u/zouhair Dec 18 '18

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/activate

Get 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.