MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/8fztrr/xkcd_python_environment/dy8wy30/?context=3
r/Python • u/themonsterpus • Apr 30 '18
388 comments sorted by
View all comments
47
My setup on macOS
Install Python via packages at Python.org. (Using Homebrew for this never made sense to me.)
Every project has its own virtualenv.
I don’t recall ever needing sudo. I’ve never had any of the issues described in the comic.
1 u/ameoba May 01 '18 Fixing Python dependency issues by giving every app a virtualenv is like fixing Windows DLL Hell by giving every program it's own complete set of shared libraries. 3 u/ccb621 May 01 '18 That’s exactly what virtualenv, bundler, and npm do. What is the problem you see with this solution? How would you solve the problem?
1
Fixing Python dependency issues by giving every app a virtualenv is like fixing Windows DLL Hell by giving every program it's own complete set of shared libraries.
3 u/ccb621 May 01 '18 That’s exactly what virtualenv, bundler, and npm do. What is the problem you see with this solution? How would you solve the problem?
3
That’s exactly what virtualenv, bundler, and npm do. What is the problem you see with this solution? How would you solve the problem?
47
u/ccb621 Apr 30 '18
My setup on macOS
Install Python via packages at Python.org. (Using Homebrew for this never made sense to me.)
Every project has its own virtualenv.
I don’t recall ever needing sudo. I’ve never had any of the issues described in the comic.