Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdk问题 #393

Open
oceaneys opened this issue Mar 5, 2021 · 3 comments
Open

sdk问题 #393

oceaneys opened this issue Mar 5, 2021 · 3 comments

Comments

@oceaneys
Copy link

oceaneys commented Mar 5, 2021

  1. alibabacloud_aas20150701.client中有代码from Tea.core import TeaCore
    可以通过pip install Tea, 但是安装后是tea而不是Tea,运行时依赖报错。
    当然,手工把包名tea修改成Tea之后,不再报错
    这里需要确认下pip下在的tea和代码中的Tea是不是一个茶,标准怎么定?

  2. 在调用get_session_info_by_ticket时报错:
    image

@xiaofeige
Copy link

垃圾sdk, 不知道Tea包到底是哪个,文档里面写的需要安装的依赖根本装不上Tea

@Cherrymelon
Copy link

确实十分抽象,原来别人之前说远离阿里,不然会变得不幸,居然是真的
可能的解决办法,卸载 python 自带的 tea 包
pip uninstall tea

安装阿里的破包
pip install alibabacloud-tea
现在应该能够成功运行了

@bingobird
Copy link

"但是安装后是tea而不是Tea,运行时依赖报错。
当然,手工把包名tea修改成Tea之后,不再报错"--同样碰到了,SDK写得太烂了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants