# Pironman 5-MAX Failure to install pironman5 module

**URL:** <https://forum.sunfounder.com/t/pironman-5-max-failure-to-install-pironman5-module/3515>\
**Category:** General\
**Created:** [July 16, 2025, 5:36am UTC](https://forum.sunfounder.com/t/pironman-5-max-failure-to-install-pironman5-module/3515 "2025-07-16T05:36:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![grymdylan](https://avatars.discourse-cdn.com/v4/letter/g/ce7236/32.png) [@grymdylan](https://forum.sunfounder.com/u/grymdylan)\
**Post date:** [July 16, 2025, 5:36am UTC](https://forum.sunfounder.com/t/pironman-5-max-failure-to-install-pironman5-module/3515/1 "2025-07-16T05:36:11Z")

</div>

Following instructions directly, I am encountering the error as follows when attempting to run the pironman5 module installation python script.

Traceback (most recent call last):  
File “/home/grymdylan/pironman5/install.py”, line 5, in   
from pironman5.variants import NAME, DT\_OVERLAYS, PERIPHERALS  
File “/home/grymdylan/pironman5/pironman5/variants/ **init**.py”, line 98, in   
VARIENT = get\_variant(varient\_id, version)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/home/grymdylan/pironman5/pironman5/variants/ **init**.py”, line 87, in get\_variant  
return Pironman5  
^^^^^^^^^  
NameError: name ‘Pironman5’ is not defined. Did you mean: ‘pironman5’?

Why is this happening exactly? I tried adjusting the case sensitive elements, which was not successful, and upon removing all data and completing the process again, the issue repeated. This is preventing me from completing setup of my Pironman5-MAX case.

---

<div class="post-metadata">

**Author:** ![grymdylan](https://avatars.discourse-cdn.com/v4/letter/g/ce7236/32.png) [@grymdylan](https://forum.sunfounder.com/u/grymdylan)\
**Post date:** [July 16, 2025, 10:44am UTC](https://forum.sunfounder.com/t/pironman-5-max-failure-to-install-pironman5-module/3515/2 "2025-07-16T10:44:33Z")

</div>

Fixed by installing from a different version!

---

<div class="post-metadata">

**Author:** ![brad1](https://avatars.discourse-cdn.com/v4/letter/b/77aa72/32.png) [@brad1](https://forum.sunfounder.com/u/brad1)\
**Post date:** [July 17, 2025, 12:44am UTC](https://forum.sunfounder.com/t/pironman-5-max-failure-to-install-pironman5-module/3515/3 "2025-07-17T00:44:04Z")

</div>

I am having the same problem. where is this “different” version?

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [July 17, 2025, 6:06am UTC](https://forum.sunfounder.com/t/pironman-5-max-failure-to-install-pironman5-module/3515/4 "2025-07-17T06:06:43Z")

</div>

Please follow our tutorial steps to download and install the software:

> **[Set Up on Raspberry Pi/Ubuntu/Kali/Homebridge OS — SunFounder Pironman 5 ...](https://docs.sunfounder.com/projects/pironman5/en/latest/pironman5_max/set_up/set_up_rpi_os.html#downloading-and-installing-the-pironman5-module)**

Please provide us with the complete log of the command execution during the installation process, so we can assist you in analyzing and resolving the issue.  
Here is our installation log:

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [July 17, 2025, 6:08am UTC](https://forum.sunfounder.com/t/pironman-5-max-failure-to-install-pironman5-module/3515/5 "2025-07-17T06:08:08Z")

</div>

cd ~  
git clone -b 1.2.15 [GitHub - sunfounder/pironman5: Code for Raspberry Pi 5 case (Pironman5)](https://github.com/sunfounder/pironman5.git) --depth 1  
cd ~/pironman5  
sudo python3 install.py  
Cloning into ‘pironman5’…  
remote: Enumerating objects: 28, done.  
remote: Counting objects: 100% (28/28), done.  
remote: Compressing objects: 100% (24/24), done.  
remote: Total 28 (delta 2), reused 13 (delta 0), pack-reused 0 (from 0)  
Receiving objects: 100% (28/28), 25.69 KiB | 13.00 KiB/s, done.  
Resolving deltas: 100% (2/2), done.  
Note: switching to ‘378ac7ec83e588a74afe247224f98bbe07ae3df3’.

You are in ‘detached HEAD’ state. You can look around, make experimental  
changes and commit them, and you can discard any commits you make in this  
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may  
do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Installing for Pironman 5 Max  
Version: 1.2.15

Install build dependencies…

- Update package list… Done
- Install build dependencies: python3-pip python3-venv git curl… Done  
Run commands before install…
- Run command before install: Download influxdb key… Done
- Run command before install: Setup influxdb install source… Done
- Run command before install: Cleanup influxdata-achive.key… Done
- Run command before install: Install LGPIO… Done  
Install APT dependencies…
- Install APT dependencies: lsof influxdb python3-gpiozero kmod i2c-tools libfreetype6-dev libopenjp2-7 libjpeg-dev… Done  
Create working directory…
- Create work directory… Done
- Change work directory mode… Done
- Change work directory owner… Done
- Create log directory… Done
- Change log directory mode… Done
- Change log directory owner… Done
- Create virtual environment… Done  
Install PIP dependencies…
- Install pip… Done
- Install setuptools… Done
- Install build… Done
- Install Adafruit-Blinka==8.59.0… Done
- Install smbus2… Done
- Install Pillow… Done
- Install gpiod… Done
- Install rpi.lgpio… Done
- Install adafruit-circuitpython-neopixel-spi… Done
- Install gpiozero… Done  
Install Python source packages…
- Uninstall pironman5 old package… Done
- Install pironman5 from source… Done
- Uninstall pm\_auto old package… Done
- Install pm\_auto from source… Done
- Uninstall pm\_dashboard old package… Done
- Install pm\_dashboard from source… Done
- Uninstall sf\_rpi\_status old package… Done
- Install sf\_rpi\_status from source… Done  
Setup auto start…
- Copy binary file… Done
- Change binary file mode… Done
- Copy service file… Done
- Enable service… Done
- Reload systemd… Done  
Probe modules…
- add module: i2c-dev… Done  
Copy device tree overlay…
- Copy dtoverlay sunfounder-pironman5.dtbo… Done  
Change work directory owner…
- Change work directory owner… Done  
Finished  
Cleanup
- Remove build… Done  
Whether to restart for the changes to take effect(Y/N): y
