1

I have installed the smartsheet python sdk with pip3 install smartsheet-python-sdk (using Python 3.10.5). I believe it was successful because if I do it again, or even try to upgrade, I see "Requirement already satisfied" for all the requirements. Still, import smartsheet cannot be resolved by Pylance. I have also already set the access token and initialized the client.

Any suggestions on where to go from here?

1 Answers1

0

I'm no Python expert, but a minute of Googling (search phrase = import cannot be resolved by pylance) shows lots of info about others having this issue (not with the Smartsheet SDK specifically, but with other packages). I'd suspect this is a generic VS(Code) / Python config issue, not a problem with the Smartsheet SDK.

In particular, the answers described in these fairly recent Stack Overflow posts seem promising:

Kim Brandl
  • 13,125
  • 2
  • 16
  • 21