Python 2.7 instead of python 3 in terminal

When I loaded this course, in section 2, my terminal ran Python 2.7 instead of Python 3 after a long pause and a reload. This causes the opposite pair of example input programs to fail - the int input works fine and the str input fails. Not sure why, or if it’s a huge problem - Just letting you know!

Hello @elizabeth.wills,

Did you activate the Python 3 virtual environment? At the top of the Unit, you will find instructions on how to active it using the following command: source ~/.py3venv/bin/activate

Executing this command on your Web Shell will make sure that you use Python 3 when executing your scripts.


1 Like

Since I started halfway in the next day, I had forgotten to do so. Thanks!