python3.9 + matplotlib Does not call import in . py

Asked

Viewed 28 times

0

So ... python version 3.9.1 did a Pip install matplotlib and ran smoothly, despite questions with previous installation errors. It turns out that :

import numpy as np 
import math 
import matplotlib as npl 

You’re making the mistake of not finding the module, even though Pip worked. Tb happens for Django not to find the modules...

What could it be? Thank you

  • You must be installing at the project level and not at the global level, that is, libraries should be available for another project of yours and not the current one.

  • After installing the programming language, take a look to see if the libraries you want to use are properly on your PC

  • ah ... this is a good tip and I did a Pip install inside my activated venv

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.