首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Python for Smartsheet -获取_ipython_canary_method_should_not_exist_

Python for Smartsheet -获取_ipython_canary_method_should_not_exist_
EN

Stack Overflow用户
提问于 2019-07-20 03:15:20
回答 1查看 445关注 0票数 1

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 #乱码)

代码语言:javascript
复制
import smartsheet
import logging
import os.path


access_token = 'TOKENNUMBER'
smartsheet_client = smartsheet.Smartsheet(access_token)
smartsheet_client.errors_as_exceptions(True)
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-07-20 03:41:52

代码工作正常,错误链接到ipython

如果您直接在python shell中运行此代码,应该不会出现任何错误。如果可能的话,您可能应该避免使用ipython。有关此错误的更多信息,请参见https://stackoverflow.com/a/56317537/2320342

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57118472

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档