You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/game-player-data/setup/Step1.en.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,16 +30,24 @@ You should now see your AWS Cloud9 environment. You need to be familiar with the
30
30
-**Terminal**: On the lower right area of the IDE, this is where you run commands to execute code samples.
31
31
32
32
33
-
The [AWS SDK for Python (Boto3)](https://aws.amazon.com/sdk-for-python/) enables you to use Python code to interact with AWS services like Amazon DynamoDB. In the AWS Cloud9 Terminal, confirm whether pip is already installed for the active version of Python by running this command:
33
+
The [AWS SDK for Python (Boto3)](https://aws.amazon.com/sdk-for-python/) enables you to use Python code to interact with AWS services like Amazon DynamoDB. In the AWS Cloud9 Terminal, install Python 3.8 and switch to that version:
34
34
35
35
```bash
36
+
sudo yum install -y python38
37
+
sudo alternatives --set python /usr/bin/python3.8
36
38
python -m pip --version
37
39
```
38
40
41
+
The output should look like this, showing Python3.8 is the default:
42
+
```text
43
+
$ python -m pip --version
44
+
pip 9.0.3 from /usr/lib/python3.8/dist-packages (python 3.8)
45
+
```
46
+
39
47
Now, install the AWS SDK for Python (Boto3) by running:
40
48
41
49
```bash
42
-
pip install boto3
50
+
pip install boto3 --user
43
51
```
44
52
45
53
Next, we would be downloading & reviewing the supporting code.
0 commit comments