Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[PLUGIN] Python 3 for UNRAID (6.11+)

Featured Replies

  • Author
23 minutes ago, NeoID said:


Yes, I wrote it and it's on GitHub:
https://github.com/IDmedia/docker-update-script

Nothing fancy really, just prefer this solution as I migrated to UnRAID already having a docker folder where every service is one directoy. Using this tool I can update one or 100 containers in one go and it only restarts those who has changed. Just a personal preference.

Combining it with a user script like this makes it super handy, as all I have to do "docker-update" and it updates everything. Never had any issues:
 


I might just remove the Python package and rewrite the alias to run this through docker. Again, I just liked it being able to write a pure-Python script on the host directly when I had to automate something instead of using Bash.

 

Hmm, nothing sticks out, tried reinstalling the plugin in case one of the libraries got corrupted during installation?

  • Replies 91
  • Views 21.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Messages like this are a prime example for the reasons I provide this plugin. The package you linked is not compatible with Unraid 7, it's a Slackware 15.0 package. Please do not hijack my p

  • Unraid 7 is running Slackware 15.0+, that's future 15.1, from the -current branch. Python 3 works just fine on Unraid 7, if compiled against the respective OS libraries. The packages you lin

  • Even if Python 3.12. were also considered stable or stable enough, it's still in active development (bugfix cycle). Slackware-current uses 3.11.10, as outlined in the initial post this plugin is

Posted Images

7 minutes ago, Rysz said:

 

Hmm, nothing sticks out, tried reinstalling the plugin in case one of the libraries got corrupted during installation?

I've now just removed it and UnRAID 7.0.1 still crashes within minutes, so then I guess those messages in the logs (those where the only one sticking out) had nothing to do with it. :(

  • Author
11 minutes ago, NeoID said:

I've now just removed it and UnRAID 7.0.1 still crashes within minutes, so then I guess those messages in the logs (those where the only one sticking out) had nothing to do with it. :(

 

That does sound like a RAM issue to me still, maybe the RAM is not compatible with the motherboard?

18 hours ago, Rysz said:

 

That does sound like a RAM issue to me still, maybe the RAM is not compatible with the motherboard?

I don't mean to go off-topic, but it might help somebody else. It seems to be unrelated to the plugin, I also noticed "libpython3.13.so" being mentioned in the segfaults which this plugin doesn't even install (3.11). So that means it has to come from one of my many docker containers.

The strange thing here is that memtest claims my RAM is fine. I'll also test with another set of sticks later today to make it 100% sure of it. What caught my eye is that even though it may log "libpython3.13.so" and "libpython3.11.so" segfaulting, it's ALWAYS:
 

...likely on CPU 12 (core 24, socket 0)


My assumption is that maybe my 14700k has issues due to the Intel scandal. It's hard to test and stressing it hasn't seem to trigger any issues. However, it seems that doing a parity check in unraid may be the thing triggering the webui to crash... at least most of the time. It's really hard to narrow this down any further, but again, the plugin isn't to blame. :) 

Edit: Got a tip to disable the E-cores, so I'll try that next.

Reference:
 

https://www.reddit.com/r/Proxmox/comments/1fzo6qb/kernel_segfault_how_to_narrow_it_down/

https://forum.level1techs.com/t/brand-new-14700k-on-a-msi-z790-tomahawk-what-to-do-confused/217143

Edited by NeoID

  • 1 month later...

@Rysz, just a huge thank you for developing and maintainig this project.

Nerdtools was abandoned, and recently I had to reinstall a package but was getting a nasty error, which I learned was due to having an older version.

 

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping


Fortunately you made installing Python a literal click of a button and saved myself a great number of hours that would have otherwise been spent on figuring out how to get Python on Unraid.

Thanks a ton!

Anyone with problems trying to run the following command?

 

Quote

pip install advocate

 

All I get is what seems to be an error related with missing GCC package:

Quote

 

