aboutsummaryrefslogtreecommitdiff
path: root/content/notes/2023-09-18-aws-eb-pyyaml-fix.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-11-01 22:54:27 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-11-01 22:54:27 +0100
commit2417a6b7603524dc5cd30d29b153f91024b9443d (patch)
tree9be5ea8e5baba96dd9159217da6badf6157fb595 /content/notes/2023-09-18-aws-eb-pyyaml-fix.md
parent89ba3497f07a8ea43d209b583f39fcc286acc923 (diff)
downloadmitjafelicijan.com-2417a6b7603524dc5cd30d29b153f91024b9443d.tar.gz
Move to Jekyll
Diffstat (limited to 'content/notes/2023-09-18-aws-eb-pyyaml-fix.md')
-rw-r--r--content/notes/2023-09-18-aws-eb-pyyaml-fix.md35
1 files changed, 0 insertions, 35 deletions
diff --git a/content/notes/2023-09-18-aws-eb-pyyaml-fix.md b/content/notes/2023-09-18-aws-eb-pyyaml-fix.md
deleted file mode 100644
index 77ae27d..0000000
--- a/content/notes/2023-09-18-aws-eb-pyyaml-fix.md
+++ /dev/null
@@ -1,35 +0,0 @@
1---
2title: "AWS EB PyYAML fix"
3url: aws-eb-pyyaml-fix.html
4date: 2023-09-18T07:27:29+02:00
5type: note
6draft: false
7---
8
9Recent update of my system completely borked [EB CLI](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install-advanced.html)
10on my machine.
11
12I tried installing it with `pip install awsebcli --upgrade --user` and it failed.
13
14The error was the following.
15
16```text
17Collecting PyYAML<6.1,>=5.3.1 (from awsebcli)
18 Using cached PyYAML-5.4.1.tar.gz (175 kB)
19 Installing build dependencies ... done
20 Getting requirements to build wheel ... error
21 error: subprocess-exited-with-error
22
23 × Getting requirements to build wheel did not run successfully.
24 │ exit code: 1
25 ╰─> [68 lines of output]
26```
27
28To fix this issue with PyYAML you must install PyYAML separately.
29
30Do the following and try installing `eb` again after.
31
32```sh
33echo 'Cython < 3.0' > /tmp/constraint.txt
34PIP_CONSTRAINT=/tmp/constraint.txt pip install 'PyYAML==5.4.1'
35```