Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のようにbotoをインストールしました: python setup.py install; 次に、シェルで Python スクリプト (boto からモジュールをインポートする) を起動すると、次のようなエラーが表示されます: ImportError: no module named boto.s3.connection
問題を解決するにはどうすればよいですか?
を使用してUbuntuで同じ問題を修正しましたapt-get install python-boto
apt-get install python-boto
pythonこれは、Python スクリプトがデフォルトの実行可能ファイルを使用しない場合に発生する可能性があります。スクリプトの最初の行 (*nix の場合) または .py ファイルの関連付け (Windows の場合) のシバンを確認し、代わりに setup.py に対して実行します。
python