3 ms·
4 hours? Yeesh. Here's how to do it in 5-10 minutes. Use pyenv to install any python version and pyenv-virtualenv to manage virutal environments. https://gith
by i_like_apis 5y ago
4 hours? Yeesh. Here's how to do it in 5-10 minutes.
Use pyenv to install any python version and pyenv-virtualenv to manage virutal environments.
https://github.com/pyenv/pyenv https://github.com/pyenv/pyenv
https://github.com/pyenv/pyenv-virtualenv https://github.com/pyenv/pyenv-virtualenv
- nomel 5y agoFor me, pyenv on Mac is about 15 minute compile time with a bunch of environment variables required to make sure tkinter works properly.
- heavyset_go 5y agobrew install pyenv
- uranusjr 5y agoThe compile time depends largely on dependencies. If you have OpenSSL, zlib, and whatnot pre-installed (either via Homebrew or self-compiled and specified with environment variables), the compile time is close to 5 minutes. If you don’t, by default pyenv (actually python-build) compiles all those from scratch, and can easily spend north of 20 minutes (mostly for OpenSSL).
- stonecharioteer 5y agoUse miniconda. It's much better.
- nomel 5y agoThe licensing is not compatible with my companies legal team.
- rlayton2 5y agoAnaconda is also great for beginners - GUI, lots of normal packages precompiled (also numpy, scipy, pandas, scikit-learn). If you do the full install, it comes with lots of packages pre-loaded.