# Python 3 install question

**URL:** <https://rpi-rgb-led-matrix.discourse.group/t/python-3-install-question/931>\
**Category:** Uncategorized\
**Created:** [November 28, 2024, 4:17pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/python-3-install-question/931 "2024-11-28T16:17:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hsamuels](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/hsamuels/32/400_2.png) [@hsamuels](https://rpi-rgb-led-matrix.discourse.group/u/hsamuels)\
**Post date:** [November 28, 2024, 4:17pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/python-3-install-question/931/1 "2024-11-28T16:17:19Z")

</div>

Following the instructions to install Python and Cython on a machine where Python 3 is already installed.

sudo apt-get update && sudo apt-get install python3-dev cython3 -y  
make build-python  
sudo make install-python

The first step appeared to execute normally. But the second and third steps return:

howard@atos:~ $ make build-python  
make: \*\*\* No rule to make target ‘build-python’. Stop.  
howard@atos:~ $ sudo make install-python  
make: \*\*\* No rule to make target ‘install-python’. Stop.

Where can I find these makefiles?

---

<div class="post-metadata">

**Author:** ![marcmerlin](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/marcmerlin/32/40_2.png) [@marcmerlin](https://rpi-rgb-led-matrix.discourse.group/u/marcmerlin)\
**Post date:** [December 2, 2024, 4:55pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/python-3-install-question/931/3 "2024-12-02T16:55:52Z")

</div>

I’m not sure which instructions you are following, but you don’t need to make or make install python when you use apt-get install to install it. It’s just already installed and ready to use

---

<div class="post-metadata">

**Author:** ![hsamuels](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/hsamuels/32/400_2.png) [@hsamuels](https://rpi-rgb-led-matrix.discourse.group/u/hsamuels)\
**Post date:** [December 2, 2024, 6:49pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/python-3-install-question/931/4 "2024-12-02T18:49:57Z")

</div>

Thank you, Marc. The instructions are on the python page of this project in github!

> **[rpi-rgb-led-matrix/bindings/python at master · hzeller/rpi-rgb-led-matrix](https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/bindings/python)**
>
> Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO - hzeller/rpi-rgb-led-matrix

---

<div class="post-metadata">

**Author:** ![marcmerlin](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/marcmerlin/32/40_2.png) [@marcmerlin](https://rpi-rgb-led-matrix.discourse.group/u/marcmerlin)\
**Post date:** [December 2, 2024, 6:50pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/python-3-install-question/931/5 "2024-12-02T18:50:43Z")

</div>

they don’t apply if you install the package directly, only if you check out the source from github and install it yourself (which you should not do unless you have a reason)

---

<div class="post-metadata">

**Author:** ![hsamuels](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/hsamuels/32/400_2.png) [@hsamuels](https://rpi-rgb-led-matrix.discourse.group/u/hsamuels)\
**Post date:** [December 2, 2024, 6:55pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/python-3-install-question/931/6 "2024-12-02T18:55:39Z")

</div>

Thank you. I’ll just forge ahead and see if it works. My panels arrived yesterday.

---

<div class="post-metadata">

**Author:** ![hsamuels](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/hsamuels/32/400_2.png) [@hsamuels](https://rpi-rgb-led-matrix.discourse.group/u/hsamuels)\
**Post date:** [December 7, 2024, 9:24pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/python-3-install-question/931/7 "2024-12-07T21:24:43Z")

</div>

My 5 64x32 panels are connected in a single chain, and the c++ demos work.

I may have missed the part saying Then, **in the root directory for the matrix** library simply type:" But I don’t recall for sure. In any case, I tried again, and it works. Surely python is already instaled, but perhaps cython3 needed to be added.
