I'm trying to build a Deep Q Learning code for CartPole-v1 game. However I encounter an AssertionError:
AssertionError: Duplicate registrations for type 'experimentalOptimizer'
Some of the stacktrace is shown below:

I upgraded TensorFlow but it didn't work. What should I do to fix it?
System Details
- Windows OS
- Spyder IDE
- Anaconda 3 (base environment)