https://stackoverflow.com/questions/47550633/import-axes3d-issues $ sudo apt-get remove python3-matplotlib $ sudo pip3 install matplotib.