macOS Catalina 10.15.4
PyCharm 2019.3.2 (Community Edition)
I used the most updated tensorflow 2.1.0 to run comes with below error:
module 'tensorflow_core._api.v2.config' has no attribute 'experimental_list_devices'
Then I downgrade to tensorflow 2.0.0 everything is good.