Settings

Theme

Show HN: A virtual machine designed for programming workshops

github.com

64 points by jpdlla · 8 comments

Reader

3 threads
voltagex_

Why Python 2 over Python 3?

  • jpdllaOP

    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.

    • Alex3917

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

  • travjones

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

    • hobarrera

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

ridruejo

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 :)

mitchi

Are there more of these with more languages and tools?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection