All -加载Smartsheet客户端时出现此错误,我根据要求加载了所有依赖项。我应该修复什么?
ImportError!无法加载api或模型类_ipython_canary_method_should_not_exist_ ImportError!无法加载api或模型类_ipython_canary_method_should_not_exist_ ImportError!无法加载api或模型类_ipython_canary_method_should_not_exist_ ImportError!无法加载api或模型类_ipython_canary_method_should_not_exist_ ImportError!无法加载api或模型类_ipython_canary_method_should_not_exist_ ImportError!无法加载api或模型类_ipython_canary_method_should_not_exist_ ImportError!无法加载api或模型类_ipython_canary_method_should_not_exist_ ImportError!无法加载api或模型类_ipython_canary_method_should_not_exist_ ImportError!无法加载api或模型类_ipython_canary_method_should_not_exist_ ImportError!无法加载api或模型类_ipython_canary_method_should_not_exist_ ImportError!无法加载api或模型类_ipython_canary_method_should_not_exist_
这也是我想要运行的(TOKEN #乱码)
import smartsheet
import logging
import os.path
access_token = 'TOKENNUMBER'
smartsheet_client = smartsheet.Smartsheet(access_token)
smartsheet_client.errors_as_exceptions(True)发布于 2019-07-20 03:41:52
代码工作正常,错误链接到ipython。
如果您直接在python shell中运行此代码,应该不会出现任何错误。如果可能的话,您可能应该避免使用ipython。有关此错误的更多信息,请参见https://stackoverflow.com/a/56317537/2320342
https://stackoverflow.com/questions/57118472
复制相似问题