Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Module not found error
#1
I want to run this code: https://matplotlib.org/examples/mplot3d/..._demo.html an I have this error:

from mpl_toolkits.mplot3d import Axes3D
ModuleNotFoundError: No module named 'mpl_toolkits'

How can I fix it?
Reply
#2
I've had the same on Ubuntu with python 3.6 and solved it with

Quote:pip3.6 install --user --upgrade matplotlib
pip3.6 install --user --upgrade numpy
sudo apt-get install python3.6-tk
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  No Module of this name found wookie 4 8,003 Oct-31-2018, 07:17 PM
Last Post: wookie

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020