Skip to content

Show HN: A virtual machine designed for programming workshops

github.com/jpadilla
64 pointsjpdlla7 comments
On HN

Comments

Why Python 2 over Python 3?

I felt like if I installed Python 3 I'd still need Python 2 around. Didn't have a solid setup for supporting both and still being able to use virtualenvwrapper et al. I think I can just wrap some aliases like mkvirtualenv2.7 and mkvirtualenv3.3. Any better ideas are welcome.

How about pyenv (not to be confused with pyvenv), and pyenv-virtualenv? They are designed for solving this problem.

The decision seems reasonable to me. One could use virtualenv (included in the VM) to spin up a virtual python 3 environment when necessary.

virtualenv (for python3) requires python3 already installed, so virtualenv solves nothing in this scenario.

If you want to do the same but with native installers, here is a good collection https://bitnami.com/stacks/infrastructure

(disclaimer, I am one of the cofounders :)

Are there more of these with more languages and tools?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.