問題タブ [amazon-systems-manager]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - AWS 実行コマンド: Python が見つかりません
インスタンスでコマンドを実行するために Boto3 SSM を使用しています。
echo などの単純なコマンドを実行するhello world
とmkdir abc
、正常に動作し、期待どおりの出力が得られます。しかし、私が実行しようとしているとき、python -V
または他のpythonコマンド。出力はpython not found
です。しかし、python は、Ubuntu を実行している私の EC2 インスタンスにあります。手動で確認すると、正常に動作します。
コード: