Hi all,
I've recently started having a problem where Sab isn't finding the Python installation. It has been working just fine for a while now. Suddenly, I get the following message:
Exit(9009) Python was not found but can be installed from the Microsoft Store: <insert microsoft link that I can't post here>.
When I saw this message attached to 20+ new files, I went and updated Python and Sab, but I'm still getting the message.
Any ideas why Python (which is definitely installed) would suddenly not be found? Nothing has changed otherwise.
Thanks.
Python not found but it's there
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
-
- Newbie
- Posts: 5
- Joined: December 14th, 2019, 10:43 pm
Re: Python not found but it's there
Is this on Windows? If so, which Windows exactly? Because " Microsoft Store" sounds Windows-S-style.
SABnzbd on Windows brings its own python, included in the SAB exe ... so ... no need to install Python at all. It could be a post-processing script or another program that is looking for Python.
SABnzbd on Windows brings its own python, included in the SAB exe ... so ... no need to install Python at all. It could be a post-processing script or another program that is looking for Python.
-
- Newbie
- Posts: 5
- Joined: December 14th, 2019, 10:43 pm
Re: Python not found but it's there
This is Windows 10. And the script that is trying to run is sabtosickbeard, which calls the autoprocesstv script.
Like the previous post said, there's never been a problem until recently, and it was sudden. It has been running successfully for months.
Like the previous post said, there's never been a problem until recently, and it was sudden. It has been running successfully for months.
-
- Newbie
- Posts: 5
- Joined: December 14th, 2019, 10:43 pm
Re: Python not found but it's there
Any thoughts?
-
- Newbie
- Posts: 5
- Joined: December 14th, 2019, 10:43 pm
Re: Python not found but it's there
I appreciate you taking the time to respond, but that's not an answer to my question.
I'd like to find out why this is suddenly happening. Also, manually running it from CMD defeats the purpose of Sabnzbd running the script for me as part of its function.
I'd like to find out why this is suddenly happening. Also, manually running it from CMD defeats the purpose of Sabnzbd running the script for me as part of its function.
-
- Newbie
- Posts: 5
- Joined: December 14th, 2019, 10:43 pm
Re: Python not found but it's there
Even weirder now, there have been 2 files that have come in, where the script has completed. The rest are all still returning with the message that Python is not installed, when it clearly is.
Anyone?
Anyone?
Re: Python not found but it's there
When you install Python, make sure it matches your script's Python. So in most cases it's a Python 2 script, so make sure you have Python 2.7 installed.
When installing Python, make sure that during the install select to add Python to the Path, which is one of the advanced settings.
Otherwise it might indeed not find it.
After every install of Python, you need to reboot the PC.
When installing Python, make sure that during the install select to add Python to the Path, which is one of the advanced settings.
Otherwise it might indeed not find it.
After every install of Python, you need to reboot the PC.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Python not found but it's there
Open the Python Shell. You see the Python Shell window appear.
Type import sys and press Enter.
Type for p in sys.path: and press Enter. Python automatically indents the next line for you. ...
Type print(p) and press Enter twice.
Type import sys and press Enter.
Type for p in sys.path: and press Enter. Python automatically indents the next line for you. ...
Type print(p) and press Enter twice.