How to downgrade Python from 3.7 to 3.5 in Anaconda

Viewed 60673

I've been trying to downgrade the version of Python in Anaconda as it doesn't support TensorFlow and I get the following error(s):

screenshot of the error

2 Answers

From your error output it is clear there is a dependency conflict:
backports.os requires python 2.7.

Simply uninstall backports.os like this: conda uninstall backports.os
And then downgrade Python: conda install python=3.5

The fact that you're on Python 3.7, but backports.os is still requiring Python 2.7 is proof something has gone wrong with your setup. If you still require backports.os, simply reinstall it when Python is downgraded: conda install backports.os.

Related