Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoff committed Oct 25, 2023
1 parent 7afe0b6 commit 5955471
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions content/post/lafs01e05.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $ pip install apache-flink
This failed with the following output (truncated, for readability)

```
$ pip3 install apache-flink
$ pip install apache-flink
Collecting apache-flink
Using cached apache-flink-1.18.0.tar.gz (1.2 MB)
Preparing metadata (setup.py) ... done
Expand Down Expand Up @@ -74,7 +74,7 @@ note: This error originates from a subprocess, and is likely not a problem with
Looking at the error I spot `No matching distribution found for numpy==1.21.4` so maybe I just try a different version?

```
$ pip3 install numpy==1.22.0
$ pip install numpy==1.22.0
Collecting numpy==1.22.0
Downloading numpy-1.22.0.zip (11.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 443.6 kB/s eta 0:00:00
Expand All @@ -95,7 +95,7 @@ Hey, a different error! I found a GitHub issue for this error that suggests [a n
## Try installing the latest version of numpy

```
$ pip3 install numpy==1.26.1
$ pip install numpy==1.26.1
Collecting numpy==1.26.1
Downloading numpy-1.26.1-cp311-cp311-macosx_11_0_arm64.whl.metadata (115 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.1/115.1 kB 471.4 kB/s eta 0:00:00
Expand All @@ -111,7 +111,7 @@ Yay!
But… still no dice with installing PyFlink

```
$ pip3 install apache-flink
$ pip install apache-flink
[…]
ERROR: No matching distribution found for numpy==1.21.4
[end of output]
Expand Down Expand Up @@ -145,7 +145,7 @@ A quick Google throws up `pyenv` as a good tool for managing Python versions (le

```bash
$ brew install pyenv
$ echo 'PATH=$(pyenv root)/shims:$PATH' >> ~/.zshrcpy
$ echo 'PATH=$(pyenv root)/shims:$PATH' >> ~/.zshrc
```

Install a new version:
Expand Down

0 comments on commit 5955471

Please sign in to comment.