diff options
author | Dmitry Butyugin <dmbutyugin@google.com> | 2022-06-17 00:10:57 +0300 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2022-06-20 19:47:14 +0300 |
commit | f2e27ae05eca2dac3f747d8cebfd482a535e9bb9 (patch) | |
tree | c8c73229bea9188962e30688fd6b004dd614eaa5 | |
parent | 247a409335ff48134dcb6abc41d2c464b465a6ec (diff) |
docs: Updated accelerometer installation instructions for Python 3
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
-rw-r--r-- | docs/Measuring_Resonances.md | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/Measuring_Resonances.md b/docs/Measuring_Resonances.md index 263a25b43..53a60013e 100644 --- a/docs/Measuring_Resonances.md +++ b/docs/Measuring_Resonances.md @@ -76,21 +76,21 @@ the system that may damage the electronics. ### Software installation Note that resonance measurements and shaper auto-calibration require additional -software dependencies not installed by default. First, you will have to run on -your Raspberry Pi the following command: +software dependencies not installed by default. First, run on your Raspberry Pi +the following commands: ``` -~/klippy-env/bin/pip install -v numpy +sudo apt update +sudo apt install python3-numpy python3-matplotlib libatlas-base-dev ``` -to install `numpy` package. Note that, depending on the performance of the -CPU, it may take *a lot* of time, up to 10-20 minutes. Be patient and wait -for the completion of the installation. On some occasions, if the board has -too little RAM, the installation may fail and you will need to enable swap. -Next, run the following commands to install the additional dependencies: +Next, in order to install NumPy in the Klipper environment, run the command: ``` -sudo apt update -sudo apt install python3-numpy python3-matplotlib +~/klippy-env/bin/pip install -v numpy ``` +Note that, depending on the performance of the CPU, it may take *a lot* +of time, up to 10-20 minutes. Be patient and wait for the completion of +the installation. On some occasions, if the board has too little RAM +the installation may fail and you will need to enable swap. Afterwards, check and follow the instructions in the [RPi Microcontroller document](RPi_microcontroller.md) to setup the |