shell执行py脚本,python提示 No connection adapters were found for

在 shell 中执行以下脚本下载文件,提示

Download Fail:No connection adapters were found for 'http:....'

但把这个命令单独拿出来执行是可以的,脚本如下,是个下载的命令

wcscmd get "http://xxxxx.xxxx.com/no/id/test8?wsSecret=01d357d86d521e6852d8d27c08f883f2&wsTime=5B34C155" "test8"

连接是没问题的,请问有没有之前遇到过的?

阅读 2.8k
1 个回答

报错的意思是:你没有connection adapters

你shell中是不是没有写 http://

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题