Skip to content

Python Mismatch Errors

Scott Draves edited this page Oct 19, 2015 · 4 revisions

Beaker assumes that you install Python2 as your primary environment, and then install Python3 as a virtual environment inside of that, as documented on our Getting Started page.

If you install just Python3, and then you start Python2, you will get an error complaining about the mismatch in versions. You should run Python3 instead. This is as you would expect but there is a wrinkle which is Beaker's tutorials are written for Python2. Unfortunately there is no workaround, which is why we recommend installing Python2 first.

For more information about how to tell Beaker where to find the right version of Python, see our wiki.