realpython / realpython-blog

real python blog posts
https://realpython.com/blog/
200 stars 86 forks source link

"Python Virtual Environments - a Primer" has a misleading Stack Overflow link #36

Closed sersorrel closed 7 years ago

sersorrel commented 7 years ago

Under "Using virtual environments", the following paragraph can be found:

From here on out we’ll assume you’re using the newer pyvenv tool, since there are few differences between it and virtualenv with regard to the actual commands. In reality, though, they are very different tools.

The linked Stack Overflow question is about virtualenv and pyenv, not pyvenv, and so it's not relevant to this section.

(pyvenv and virtualenv are essentially the same, except pyvenv has to use fewer hacks in order to work.)

mjhea0 commented 7 years ago

Nice catch!

https://www.reddit.com/r/learnpython/comments/4hsudz/pyvenv_vs_virtualenv/

better?

sersorrel commented 7 years ago

Looks good to me! That's actually one of the resources I found when I was trying to work out the difference myself :)

mjhea0 commented 7 years ago

Updated. Thanks again!