VSCode: "matplotlib" is not accessedPylance on Mac

30 Views Asked by At

When importing any module (matplotlib, geopandas, numpy, pysal, etc.) I get the message of "matplotlib" is not accessed Pylance

I have read other posts saying you need to direct VSCode to your interpreter, but my codespace is already directed at the interpreter that has the packages downloaded. ~anaconda3/bin/python3.11

But I still get the error where any module is not imported even though I have directed it at the proper interpreter.

Thank you

I have directed it at the interpreter many times and even tried switching interpreters and then reloading the page and nothing changes.

0

There are 0 best solutions below