Cannot Import Matplotlib Into Python 3
I am attempting to teach myself programming and keep running into problems downloading modules I need for basic tutorials. My latest attempt has been to get the matplotlib module
Solution 1:
It may be possible that you actually installed the library for python 2. I would use pip to install the modules that you need. If you don't already have it installed, run this first command in the shell:
sudo apt-get install python3-pip
This program can be called with "pip3" or maybe "pip-3.2" in the shell.
To install mathplotlib with it, try running:
pip3 install matplotlib
or
pip-3.2 install matplotlib
That should install the Python 3 module for you.
Post a Comment for "Cannot Import Matplotlib Into Python 3"