I can not import the from mpl_toolkits.mplot3D import Axes3D
When i tried to import the mpl_toolkits I got this error:
ModuleNotFoundError Traceback (most recent call last)
Cell In [2], line 6
4 import matplotlib.pyplot as plt
5 import tensorflow as tf
----> 6 from mpl_toolkits.mplot3D import Axes3D
ModuleNotFoundError: No module named 'mpl_toolkits.mplot3D'
2 answers ( 0 marked as helpful)
I have the same problem. Were you able to fix the issue?
You can try pip install matplotlib beofre you run the code. I think since we had installed tensorflow in a new environment, some of the other modules need to be installed again.