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.

Help removing Python

Featured Replies

I am having issues with Python and as a result, I am looking to uninstall it. It appears that Python is being installed by one of my plugins, but I am unable to figure out which by looking through my syslog. See diagnostics below.

 

 Please help me figure out how to remove Python from my system so that I can do a clean reinstall of Python to hopefully resolve my issues with missing pip packages.

TIA!

z840-diagnostics-20250407-2145.zip

Solved by depoultry

  • Community Expert

Python is usually a very user-friendly language. You can run different versions with different pips at the same time on the same host. Just create a "virtual environment" (read python doc) and install all needed plugins there.

 

  • Community Expert
9 hours ago, depoultry said:

I am having issues with Python and as a result, I am looking to uninstall it. It appears that Python is being installed by one of my plugins, but I am unable to figure out which by looking through my syslog. See diagnostics below.

 

 Please help me figure out how to remove Python from my system so that I can do a clean reinstall of Python to hopefully resolve my issues with missing pip packages.

TIA!

z840-diagnostics-20250407-2145.zip 123.43 kB · 1 download

No sign of Python being installed that I can see.    What makes you think it is being installed, and what sort of problem are you encountering?

  • Author
39 minutes ago, itimpi said:

No sign of Python being installed that I can see.    What makes you think it is being installed, and what sort of problem are you encountering?

 

I can run pip commands in unRAID's CLI which makes me think Python is installed.I understand that unRAID loads everything into RAM so I restarted the system hoping that it would get rid of Python so that I can do a proper install to resolve this issue, but it didn't.

The issue I am having is that I am unable to install the docker library through pip, it gives me the following error when I run "pip3 install docker":

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

 

From my research, this error indicates that Python wasn't installed properly and the fix would be to do reinstall it.

Edited by depoultry
More info.

  • Author
2 hours ago, MAM59 said:

Python is usually a very user-friendly language. You can run different versions with different pips at the same time on the same host. Just create a "virtual environment" (read python doc) and install all needed plugins there.

 


Let me explain what I am trying to do and maybe you can let me know if a venv would be an effective solution. I am deploying Checkmk in my environment. Checkmk requires that the python docker package be installed so that it can parse through the docker containers and gather information. If I were to install the plugins/packages in a venv, would Checkmk be able to utilize those packages?

With that said, I don't believe I would be able to install the packages I am trying to install because something is wrong with the Python installation in my unRAID. See my previous post for the errors I am getting when attempting to install the python docker package.

Edited by depoultry

  • Community Expert

if checkmk is a container then nothing on the host affects it in the first place.

  • Author
Just now, Kilrah said:

if checkmk is a container then nothing on the host affects it in the first place.

Checkmk is running on a different machine. I am installing an agent on unRAID (not through a container or VM, directly onto unRAID) that sends data to the Checkmk host.

  • Community Expert

What Unraid Version? Did you install the Python3 plugin?

  • Author
Just now, Kilrah said:

What Unraid Version? Did you install the Python3 plugin?

I am running version 7.0.1. I have attempted to install the Python3 plugin which led to me realize that Python is already installed. When installing the plugin, I get the following error:

 

plugin: installing: dwpython.plg
Executing hook script: pre_plugin_checks
plugin: downloading: dwpython.plg ... done

Executing hook script: pre_plugin_checks

-------------------------------------------------------------
!!! INSTALLATION ABORTED
!!! python3 is already installed on your system.
!!! Perhaps remnants in '/boot/extra' or by another plugin?
-------------------------------------------------------------

plugin: run failed: '/bin/bash' returned 1
Executing hook script: post_plugin_checks

 

I attempted to locate the /boot/extra directory, but it is missing. I presume that this was a directory in previous version of unRAID and no longer available over my version. When I navigate to the boot directory, this is what I see (see attached image).

 

 

Screenshot 2025-04-08 at 8.29.49 AM.png

  • Community Expert

Why aren't you using one of the checkmk client containers available in apps?

  • Author
1 minute ago, Kilrah said:

Why aren't you using one of the checkmk client containers available in apps?

 

I am using the plugin, well trying to. The plugin runs a .py script that attempts to install the docker library on array startup and because of the errors mentioned previously, it isn't working. I need to resolve the error with pip & ssl to get the plugin you are referring to work. Hopefully we can make some progress.

  • Community Expert

Then post in that plugin's support outlet so that the maintainer can help you/fix it if necessary.

  • Author
Just now, Kilrah said:

Then post in that plugin's support outlet so that the maintainer can help you/fix it if necessary.

 

The issue isn't with the plugin though. The issue is with Python being installed on unRAID, presumably incorrectly. If I try to run "pip3 install docker" myself in CLI I get the error and the script is doing the same thing. To me this indicates an issue with the Python installation, not with the plugin.

I just need assistance removing Python from unRAID, or figuring out which plugin is installing it so that I can remove, install it via the Python3 plugin, and then reinstall it. I reckon that will fix my issue.

  • Community Expert

Look at your system's syslog, during the boot process there will be output of plugins being installed, if one installed python it should be visible there.

But depending on what it is it's still probably an issue for the plugin if it can't work with a version that's installed by another common plugin.

  • Community Expert
3 hours ago, depoultry said:

For anyone that encounters this issue in the future, this is how I fixed it.

1. Install the un-get plugin. For more information, see: https://www.reddit.com/r/unRAID/comments/wy9nft/unget_a_simple_command_line_tool_to_install/

2. Ran 'un-get install python3 python-pip'

 

This installed Python with the needed libraries and allowed me to install the docker package. 

Those steps will not survive a reboot as Python is only being installed into RAM.

  • Author
2 minutes ago, itimpi said:

Those steps will not survive a reboot as Python is only being installed into RAM.

Which changes? The packages installed by un-get or the docker library being installed via pip? I resolved the docker library issue by running a script on array startup to install the docker library.

  • Community Expert
3 hours ago, depoultry said:

The packages installed by un-get or the docker library being installed via pip?

I would expect both.

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.