2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AWS Cloud9でbotを走らすための最短の設定

2
Last updated at Posted at 2018-08-08

AWS Cloud9にbotを最短で乗せる方法

 この記事は忘れないようにメモする程度の内容です。

やること

- AWSへの登録
- pip-3.6で必要なものをインストール
- pythonで試運転

AWSへの登録

 まずは公式サイトでAWSを使えるようにする。
参考URL:https://note.mu/akagami/n/ncdeb281343f3

pip-3.6で必要なものをインストール

普通、pythonと言ったらpipだが、AWS Cloud9にはpython2.7とpython3.6が共存していて、python --versionで実行するとpython2.7が表示される。
※もしpython3.6を実行したいなら、python3 xxxと入力する必要がある。

pipも同様に、pip install xxxであればpython2.7を参照している。
なので、、python3.6を使用する場合のpipはpip-3.6とする必要がある。

※pip install --upgrade pipを要求されるが、実行するとconflictが起こって何もできなくなるので注意

pythonで試運転

 もし、上記のコマンドによってパッケージのインストールが完了したら、実行したいソースを実行してみる。

以上。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?