(...)

  × Building wheel for netifaces (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      /tmp/pip-build-env-i_now7mv/overlay/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!
      
              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:
      
              License :: OSI Approved :: MIT License
      
              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************
      
      !!
        self._finalize_license_expression()
      running bdist_wheel
      running build
      running build_ext
      checking for getifaddrs...not found.
      checking for getnameinfo...not found.
      checking for socket IOCTLs...not found.
      checking for optional header files...none found.
      checking whether struct sockaddr has a length field...no.
      checking which sockaddr_xxx structs are defined...none!
      checking for routing socket support...no.
      checking for sysctl(CTL_NET...) support...no.
      checking for netlink support...no.
      building 'netifaces' extension
      gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DNETIFACES_VERSION=0.11.0 -I/usr/include/python3.11 -c netifaces.c -o build/temp.linux-x86_64-cpython-311/netifaces.o
      error: command 'gcc' failed: No such file or directory
      [end of output]
 
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for netifaces
Failed to build netifaces
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (netifaces)

 

 

Edited by Tarnished

14 hours ago, Tarnished said:

Anyone with problems trying to run the following command?

 

 

All I get is what seems to be an error related with missing GCC package:

 


as you are trying to use python for:
https://pypi.org/project/advocate/

using a venv for python on unraid kinda

python3 -m venv unraid
cd unraid
cd bin
source activate


 

root@Docker:/mnt/user/Backups/python/unraid/bin# source activate
(unraid) root@Docker:/mnt/user/Backups/python/unraid/bin# pip install advocate
Collecting advocate
  Downloading advocate-1.0.0-py2.py3-none-any.whl.metadata (10 kB)
Collecting ndg-httpsclient (from advocate)
  Downloading ndg_httpsclient-0.5.1-py3-none-any.whl.metadata (6.2 kB)
Collecting netifaces>=0.10.5 (from advocate)
  Downloading netifaces-0.11.0.tar.gz (30 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pyasn1 (from advocate)
  Downloading pyasn1-0.6.1-py3-none-any.whl.metadata (8.4 kB)
Collecting pyopenssl (from advocate)
  Downloading pyOpenSSL-25.0.0-py3-none-any.whl.metadata (16 kB)
Collecting requests<3.0,>=2.18.0 (from advocate)
  Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting six (from advocate)
  Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting urllib3<2.0,>=1.22 (from advocate)
  Downloading urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
Collecting charset-normalizer<4,>=2 (from requests<3.0,>=2.18.0->advocate)
  Downloading charset_normalizer-3.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (35 kB)
Collecting idna<4,>=2.5 (from requests<3.0,>=2.18.0->advocate)
  Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from requests<3.0,>=2.18.0->advocate)
  Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
Collecting cryptography<45,>=41.0.5 (from pyopenssl->advocate)
  Downloading cryptography-44.0.2-cp39-abi3-manylinux_2_34_x86_64.whl.metadata (5.7 kB)
Collecting cffi>=1.12 (from cryptography<45,>=41.0.5->pyopenssl->advocate)
  Downloading cffi-1.17.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.12->cryptography<45,>=41.0.5->pyopenssl->advocate)
  Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading advocate-1.0.0-py2.py3-none-any.whl (34 kB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
Downloading urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
Downloading ndg_httpsclient-0.5.1-py3-none-any.whl (34 kB)
Downloading pyasn1-0.6.1-py3-none-any.whl (83 kB)
Downloading pyOpenSSL-25.0.0-py3-none-any.whl (56 kB)
Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
Downloading charset_normalizer-3.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (144 kB)
Downloading cryptography-44.0.2-cp39-abi3-manylinux_2_34_x86_64.whl (4.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 37.3 MB/s eta 0:00:00
Downloading idna-3.10-py3-none-any.whl (70 kB)
Downloading cffi-1.17.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479 kB)
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: netifaces
  Building wheel for netifaces (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for netifaces (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      /tmp/pip-build-env-94leudsx/overlay/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!
      
              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:
      
              License :: OSI Approved :: MIT License
      
              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************
      
      !!
        self._finalize_license_expression()
      running bdist_wheel
      running build
      running build_ext
      checking for getifaddrs...not found.
      checking for getnameinfo...not found.
      checking for socket IOCTLs...not found.
      checking for optional header files...none found.
      checking whether struct sockaddr has a length field...no.
      checking which sockaddr_xxx structs are defined...none!
      checking for routing socket support...no.
      checking for sysctl(CTL_NET...) support...no.
      checking for netlink support...no.
      building 'netifaces' extension
      gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -DNETIFACES_VERSION=0.11.0 -I/mnt/user/Backups/python/unraid/include -I/usr/include/python3.13 -c netifaces.c -o build/temp.linux-x86_64-cpython-313/netifaces.o
      error: command 'gcc' failed: No such file or directory
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for netifaces
Failed to build netifaces

[notice] A new release of pip is available: 24.3.1 -> 25.0.1
[notice] To update, run: pip install --upgrade pip
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (netifaces)
(unraid) root@Docker:/mnt/user/Backups/python/unraid/bin# 

 

unraid is slackware linux.

the netiface error I get with a python venv created on unraid errors with package:

https://pypi.org/project/netifaces/

-You may need to install a older version... I was able to get both running..

 

which can easily be fixed...

install netiface first in the venv....

so not sure how you original called it or ran it...

Edited by bmartino1
Data - typo

Gcc is not available on UNRAID (and due to its size it also would bust it I think).

You should consider to use a "normal" linux system to build your app and then move it over to unraid.

Or ask the author of the App if there are no binary distributions available somewhere (maybe somebody already has created a docker for it?).

 

Anyway UNRAID is not the correct platform for software development, it is stripped down to its essentials for file servers.

(And that's not wrong, install a VM with "full Linux" to get a development box)

Edited by MAM59

Btw. this is how it would look like on a normal system:

(PTest) [root@l3router ~/PTest]# pip install advocate
Collecting advocate
  Downloading advocate-1.0.0-py2.py3-none-any.whl.metadata (10 kB)
Collecting ndg-httpsclient (from advocate)
  Downloading ndg_httpsclient-0.5.1-py3-none-any.whl.metadata (6.2 kB)
Collecting netifaces>=0.10.5 (from advocate)
  Downloading netifaces-0.11.0.tar.gz (30 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pyasn1 (from advocate)
  Downloading pyasn1-0.6.1-py3-none-any.whl.metadata (8.4 kB)
Collecting pyopenssl (from advocate)
  Downloading pyOpenSSL-25.0.0-py3-none-any.whl.metadata (16 kB)
Collecting requests<3.0,>=2.18.0 (from advocate)
  Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting six (from advocate)
  Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting urllib3<2.0,>=1.22 (from advocate)
  Downloading urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.1/50.1 kB 2.4 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2 (from requests<3.0,>=2.18.0->advocate)
  Downloading charset_normalizer-3.4.1-py3-none-any.whl.metadata (35 kB)
Collecting idna<4,>=2.5 (from requests<3.0,>=2.18.0->advocate)
  Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from requests<3.0,>=2.18.0->advocate)
  Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
Collecting cryptography<45,>=41.0.5 (from pyopenssl->advocate)
  Downloading cryptography-44.0.2.tar.gz (710 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 710.8/710.8 kB 2.0 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting typing-extensions>=4.9 (from pyopenssl->advocate)
  Downloading typing_extensions-4.13.2-py3-none-any.whl.metadata (3.0 kB)
Collecting cffi>=1.12 (from cryptography<45,>=41.0.5->pyopenssl->advocate)
  Using cached cffi-1.17.1-cp311-cp311-freebsd_14_2_release_p1_amd64.whl
Collecting pycparser (from cffi>=1.12->cryptography<45,>=41.0.5->pyopenssl->advocate)
  Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading advocate-1.0.0-py2.py3-none-any.whl (34 kB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 1.7 MB/s eta 0:00:00
Downloading urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.2/144.2 kB 654.5 kB/s eta 0:00:00
Downloading ndg_httpsclient-0.5.1-py3-none-any.whl (34 kB)
Downloading pyasn1-0.6.1-py3-none-any.whl (83 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.1/83.1 kB 590.0 kB/s eta 0:00:00
Downloading pyOpenSSL-25.0.0-py3-none-any.whl (56 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.5/56.5 kB 1.4 MB/s eta 0:00:00
Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 166.4/166.4 kB 1.2 MB/s eta 0:00:00
Downloading charset_normalizer-3.4.1-py3-none-any.whl (49 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.8/49.8 kB 1.3 MB/s eta 0:00:00
Downloading idna-3.10-py3-none-any.whl (70 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 1.1 MB/s eta 0:00:00
Downloading typing_extensions-4.13.2-py3-none-any.whl (45 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.8/45.8 kB 1.7 MB/s eta 0:00:00
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: netifaces, cryptography
  Building wheel for netifaces (pyproject.toml) ... done
  Created wheel for netifaces: filename=netifaces-0.11.0-cp311-cp311-freebsd_14_2_release_p1_amd64.whl size=14541 sha256=cb31d6646b1b199bbf7d38bccf68df09f56d0d9beabf7fb9492cd0b79878ad60
  Stored in directory: /root/.cache/pip/wheels/40/85/29/648c19bbbb5f1d30e33bfb343fd7fb54296b402f7205d8e46f
  Building wheel for cryptography (pyproject.toml) ... done
  Created wheel for cryptography: filename=cryptography-44.0.2-cp37-abi3-freebsd_14_2_RELEASE_p1_amd64.whl size=1585859 sha256=b11b85a48b80f8101f3d3bc1c1a47d33320443755ab3515ef4f242794bd830ca
  Stored in directory: /root/.cache/pip/wheels/5c/bb/7f/ae35b08165f8015f24e5b9227913365e506ef6d4defa9736e5
Successfully built netifaces cryptography
Installing collected packages: netifaces, urllib3, typing-extensions, six, pycparser, pyasn1, idna, charset-normalizer, certifi, requests, cffi, cryptography, pyopenssl, ndg-httpsclient, advocate
Successfully installed advocate-1.0.0 certifi-2025.1.31 cffi-1.17.1 charset-normalizer-3.4.1 cryptography-44.0.2 idna-3.10 ndg-httpsclient-0.5.1 netifaces-0.11.0 pyasn1-0.6.1 pycparser-2.22 pyopenssl-25.0.0 requests-2.32.3 six-1.17.0 typing-extensions-4.13.2 urllib3-1.26.20

[notice] A new release of pip is available: 24.0 -> 25.0.1
[notice] To update, run: pip install --upgrade pip
(PTest) [root@l3router ~/PTest]#

 

  • Author

Yes, this is a dependency issue and not one of the plugin. In general on Unraid you'd use Python libraries not depending on anything not existing on the OS or pre-built wheels.

Thank you all for the help, I wasn't aware that what I was proposing was so "out of reach" considering Python3.

Perhaps I should explain the need for advocate - As it stand, although not being mentioned in the requirements.txt, advocate is needed for calibre-web - 1 , 2 .

 

So my first reaction was trying to install advocate, which led to this confusion. Should I just look for another docker image (I'm currently using linuxservers calibre-web instance) that already has advocate installed in some way?

8 minutes ago, Tarnished said:

advocate is needed for calibre-web - 1 , 2 .

You can get a (even two!) fully equipped docker for calibre-web (I use calibre-web-automated which even includes a share where you can simply drop in new ebooks and they are automatically moved over and added to the library).

No need to deal with advocate or python...

 

5 minutes ago, MAM59 said:

You can get a (even two!) fully equipped docker for calibre-web (I use calibre-web-automated which even includes a share where you can simply drop in new ebooks and they are automatically moved over and added to the library).

No need to deal with advocate or python...

 

I went from calire-web-automated to calibre-web mostly due to this this that isn't implemented in calibre-web-automated. I was never able to sync without a Kobo account on CWA, but truth to be told, I also wasn't able to do it in Calibre-Web, so at the end of th eday the problem probably lies in me :S

Sorry, can't help you with that Kobo thing (don't even ever heard about it).

 

10 hours ago, bmartino1 said:

 

I'm sure the docker already has the python working as it should to run the application.

He is not really into that python at all. He just wants to sync his e-book reader. This seems to be a buildin feature of calibre-web. Dunno why it is not working (for him?) dunno even how it can be checked.

 

He is better advised to ask in the docker's support forum or at the calibre-web forum for this special thing.

 

  • Author

Yes, please take this to a separate topic, if anything. 👍

  • 3 weeks later...

Hello,

I've tried to reinstall and reboot my server after but I can't get PIP to work.
pip --version gives off this error:
 

Quote

pip --version Traceback (most recent call last): File "/usr/bin/pip", line 5, in <module> from pip._internal.cli.main import main ModuleNotFoundError: No module named 'pip'

 

pip3 install qbittorrent-api also fails.
I've tried pip install qbittorrent-api also.

I've tried to google and read through this thread but found no answers. Am I doing something wrong here?

When I uninstalled I made sure all python files were gone before I installed again (and did a reboot).

  • Author
9 hours ago, Stabster said:

Hello,

I've tried to reinstall and reboot my server after but I can't get PIP to work.
pip --version gives off this error:
 

 

pip3 install qbittorrent-api also fails.
I've tried pip install qbittorrent-api also.

I've tried to google and read through this thread but found no answers. Am I doing something wrong here?

When I uninstalled I made sure all python files were gone before I installed again (and did a reboot).

 

What version of the OS are you on?

2 hours ago, Rysz said:

 

What version of the OS are you on?

7.0.1

  • Author
2 minutes ago, Stabster said:

7.0.1

 

It works for me, perhaps you have some conflicting packages installed via NerdTools or /boot/extra?

 

root@TowerOLD:~# pip --version
pip 24.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11)

 

9 hours ago, Rysz said:

 

It works for me, perhaps you have some conflicting packages installed via NerdTools or /boot/extra?

 

root@TowerOLD:~# pip --version
pip 24.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11)

 

Edit:

After hours of google and chatgpt (zero help from that thing) I did find a solution.
If anyone else has the same problem as me:
Go to settings in CA and allow installation of old plugins. Reinstall NerdTools and try to remove python from there. Eventho nothing was "enabled" as installed it said the package was installed on the far right of the table. Only pip, not python. I had to re-enable and de-enable several times, but eventually the old pip did uninstall and now the new plugin works.

I'm not sure what went wrong, but I did remove the packages when I uninstalled NerdTools before UnRaid 7.0.
Just something to check out if you have the  same issues as me.

Edited by Stabster

  • Author
19 hours ago, Stabster said:

Edit:

After hours of google and chatgpt (zero help from that thing) I did find a solution.
If anyone else has the same problem as me:
Go to settings in CA and allow installation of old plugins. Reinstall NerdTools and try to remove python from there. Eventho nothing was "enabled" as installed it said the package was installed on the far right of the table. Only pip, not python. I had to re-enable and de-enable several times, but eventually the old pip did uninstall and now the new plugin works.

I'm not sure what went wrong, but I did remove the packages when I uninstalled NerdTools before UnRaid 7.0.
Just something to check out if you have the  same issues as me.

 

Strange... the (new) Python plugin shouldn't even let you install it if an old installation was detected.

Also, any reboot should've cleared everything, especially if you don't have NerdTools installed anymore.

Well... in any case, glad things are working for you now! 🙂 

 

  • 3 months later...

Seeing my flash backup increasing in size, I did some digging and found Python 3 for unraid / dwpython containing a lot of older and semingly not used files

Would it be an idea to have the plugin check whether some of the existing packages can be removed when downloading new?

-rw------- 1 root root  60K Sep 20  2024 dwpython-2024.09.19-x86_64-1.txz
-rw------- 1 root root  60K Oct 11  2024 dwpython-2024.10.08-x86_64-1.txz
-rw------- 1 root root  60K Jan  9  2025 dwpython-2025.01.09-x86_64-1.txz
-rw------- 1 root root  58K Feb 26 21:02 dwpython-2025.02.26-x86_64-1.txz
-rw------- 1 root root  58K Jul 15 13:06 dwpython-2025.07.09-x86_64-1.txz
-rw------- 1 root root   38 Sep 20  2024 dwpython.cfg
-rw------- 1 root root 2.3M Sep 20  2024 python-pip-24.2-x86_64-1.txz
-rw------- 1 root root 2.3M Sep 20  2024 python-pip-24.2-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 2.3M Oct 11  2024 python-pip-24.2-x86_64-2dwl_slack15.1.txz
-rw------- 1 root root 2.4M Jan  9  2025 python-pip-24.3.1-x86_64-1dw_slack15.1.txz
-rw------- 1 root root 2.3M Jan  9  2025 python-pip-24.3.1-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 2.3M Jan  9  2025 python-pip-24.3.1-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root 2.4M Jul 15 13:06 python-pip-25.1.1-x86_64-1dw_slack15.1.txz
-rw------- 1 root root 2.4M Jul 15 13:06 python-pip-25.1.1-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 2.3M Jul 15 13:06 python-pip-25.1.1-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root 1.8M Sep 20  2024 python-setuptools-75.1.0-x86_64-1.txz
-rw------- 1 root root 1.8M Sep 20  2024 python-setuptools-75.1.0-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 1.8M Oct 11  2024 python-setuptools-75.1.0-x86_64-2dwl_slack15.1.txz
-rw------- 1 root root 1.8M Jan  9  2025 python-setuptools-75.8.0-x86_64-1dw_slack15.1.txz
-rw------- 1 root root 1.8M Jan  9  2025 python-setuptools-75.8.0-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 1.8M Jan  9  2025 python-setuptools-75.8.0-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root 1.7M Jul 15 13:06 python-setuptools-80.9.0-x86_64-1dw_slack15.1.txz
-rw------- 1 root root 1.7M Jul 15 13:06 python-setuptools-80.9.0-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 1.7M Jul 15 13:06 python-setuptools-80.9.0-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root  25M Sep 20  2024 python3-3.11.10-x86_64-1.txz
-rw------- 1 root root  23M Jan  9  2025 python3-3.11.11-x86_64-1dw_slack15.1.txz
-rw------- 1 root root  23M Jul 15 13:06 python3-3.11.13-x86_64-1dw_slack15.1.txz
-rw------- 1 root root  23M Jul 15 13:06 python3-3.12.11-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root  22M Sep 20  2024 python3-3.12.6-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root  22M Oct 11  2024 python3-3.12.7-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root  22M Jan  9  2025 python3-3.12.8-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root  23M Oct 11  2024 python3-3.13.0-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root  23M Jan  9  2025 python3-3.13.1-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root  23M Jul 15 13:06 python3-3.13.5-x86_64-1dwl_slack15.1.txz

On 5/8/2025 at 7:19 AM, Rysz said:

 

Strange... the (new) Python plugin shouldn't even let you install it if an old installation was detected.

Also, any reboot should've cleared everything, especially if you don't have NerdTools installed anymore.

Well... in any case, glad things are working for you now! 🙂 

 

NerdTools "installed" packages by downloading them to /boot/extra -- removing NerdTools would still leave those packages there, in a location form which where packages are installed automatically on boot.

  • Author
1 minute ago, LAS said:

Seeing my flash backup increasing in size, I did some digging and found Python 3 for unraid / dwpython containing a lot of older and semingly not used files

Would it be an idea to have the plugin check whether some of the existing packages can be removed when downloading new?

-rw------- 1 root root  60K Sep 20  2024 dwpython-2024.09.19-x86_64-1.txz
-rw------- 1 root root  60K Oct 11  2024 dwpython-2024.10.08-x86_64-1.txz
-rw------- 1 root root  60K Jan  9  2025 dwpython-2025.01.09-x86_64-1.txz
-rw------- 1 root root  58K Feb 26 21:02 dwpython-2025.02.26-x86_64-1.txz
-rw------- 1 root root  58K Jul 15 13:06 dwpython-2025.07.09-x86_64-1.txz
-rw------- 1 root root   38 Sep 20  2024 dwpython.cfg
-rw------- 1 root root 2.3M Sep 20  2024 python-pip-24.2-x86_64-1.txz
-rw------- 1 root root 2.3M Sep 20  2024 python-pip-24.2-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 2.3M Oct 11  2024 python-pip-24.2-x86_64-2dwl_slack15.1.txz
-rw------- 1 root root 2.4M Jan  9  2025 python-pip-24.3.1-x86_64-1dw_slack15.1.txz
-rw------- 1 root root 2.3M Jan  9  2025 python-pip-24.3.1-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 2.3M Jan  9  2025 python-pip-24.3.1-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root 2.4M Jul 15 13:06 python-pip-25.1.1-x86_64-1dw_slack15.1.txz
-rw------- 1 root root 2.4M Jul 15 13:06 python-pip-25.1.1-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 2.3M Jul 15 13:06 python-pip-25.1.1-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root 1.8M Sep 20  2024 python-setuptools-75.1.0-x86_64-1.txz
-rw------- 1 root root 1.8M Sep 20  2024 python-setuptools-75.1.0-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 1.8M Oct 11  2024 python-setuptools-75.1.0-x86_64-2dwl_slack15.1.txz
-rw------- 1 root root 1.8M Jan  9  2025 python-setuptools-75.8.0-x86_64-1dw_slack15.1.txz
-rw------- 1 root root 1.8M Jan  9  2025 python-setuptools-75.8.0-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 1.8M Jan  9  2025 python-setuptools-75.8.0-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root 1.7M Jul 15 13:06 python-setuptools-80.9.0-x86_64-1dw_slack15.1.txz
-rw------- 1 root root 1.7M Jul 15 13:06 python-setuptools-80.9.0-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root 1.7M Jul 15 13:06 python-setuptools-80.9.0-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root  25M Sep 20  2024 python3-3.11.10-x86_64-1.txz
-rw------- 1 root root  23M Jan  9  2025 python3-3.11.11-x86_64-1dw_slack15.1.txz
-rw------- 1 root root  23M Jul 15 13:06 python3-3.11.13-x86_64-1dw_slack15.1.txz
-rw------- 1 root root  23M Jul 15 13:06 python3-3.12.11-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root  22M Sep 20  2024 python3-3.12.6-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root  22M Oct 11  2024 python3-3.12.7-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root  22M Jan  9  2025 python3-3.12.8-x86_64-1dwp_slack15.1.txz
-rw------- 1 root root  23M Oct 11  2024 python3-3.13.0-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root  23M Jan  9  2025 python3-3.13.1-x86_64-1dwl_slack15.1.txz
-rw------- 1 root root  23M Jul 15 13:06 python3-3.13.5-x86_64-1dwl_slack15.1.txz

NerdTools "installed" packages by downloading them to /boot/extra -- removing NerdTools would still leave those packages there, in a location form which where packages are installed automatically on boot.

There's currently no ideal way to do this within the constraints of the plugin system.

You can remove and re-install the plugin to clean up older files, or remove them (*.txz) manually.

The plugin will re-download any files it needs, in case you accidentally purged any still needed ones.

Hello, could you help me, how can I run Python Web applications on Unraid, maybe there is some easy way without building Docker?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.