The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

398608 (1) [Avatar] Offline
#1
Hello Dan,

Do we have to use python 3? Or, can we use the tutorials with python 2.7?

Thank you!

Rohit
430476 (6) [Avatar] Offline
#2
If you prefer to use Python 2, you can probably get away with it. There may be some subtle differences, mostly in the `print` function and some of the list comprehensions. TensorFlow/Theano and all dependencies should all be available for Python 2 as well, so that shouldn't be a problem. But once you install, it should be mostly the same.

That said, I developed the course using Python 3, so that's the only "officially" supported version. But if you run into specific problems where code doesn't work with Python 2, feel free to post on this forum and I'll take a look.