News for hackers. Stuff that matters.
Re:Python 3.11 by i_like_apis on Sunday October 03, 2021 @10:09PM (#28742283)
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-virtualenv

Re:Python 3.11 by nomel on Monday October 04, 2021 @12:03AM (#28742933)
For me, pyenv on Mac is about 15 minute compile time with a bunch of environment variables required to make sure tkinter works properly.
Re:Python 3.11 by uranusjr on Monday October 04, 2021 @02:18AM (#28743628)
The 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).
Re:Python 3.11 by stonecharioteer on Monday October 04, 2021 @02:07PM (#28750226)
Use miniconda. It's much better.
Re:Python 3.11 by nomel on Monday October 04, 2021 @10:44PM (#28754941)
The licensing is not compatible with my companies legal team.
Re:Python 3.11 by heavyset_go on Monday October 04, 2021 @02:19AM (#28743642)

    brew install pyenv
Re:Python 3.11 by rlayton2 on Monday October 04, 2021 @03:06AM (#28743945)
Anaconda 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.