jpadilla / juicebox

A virtual machine designed for programming workshops.

Home Page:http://jpadilla.github.io/juicebox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python 3

jpadilla opened this issue · comments

Lots of inquiries to why Python 2 over Python 3. Might just install both next to each other and provide some aliases like mkvirtualenv2.7 and mkvirtualenv3.3.

If anyone has a better setup for development with both versions, ideas are welcome.

This is what I do

function mkvirtualenv2() {
    mkvirtualenv $1 --python=/usr/local/bin/python
}

function mkvirtualenv3() {
    mkvirtualenv $1 --python=/usr/local/bin/python3
}

function mkvirtualenvpypy() {
    mkvirtualenv $1 --python=/usr/local/bin/pypy
}

A couple of people also suggested https://github.com/yyuu/pyenv