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