installing on python

I am attempting to use Algolia’s Api client on python. I am installing using

pip install algoliasearch --user

And don’t get any errors here. However, on my python file, I import it using

from algoliasearch import algoliasearch 

And getting. failure

Import "algoliasearch" could not be resolved

I have done this several times, not sure why it’s not working (have tried npm and pip install - on mac)

And it shows up under pip list

algoliasearch                          2.6.1