I'm a beginner in programming. I made a script that allows me to create and export maps in a full automatize way in PyQGIS. My goal here with this API, is to add some data with the "siret" number on each maps.
But even before I could try to do that, I'm stuck after the installation of this API in a terminal. I'm following this site to help me.
As you can see, installation is fine :
C:\Users\Nathan>pip install api-insee
Requirement already satisfied: api-insee in c:\users\nathan\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (1.5)
So after that I'm going on PyQGIS, and write the script found in the same site as mentioned before (my consumer and secret keys are fine too) :
from api_insee import ApiInsee
api = ApiInsee(
key = # consummer key,
secret = # secret key
)
And you saw that coming, when I execute it, it's not working. The error message tells me that :
ModuleNotFoundError: No module named 'api_insee'
I'm absolutely don't know why I got this error. So I wonder, am I missing something?