Live data from Hacker News

Show HN: A virtual machine designed for programming workshops

github.com

1–9 of 9 posts

Re: Show HN: A virtual machine designed for programming workshops

#3

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.

Re: Show HN: A virtual machine designed for programming workshops

#4
post #3

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.

Re: Show HN: A virtual machine designed for programming workshops

#9

Why Python 2 over Python 3?

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.