mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-24 06:48:11 +00:00
README.md: add python instructions for mac os
This commit is contained in:
parent
5d92c84764
commit
4a007a8835
1 changed files with 10 additions and 2 deletions
12
README.md
12
README.md
|
@ -181,11 +181,19 @@ $ # Arch Linux
|
|||
$ sudo pacman -S python-pip
|
||||
```
|
||||
|
||||
**macOS**: TODO(confirm) should come with Python 2 pre-installed. Is `pip` installed? Does `nrfutil` work with Python 2?
|
||||
**macOS**:
|
||||
Ensure that you have python 3 and pip installed. Refer to the following link for [Instructions on how to install python 3 and pip](https://docs.python-guide.org/starting/install3/osx/)
|
||||
|
||||
```console
|
||||
$ python --version
|
||||
Python 3.7.7
|
||||
$ pip --version
|
||||
pip 20.0.2 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
|
||||
```
|
||||
|
||||
### nrfutil
|
||||
|
||||
**All**: Open a terminal and run these commands:
|
||||
**All**: Open a terminal and install nrfutil as follows. *If you are familiar with python, it is advised to do this in a [virtual environment](https://docs.python.org/3/library/venv.html).*
|
||||
|
||||
``` console
|
||||
$ pip install nrfutil
|
||||
|
|
Loading…
Reference in a new issue