-
Notifications
You must be signed in to change notification settings - Fork 81
"ImportError! Could not load api or model class shape" using 3.7.12 and 3.8.12 #171
Comments
Same issue, any luck? |
@mnissman Can you provide the exception traceback for this? |
@RCoff, @andrewtmendoza Thanks for your interest. The error seems to be IDE related (I'm using pyCharm) and does not occur in Python shell. In the IDE, upon initialization of the smartsheet client in my originally posted code, I get the error below printed. Any subsequent calls through the client have the same printed error. However, the code is still running and returning corrrect results as far as I can tell.
I tried suppressing the error but it does nothing. I guess it is more of an annoyance now that I figured out the code is actually returning the right results and is only IDE related.
|
I see now! I have also ran into this issue frequently when using the PyCharm debugger. According to this SO article, the issue is related to ipython: https://stackoverflow.com/questions/57118472/python-for-smartsheet-getting-ipython-canary-method-should-not-exist To mitigate this, I usually disable logging for the Smartsheet library.
|
I am not able to get smartsheet-python-sdk latest version (2.105.1) to work with python version 3.7.12 or 3.8.12. The following intro code give me the error "ImportError! Could not load api or model class shape". access_token created through my smartsheet account and defined in the environment.
I see the package lists support for 3.6. My Mac running Big Sur on Intel chip doesn't support 3.6. I would be very happy to be able to use the package. Is there any intention to add support for newer python versions, especially since 3.6 is reaching EOL at the end of 2021?
Thanks.
The text was updated successfully, but these errors were encountered: