【发布时间】:2017-01-27 08:02:20
【问题描述】:
我们正在尝试以离线模式安装 s3cmd,但出现以下错误。
Searching for python-magic
Reading https://pypi.python.org/simple/python-magic/
Download error: [Errno 101] Network is unreachable -- Some packages may not be found!
Couldn't find index page for 'python-magic' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error: [Errno 101] Network is unreachable -- Some packages may not be found!
No local packages or download links found for python-magic.
error:Could not find suitable distribution for Requirement.parse('python-magic')
===
顺便说一句,python-magic-4.24-43.27.1 已经安装在我们的服务器上,但是为什么 s3cmd 没有检测到它?
有什么方法可以跳过这些步骤并安装 s3cmd?
【问题讨论】:
-
离线模式是什么意思?
-
不使用
s3cmd,这几天推荐使用AWS Command-Line Interface (CLI)。
标签: python-2.7 amazon-web-services amazon-s3 amazon-ec2 aws-sdk