batch computing 批量计算登录报错,帮忙看下啊,谢谢!-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

batch computing 批量计算登录报错,帮忙看下啊,谢谢!

yhmew 2017-11-23 15:07:20 1440

Traceback (most recent call last):
File "/usr/local/bin/bcs", line 9, in

load_entry_point('batchcompute-cli==1.5.6', 'console_scripts', 'bcs')()

File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_en try_point

return get_distribution(dist).load_entry_point(group, name)

File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_e ntry_point

return ep.load()

File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load

entry = __import__(self.module_name, globals(),globals(), ['__name__'])

File "/usr/local/lib/python2.7/dist-packages/batchcompute_cli/cli.py", line 7, in

from . import const,i18n_util,cli_template,cli_oss,cli_pbs,cli_apps,cli_jobs                                                ,cli_clusters,cli_images,cli_project

File "/usr/local/lib/python2.7/dist-packages/batchcompute_cli/cli_template.py" , line 3, in

from .action import template_gen

File "/usr/local/lib/python2.7/dist-packages/batchcompute_cli/action/template_ gen.py", line 4, in

from ..util import client, zip,oss_client,config

File "/usr/local/lib/python2.7/dist-packages/batchcompute_cli/util/oss_client. py", line 7, in

from requests.exceptions import StreamConsumedError

ImportError: cannot import name StreamConsumedError

Python
分享到
取消 提交回答
全部回答(1)
  • 洵云
    2019-07-17 21:44:56

    oss_client. py这个文件的第7行是啥,是不是相关的python脚本没有啊

    0 0
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题