# Ender 5 and Creality Sonic Pad

**URL:** <https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405>\
**Category:** General Discussion\
**Created:** [March 23, 2023, 10:32am UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405 "2023-03-23T10:32:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![calilatem](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@calilatem](https://klipper.discourse.group/u/calilatem)\
**Post date:** [March 23, 2023, 10:32am UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/1 "2023-03-23T10:32:22Z")

</div>

Hi !

I want to know if someone have tried to configure an ender 5 (classic) with a Creality Sonic Pad. And if it is easy ? I changed my motherboard for a silent one (v1.1.5).  
Sorry I’m not an expert in 3D printer domain but I’m really interested in printing faster 🙂  
I saw that it is compatible with every ender 5 models except the classic one (or it is not mentioned).  
So if it is not difficult to adapt it with my printer I will buy one.

Thanks.

P.S : sorry for my english … I’m french

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [March 23, 2023, 10:35am UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/2 "2023-03-23T10:35:06Z")

</div>

See

> [@Creality Sonic Pad and Alternatives](https://klipper.discourse.group/t/creality-sonic-pad/6324):
>
> Creality Sonic Padexclamation Update Since July 11, 2023, Creality seems to have [released a firmware](https://www.creality.com/pages/download-creality-sonic-pad?spm=..page_1934481.products_display_1.1&spm_prev=..product_afecb672-1369-4c48-ba2d-f0cd762126a6.header_1.1) with a newer Klipper version. Again, they have not released the sources for this and the other components as required by the GPL license. Again, they are violating the OSS license and making money off the work of others. Background The Creality Sonic Pad is intended to be a “one-stop” solution for Klipper. A SBC running Klipper along with Moonraker, Fluidd, Mainsail and KlipperScreen A …

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [March 23, 2023, 3:00pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/3 "2023-03-23T15:00:40Z")

</div>

There’s a good chance you’re going to have problems if you go with the Sonic Pad.

The Sonic Pad generally sets up and runs without problems if you have **ALL** original Creality hardware. I believe the “Silent board 1.1.5” is also known as the 4.2.7:

> **[Creality3D Upgrade Silent 4.2.7 (1.1.5) Mainboard For Ender 3/Ender 3...](https://creality3d.shop/products/creality3d-upgrade-silent-4-2-7-1-1-5-mainboard-for-ender-3-ender-3-pro-ender-5-3d-printer)**
>
> Only $39.99 can get Creality3D Upgrade Silent 4.2.7 (1.1.5) Mainboard For Ender 3/Ender 3 Pro/Ender 5 3D Printer

Now, having said that, there seems to be an unusual number of problems with the Sonic Pad on the Ender 5 compared to other Creality models. I helped a poor fellow out with an Ender 5 (I don’t know which controller board he had) a few months ago in setting up a Sonic Pad and we did get it working reasonably well, it still fails with a “Webhooks” error once every week or so, but to get to this point it took a lot of work and USB cables with clip on common mode chokes.

To be fair, Ender 3s and the Sonic Pad seem to work really well with few problems reported.

I’ve helped five people to get their Sonic Pads working and have only had one instance where it was completely reliable afterwards. I think there is a problem with how (at least one of) the USB ports are designed/wired.

---

<div class="post-metadata">

**Author:** ![calilatem](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@calilatem](https://klipper.discourse.group/u/calilatem)\
**Post date:** [March 23, 2023, 4:24pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/4 "2023-03-23T16:24:34Z")

</div>

Hi

Thanks for your reply. Because i’m not an expert, I will not buy it as I thought. I prefer a plug’n play system. Or juste minor changes to do.  
Maybe a firmware update in the future will help me.

Thanks again.

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [March 23, 2023, 6:26pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/5 "2023-03-23T18:26:08Z")

</div>

Setting up Klipper on a Raspberry Pi is not that difficult and there is a plethora of instructions out there that you can use.

I know that they’re hard to get/expensive and I’m waiting on getting my hands on a couple of CB1s to see how they work.

[https://www.aliexpress.com/item/1005004477705287.html](https://www.aliexpress.com/item/1005004477705287.html)

---

<div class="post-metadata">

**Author:** ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)\
**Post date:** [March 23, 2023, 7:09pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/6 "2023-03-23T19:09:09Z")

</div>

I have CB1s on both of my printers. They have hundreds of hours of print time between them with zero issues. I should note some people have had problems with wifi, but mine are wired to ethernet so I have no experience with the wifi.

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [September 26, 2023, 3:00pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/7 "2023-09-26T15:00:07Z")

</div>

When you use your CB1s, how do you:

1. Set their URLs to something other than `[http://btt-cb1.hitronhub.home](http://btt-cb1.hitronhub.home)’? This is needed to have multiple installations working simultaneously.
2. Change their primary user to something other than `biqu` with the password `biqu`? This is a security concern.

I’ve used one on one of my printers for a month or so and it’s pretty rock solid when you get them connected to your network (either use a direct connection or use the direct connection to set the WiFi using `sudo nmcli dev wifi connect [ssid] password "[password]"`). I found changing the SSID/password in the config file after imaging the SD Card to be pretty hit and miss.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [September 26, 2023, 3:32pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/8 "2023-09-26T15:32:34Z")

</div>

The CB1 are officially supported by the Armbian Project and BTT seems to sponsor it.  
Judging from this, I would think that

- you could either use the default Armbian image: [BIGTREETECH CB1 – Armbian](https://www.armbian.com/bigtreetech-cb1/)
- the current image released by BTT also already is Armbian based

> [@mykepredko](#):
>
> Set their URLs to something other than `[http://btt-cb1.hitronhub.home](http://btt-cb1.hitronhub.home)’? This is needed to have multiple installations working simultaneously.

Change it as you would change the hostname in any Linux. Not sure if the `armbian-config` even offers this

> [@mykepredko](#):
>
> Change their primary user to something other than `biqu` with the password `biqu`? This is a security concern.

Not sure if BTT published the root password but also without you should be adble to

```shell
sudo su #switch to root
useradd -m my_great_new_user # create user with home dir
passwd my_great_new_user # Set password for the new user. You can also use `passwd biqu` to change this
usermod -a -G spi my_great_new_user # add user to the SPI group
usermod -a -G i2c my_great_new_user # add user to the I2C group
usermod -a -G dialout my_great_new_user # add user to the dialout group
usermod -a -G gpio my_great_new_user # add user to the gpio group

```

This should all be pretty standard Linux admin stuff.

Disclaimer: Typed from top of my head. Verify this crap

Edit: `armbian-config` definitively is able to manage WIFI so this should be quite easy if you do not feel too comfortable with managing Linux on the CLI

Edit 2: Added password changing to the commands

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [September 26, 2023, 5:07pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/9 "2023-09-26T17:07:02Z")

</div>

I’m just working with the BTT image.

I’ve tried following the standard Linux Hostname change:

> **[How to configure a hostname on a Linux system](https://www.redhat.com/sysadmin/configure-hostname-linux)**
>
> Make it easier to access your Linux computer by giving it a human-friendly name that's simpler to use than an IP address.

Without any joy.

Similarly with trying to change the primary userID.

> **[How to Change the Default Account Username and Password](https://thepihut.com/blogs/raspberry-pi-tutorials/how-to-change-the-default-account-username-and-password)**
>
> By default your Raspberry Pi comes with an account 'pi' with the password 'raspberry'. For security reasons it's probably a good idea to change the password, but you may also wish to change the username as well. There are a couple of different ways...

> [@Sineos](#):
>
> The CB1 are officially supported by the Armbian Project and BTT seems to sponsor it.  
> Judging from this, I would think that
> 
> - you could either use the default Armbian image: [BIGTREETECH CB1 – Armbian](https://www.armbian.com/bigtreetech-cb1/)
> - the current image released by BTT also already is Armbian based

Thanx, I’ll try the Armbian minimal image and see if that works better.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [September 26, 2023, 6:32pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/10 "2023-09-26T18:32:18Z")

</div>

> [@mykepredko](#):
>
> Without any joy.

Typically two files need to be edited: `/etc/hostname` (or `hostnamectl set-hostname <name-here>`) and `/etc/hosts` (find all references to the old hostname, there can be more than one).  
Also you can try if the `armbian-config` command is available in the BTT image (it should if based on Armbian)

> [@mykepredko](#):
>
> Similarly with trying to change the primary userID.

Honestly, I’d just add a new user and then potentially delete the old one. If doing so, do not forget to grant the new user sudoer rights.

---

<div class="post-metadata">

**Author:** ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)\
**Post date:** [September 26, 2023, 8:08pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/11 "2023-09-26T20:08:12Z")

</div>

I’ll just confirm what @Sineos posted here. I’ve changed the default hostnames on both to something else, and I believe I just edited the 2 files mentioned. As for the user name, I’m not concerned about using the default as none of my printers are exposed to the internet (I use VLANs to segregate my network).

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [September 26, 2023, 8:42pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/12 "2023-09-26T20:42:04Z")

</div>

Sorry, what are the two files that were mentioned? This is just for the hostname, correct?

---

<div class="post-metadata">

**Author:** ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)\
**Post date:** [September 26, 2023, 10:47pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/13 "2023-09-26T22:47:16Z")

</div>

Look at the post above mine.

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [September 27, 2023, 3:39am UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/14 "2023-09-27T03:39:36Z")

</div>

Just tried Armbian and ran into a problem because I can’t get pyserial (for Katapult) installed as Armbian doesn’t seem to work with python3.

The setup is a bit better than BTT’s CB1 but still leaves a bit to be desired.

@jakep_82 sorry, which “post above” yours are you referring to?

---

<div class="post-metadata">

**Author:** ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)\
**Post date:** [September 27, 2023, 3:57am UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/15 "2023-09-27T03:57:26Z")

</div>

Are you for real?

> [@Sineos](#):
>
> Typically two files need to be edited: `/etc/hostname` (or `hostnamectl set-hostname <name-here>`) and `/etc/hosts` (find all references to the old hostname, there can be more than one).

I use the BTT minimal image and install everything with KIAUH. I’m running python3 and I have more than a thousand hours of print time between the two printers with zero issues. All of my future printers will use Manta boards with a CB1 because they’re affordable and they just work for me.

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [September 27, 2023, 4:03am UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/16 "2023-09-27T04:03:37Z")

</div>

Thanx for pointing it out.

As I pointed out I tried `hotnamectl` with it not being reliable. I’ll look for all instances of the host name in the system and see if that does the trick.

As for the root login/password I’m still looking for how to change that on the CB1 (I know you don’t worry about that).

Python3 (along with Klipper & Katapult) runs fine on the BTT image but not on Armbian. I’m not having any issues with it at all. Actually the CB1 works really well and the price is decent; I just wish it was as customizable as the CM4.

Thanx for the reply.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [September 27, 2023, 5:33am UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/17 "2023-09-27T05:33:23Z")

</div>

> [@mykepredko](#):
>
> Python3 (along with Klipper & Katapult) runs fine on the BTT image but not on Armbian.

Sorry, but this must be on your side. I’m running Klipper with Armbian for quite long on different SBCs and can fully confirm that it is working, including pyserial.

**It does not matter** which “Debian flavor” you are using, e.g. PiOS, MainsailOS, Armbian for Banana Pi or Armbian for CB1 → They all rely on the main Debian package sources, maybe with some minor additions (especially the RPi targetd ones). Of course there are differences, whether it is based on Buster, Bullseye or Bookworm.

```auto
klipper@bananapim5:~$ apt-cache search pyserial
python3-serial - pyserial - module encapsulating access for the serial port
python3-serial-asyncio - Async I/O extension package for pyserial
klipper@bananapim5:~$ apt policy python3-serial
python3-serial:
  Installed: 3.5~b0-1
  Candidate: 3.5~b0-1
  Version table:
     3.5-1.1~bpo11+1 100
        100 http://deb.debian.org/debian bullseye-backports/main arm64 Packages
        100 http://deb.debian.org/debian bullseye-backports/main armhf Packages
 *** 3.5~b0-1 500
        500 http://deb.debian.org/debian bullseye/main arm64 Packages
        500 http://deb.debian.org/debian bullseye/main armhf Packages
        100 /var/lib/dpkg/status
klipper@bananapim5:~$

```

Also, changing hostnames or adding / editing users works the same for all of them. In the end it is “just Linux”

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [September 27, 2023, 2:39pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/18 "2023-09-27T14:39:49Z")

</div>

Okay, just get everything loaded.

After loading in Klipper, Moonraker, Mainsail and then Katapult onto the CB1 running Armbian, I try to run `pip3 install pyserial` with the following results:

```auto
biqu@bigtreetech-cb1:~$ pip3 install pyserial
Command 'pip3' not found, but can be installed with:
sudo apt install python3-pip

```

Okay, then do `sudo apt install python3-pip` and things seem to go okay:

```auto
sudo apt install python3-pip
biqu@bigtreetech-cb1:~$ sudo apt install python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  python3-setuptools python3-wheel
Suggested packages:
  python-setuptools-doc
The following NEW packages will be installed:
  python3-pip python3-setuptools python3-wheel
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 1,877 kB of archives.
After this operation, 9,566 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bookworm/main arm64 python3-setuptools all 66.1.1-1 [521 kB]
Get:2 http://deb.debian.org/debian bookworm/main arm64 python3-wheel all 0.38.4-2 [30.8 kB]
Get:3 http://deb.debian.org/debian bookworm/main arm64 python3-pip all 23.0.1+dfsg-1 [1,325 kB]
Fetched 1,877 kB in 2s (1,182 kB/s)
Selecting previously unselected package python3-setuptools.
(Reading database ... 37662 files and directories currently installed.)
Preparing to unpack .../python3-setuptools_66.1.1-1_all.deb ...
Unpacking python3-setuptools (66.1.1-1) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../python3-wheel_0.38.4-2_all.deb ...
Unpacking python3-wheel (0.38.4-2) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../python3-pip_23.0.1+dfsg-1_all.deb ...
Unpacking python3-pip (23.0.1+dfsg-1) ...
Setting up python3-setuptools (66.1.1-1) ...
Setting up python3-wheel (0.38.4-2) ...
Setting up python3-pip (23.0.1+dfsg-1) ...
Processing triggers for man-db (2.11.2-2) ...

```

So with Python3-pip installed (which seems to match the instructions I get when I research the issue), I try `pip3 install pyserial` again:

```auto
biqu@bigtreetech-cb1:~$ pip3 install pyserial
error: externally-managed-environment

× This environment is externally managed
mq> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

```

So, I take a gander at `/usr/share/doc/python3.11/README.venv` which tells me to install the package using the instructions:

```auto
e.g. instead of running:
$ pip install --user foo
run:
$ mkdir -p ~/.venvs
$ python3 -m venv ~/.venvs/foo
$ ~/.venvs/foo/bin/python -m pip install foo

```

Okay, the first command goes okay, but the second (`python3 -m venv ~/.venvs/pyserial`) fails and suggests that I run `apt install python3.11-venv` which executes as:

```auto
biqu@bigtreetech-cb1:~$ apt install python3.11-venv
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

```

So, the obvious solution (to me) is to run `sudo apt install python3.11-venv` which seems to run okay:

```auto
biqu@bigtreetech-cb1:~$ sudo apt install python3.11-venv
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  python3.11-venv
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 5,892 B of archives.
After this operation, 28.7 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main arm64 python3.11-venv arm64 3.11.2-6 [5,892 B]
Fetched 5,892 B in 0s (38.9 kB/s)
Selecting previously unselected package python3.11-venv.
(Reading database ... 38585 files and directories currently installed.)
Preparing to unpack .../python3.11-venv_3.11.2-6_arm64.deb ...
Unpacking python3.11-venv (3.11.2-6) ...
Setting up python3.11-venv (3.11.2-6) ...

```

So I go back to `python3 -m venv ~/.venvs/pyserial` which seems to run (at least I don’t get any errors) followed by:

```auto
biqu@bigtreetech-cb1:~$ ~/.venvs/pyserial/bin/python -m pip install pyserial
Collecting pyserial
  Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
     qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 90.6/90.6 kB 566.5 kB/s eta 0:00:00
Installing collected packages: pyserial
Successfully installed pyserial-3.5

```

Looks good, so I go back and follow my process that I use to test Katapult load (this is the process I’ve used for testing Sineos’ bash script) and everything runs fine until I get to executing:

```auto
ls /dev/serial/by-id/
python3 ~/Katapult/scripts/flash_can.py -d /dev/serial/by-id/- MCU Serial from previous

```

At which point I get:

```auto
biqu@bigtreetech-cb1:~$ python3 ~/Katapult/scripts/flash_can.py -d /dev/serial/by-id/usb-katapult_stm32f446xx_30001A000A50315939343520-if00
ERROR:root:Flash Error
Traceback (most recent call last):
  File "/home/biqu/Katapult/scripts/flash_can.py", line 538, in run
    import serial
ModuleNotFoundError: No module named 'serial'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/biqu/Katapult/scripts/flash_can.py", line 635, in main
    loop.run_until_complete(sock.run(args.device, args.baud, fpath))
  File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/biqu/Katapult/scripts/flash_can.py", line 540, in run
    raise FlashCanError(
FlashCanError: The pyserial python package was not found. To install run the following command in a terminal:

   pip3 install pyserial

```

So, I run `pip3 install pyserial` again and get:

```auto
biqu@bigtreetech-cb1:~$ pip3 install pyserial
error: externally-managed-environment

× This environment is externally managed
mq> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

```

I’m not sure what to do next as I’m clearly stuck in a loop. It looked like pyserial was properly installed (above) but clearly it wasn’t.

Suggestions?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [September 27, 2023, 2:44pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/19 "2023-09-27T14:44:31Z")

</div>

> [@mykepredko](#):
>
> Suggestions?

Yes, make your life easy and issue `sudo apt install python3-serial`  
I’d anyway recommend to install Python packages via `apt` instead of `pip` when they are available as apt packages.  
All the stuff with the venv above is definitively the completely wrong approach, since you want to have pyserial globally available in the main OS and not in an isolated venv.

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [September 27, 2023, 2:47pm UTC](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405/20 "2023-09-27T14:47:10Z")

</div>

Sure, I’ll try that. Thanx.

[Next page](https://klipper.discourse.group/t/ender-5-and-creality-sonic-pad/7405.md?page=2)
