Sunsetting Python 2 Support in January 2020

Skip to first unread message

Martin Wicke

Oct 5, 2018, 6:42:56 PM10/5/18
to, TensorFlow Developers
The developers of the Python language will cease supporting Python 2.7 on January 1, 2020. Many of TensorFlow's Python dependencies will similarly stop supporting Python 2 on this date, and some even before (see

Therefore, the TensorFlow project will stop supporting Python 2 when upstream support ends in 2020. After January 1, 2020, we will not distribute binaries for Python 2, and we will not require Python 2 compatibility for changes to the codebase. It is likely that TensorFlow will not work with Python 2 in 2020 and beyond. 

This will allow us to simplify our code and take advantage of new features in the current version of the Python language and standard library.

On behalf of the TensorFlow team,
Reply all
Reply to author
0 new messages