Page 2 of 6

Re: Missing Python Runtime (search)

Posted: Mon Oct 16, 2023 5:41 am
by bitcoin
Much love! My own build!! xD

I'm in a rush now, but.. What tools would I need on my PC to do the build stuff? Remote desktop is a thing and you could live-trace whatever the frack is happening on my system :)

Read you laters!

Devvie

Re: Missing Python Runtime (search)

Posted: Mon Oct 16, 2023 12:44 pm
by Peter
I followed this guide:

https://github.com/qbittorrent/qBittorr ... c-linkage)

It should work, but it doesn't...

- Instead of "cmd" you have to use "Visual Studio development command line" whatever
- The build will fail, because libtorrent is 2.0.9 from vcpkg and it wants 1.xx. I tried changing CMake files but no dice so far.
- You can only make Qt5 builds like this because Qt6 is not in vcpkg. There is a ticket about it which is years old, but nothing.. sadly.

(the msys2 build works but it's NOT static so it ain't good for us.)

okay so I had to build libtorrent like so:
- grab the source from Github
- also grab the things from deps\ folder
- put together the source folder
- compile it as instructed in the Wiki

then proceed with building qbittorrent BUT use the "-DLibtorrentRasterbar_DIR=C:\path\to\libtorrent-install-dir\lib\cmake\LibtorrentRasterbar" too.

it's still failing but making progress here.

So at this point I am stuck at compiling it finally - for some reason the build makes 32-bit binaries. Don't ask me why, 64-bit is specified. I even tried to set the env var for it.

Re: Missing Python Runtime (search)

Posted: Mon Oct 16, 2023 5:17 pm
by bitcoin
Maybe this is the time I absolve you of your admin duties? O:-)

I guess I'll just have to accept that I'm stuck with Bit Che search :'(

Thank you so much for trying and putting in all the extra effort. I hope you at least learn how to build qB from scratch as a reward of sorts.

xx

Re: Missing Python Runtime (search)

Posted: Mon Oct 16, 2023 9:36 pm
by Peter
OK I figured it out. I'll try to update the guide tomorrow & post the build too.

Re: Missing Python Runtime (search)

Posted: Tue Oct 17, 2023 6:43 am
by bitcoin
Alright, I'll be around :) I hope I can figure it all out... A lot of dependencies and tools needed :/

Re: Missing Python Runtime (search)

Posted: Tue Oct 17, 2023 11:48 am
by Peter
Sending you a dm...

Re: Missing Python Runtime (search)

Posted: Tue Oct 17, 2023 4:08 pm
by bitcoin
So you made the binary for me, of course! I was so dreading compiling it myself xD

I'm gonna test your build now and repost the logs!

Much love

xx

Re: Missing Python Runtime (search)

Posted: Tue Oct 17, 2023 4:17 pm
by bitcoin
Relevant logs:

Code: Select all

17-10-2023 18:13 - isSupportedVersion = false
17-10-2023 18:13 - Python not detected
17-10-2023 18:13 - testPythonInstallation() -> outputSplit.size() <= 1 0
17-10-2023 18:13 - testPythonInstallation() C:/Users/Gebruiker/AppData/Local/Programs/Python/Python38/python.exe  0
17-10-2023 18:13 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 18:13 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 18:13 - PythonInfo isValid() = FALSE
17-10-2023 18:13 - Found Python in USER.
17-10-2023 18:13 - reg search -> Regkey not found...
17-10-2023 18:13 - reg search -> else if (baseDir.exists(u'python.exe'_qs))
17-10-2023 18:13 - Detected possible Python v%ls location...
17-10-2023 18:13 - Searching registry via pythonSearchReg()...
17-10-2023 18:13 - testPythonInstallation() -> outputSplit.size() <= 1 0
17-10-2023 18:13 - testPythonInstallation() python  0
17-10-2023 18:13 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 18:13 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 18:13 - PythonInfo isValid() = FALSE
17-10-2023 18:13 - testPythonInstallation() -> outputSplit.size() <= 1 0
17-10-2023 18:13 - testPythonInstallation() python3  0
17-10-2023 18:13 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 18:13 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 18:13 - PythonInfo isValid() = FALSE
17-10-2023 18:13 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 18:13 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 18:13 - PythonInfo isValid() = FALSE
17-10-2023 18:13 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 18:13 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 18:13 - PythonInfo isValid() = FALSE
17-10-2023 18:13 - Python not detected
17-10-2023 18:13 - testPythonInstallation() -> outputSplit.size() <= 1 0
17-10-2023 18:13 - testPythonInstallation() C:/Users/Gebruiker/AppData/Local/Programs/Python/Python38/python.exe  0
17-10-2023 18:13 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 18:13 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 18:13 - PythonInfo isValid() = FALSE
17-10-2023 18:13 - Found Python in USER.
17-10-2023 18:13 - reg search -> Regkey not found...
17-10-2023 18:13 - reg search -> else if (baseDir.exists(u'python.exe'_qs))
17-10-2023 18:13 - Detected possible Python v%ls location...
17-10-2023 18:13 - Searching registry via pythonSearchReg()...
17-10-2023 18:13 - testPythonInstallation() -> outputSplit.size() <= 1 0
17-10-2023 18:13 - testPythonInstallation() python  0
17-10-2023 18:13 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 18:13 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 18:13 - PythonInfo isValid() = FALSE
17-10-2023 18:13 - testPythonInstallation() -> outputSplit.size() <= 1 0
17-10-2023 18:13 - testPythonInstallation() python3  0
17-10-2023 18:13 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 18:13 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 18:13 - PythonInfo isValid() = FALSE
17-10-2023 18:13 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 18:13 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 18:13 - PythonInfo isValid() = FALSE

Re: Missing Python Runtime (search)

Posted: Tue Oct 17, 2023 4:37 pm
by bitcoin
FROM: https://discuss.python.org/t/need-help- ... on/28055/9
Check for an existing installation of 3.10 in the following registry keys:

Code: Select all

HKCU\Software\Python\PythonCore\3.10\InstallPath
HKCU\Software\Python\PythonCore\3.10-32\InstallPath
HKLM\Software\Python\PythonCore\3.10\InstallPath
HKLM\Software\WOW6432Node\Python\PythonCore\3.10-32\InstallPath

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Python]

[HKEY_CURRENT_USER\Software\Python\PythonCore]
"DisplayName"="Python Software Foundation"
"SupportUrl"="https://www.python.org/"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.10]
"DisplayName"="Python 3.10 (64-bit)"
"SupportUrl"="https://www.python.org/"
"Version"="3.10.11"
"SysVersion"="3.10"
"SysArchitecture"="64bit"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.10\Help]

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.10\Help\Main Python Documentation]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python310\\Doc\\python31011.chm"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.10\Idle]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python310\\Lib\\idlelib\\idle.pyw"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.10\IdleShortcuts]
@=dword:00000001

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.10\InstalledFeatures]
"Shortcuts"="3.10.11150.0"
"exe"="3.10.11150.0"
"dev"="3.10.11150.0"
"lib"="3.10.11150.0"
"test"="3.10.11150.0"
"doc_shortcut"="3.10.11150.0"
"doc"="3.10.11150.0"
"tools"="3.10.11150.0"
"tcltk"="3.10.11150.0"
"pip"="3.10.11150.0"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.10\InstallPath]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python310\\"
"ExecutablePath"="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python310\\python.exe"
"WindowedExecutablePath"="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python310\\pythonw.exe"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.10\PythonPath]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python310\\Lib\\;C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python310\\DLLs\\"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.12]
"DisplayName"="Python 3.12 (64-bit)"
"SupportUrl"="https://www.python.org/"
"Version"="3.12.0"
"SysVersion"="3.12"
"SysArchitecture"="64bit"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.12\Help]

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.12\Help\Main Python Documentation]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python312\\Doc\\html\\index.html"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.12\Idle]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\idlelib\\idle.pyw"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.12\IdleShortcuts]
@=dword:00000001

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.12\InstalledFeatures]
"Shortcuts"="3.12.150.0"
"exe"="3.12.150.0"
"dev"="3.12.150.0"
"lib"="3.12.150.0"
"test"="3.12.150.0"
"doc_shortcut"="3.12.150.0"
"doc"="3.12.150.0"
"tcltk"="3.12.150.0"
"pip"="3.12.150.0"
"path"="3.12.150.0"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.12\InstallPath]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python312\\"
"ExecutablePath"="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python312\\python.exe"
"WindowedExecutablePath"="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python312\\pythonw.exe"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.12\PythonPath]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\;C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python312\\DLLs\\"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.8]
"DisplayName"="Python 3.8 (64-bit)"
"SupportUrl"="http://www.python.org/"
"Version"="3.8.10"
"SysVersion"="3.8"
"SysArchitecture"="64bit"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.8\Help]

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.8\Help\Main Python Documentation]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python38\\Doc\\python3810.chm"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.8\Idle]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python38\\Lib\\idlelib\\idle.pyw"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.8\IdleShortcuts]
@=dword:00000001

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.8\InstalledFeatures]
"dev"="3.8.10150.0"
"Shortcuts"="3.8.10150.0"
"exe"="3.8.10150.0"
"lib"="3.8.10150.0"
"test"="3.8.10150.0"
"doc_shortcut"="3.8.10150.0"
"doc"="3.8.10150.0"
"tools"="3.8.10150.0"
"tcltk"="3.8.10150.0"
"pip"="3.8.10150.0"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.8\InstallPath]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python38\\"
"ExecutablePath"="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python38\\python.exe"
"WindowedExecutablePath"="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python38\\pythonw.exe"

[HKEY_CURRENT_USER\Software\Python\PythonCore\3.8\PythonPath]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python38\\Lib\\;C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python38\\DLLs\\"


and this one seems to be missing some entries...

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Python]

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Python\PyLauncher]
"InstallDir"="C:\\WINDOWS\\"
"AssociateFiles"=dword:00000001
@="C:\\WINDOWS\\py.exe"

Edit:
C-program that checks the registry for correct values: https://stackoverflow.com/a/43229470/2792969
Looking for that missing registry key... Being on x64... And this comment... I think it shouldn't be there to begin with. I'll now look at your reply :)
It's under Wow6432Node if it's 32-bit python on 64-bit windows. Note also that a 32-bit app cannot normally detect the 64-bit (non-Wow6432Node) keys in the registry because of registry redirection (which means 64-bit python install wouldn't be detected by a 32-bit app).

Re: Missing Python Runtime (search)

Posted: Tue Oct 17, 2023 4:40 pm
by Peter
I think your system defaults to 310 and the code doesn't like that.

Could you run "python --version" just from cmd?
Mine is:

Code: Select all

Python 3.9.13

Re: Missing Python Runtime (search)

Posted: Tue Oct 17, 2023 4:54 pm
by bitcoin
Will do, but it won't help. At the beginning I removed all Python versions with iobit and had qbittorrent install the version it wanted. It did a full install and solved nothing :/

But I'll clean it all once more, just to be sure :)

Re: Missing Python Runtime (search)

Posted: Tue Oct 17, 2023 4:56 pm
by bitcoin
PS: 3.10.11 is what qB wants to install itself??

Anyways...

Code: Select all

C:\Windows\System32>python --version
Python 3.10.11
PS: weird it defaults to 10.11, not 3.9 per PATH statements! I'll do a reboot too

Re: Missing Python Runtime (search)

Posted: Tue Oct 17, 2023 4:57 pm
by Peter
I made you another build to see why it fails there, sending you new dm in a sec.

it installs different versions release by release.
its in mainwindow.cpp

Code: Select all

void MainWindow::installPython()

Code: Select all

void MainWindow::installPython()
{
    setCursor(QCursor(Qt::WaitCursor));
    // Download python
#ifdef QBT_APP_64BIT
    const auto installerURL = ::IsWindows8OrGreater()
        ? u"https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe"_s
        : u"https://www.python.org/ftp/python/3.8.10/python-3.8.10-amd64.exe"_s;
#else
    const auto installerURL = ::IsWindows8OrGreater()
        ? u"https://www.python.org/ftp/python/3.10.11/python-3.10.11.exe"_s
        : u"https://www.python.org/ftp/python/3.8.10/python-3.8.10.exe"_s;
#endif
    Net::DownloadManager::instance()->download(
            Net::DownloadRequest(installerURL).saveToFile(true)
            , Preferences::instance()->useProxyForGeneralPurposes()
            , this, &MainWindow::pythonDownloadFinished);
}

Re: Missing Python Runtime (search)

Posted: Tue Oct 17, 2023 5:04 pm
by bitcoin
TY! Installed. New logs after 2 successive tries to get Search bar enabled:

Code: Select all

17-10-2023 19:02 - isSupportedVersion() = false
17-10-2023 19:02 - Python not detected
17-10-2023 19:02 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:02 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:02 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:02 - testPythonInstallation() C:/Users/Gebruiker/AppData/Local/Programs/Python/Python38/python.exe  0
17-10-2023 19:02 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:02 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:02 - Found Python in USER.
17-10-2023 19:02 - reg search -> Regkey not found...
17-10-2023 19:02 - reg search -> else if (baseDir.exists(u'python.exe'_qs))
17-10-2023 19:02 - Detected possible Python v%ls location...
17-10-2023 19:02 - Searching registry via pythonSearchReg()...
17-10-2023 19:02 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:02 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:02 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:02 - testPythonInstallation() python  0
17-10-2023 19:02 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:02 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:02 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:02 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:02 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:02 - testPythonInstallation() python3  0
17-10-2023 19:02 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:02 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:02 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:02 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:02 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:02 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:02 - Python not detected
17-10-2023 19:02 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:02 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:02 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:01 - testPythonInstallation() C:/Users/Gebruiker/AppData/Local/Programs/Python/Python38/python.exe  0
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - Found Python in USER.
17-10-2023 19:01 - reg search -> Regkey not found...
17-10-2023 19:01 - reg search -> else if (baseDir.exists(u'python.exe'_qs))
17-10-2023 19:01 - Detected possible Python v%ls location...
17-10-2023 19:01 - Searching registry via pythonSearchReg()...
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:01 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:01 - testPythonInstallation() python  0
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:01 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:01 - testPythonInstallation() python3  0
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - isSupportedVersion() = false
17-10-2023 19:01 - Python not detected
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:01 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:01 - testPythonInstallation() C:/Users/Gebruiker/AppData/Local/Programs/Python/Python38/python.exe  0
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - Found Python in USER.
17-10-2023 19:01 - reg search -> Regkey not found...
17-10-2023 19:01 - reg search -> else if (baseDir.exists(u'python.exe'_qs))
17-10-2023 19:01 - Detected possible Python v%ls location...
17-10-2023 19:01 - Searching registry via pythonSearchReg()...
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:01 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:01 - testPythonInstallation() python  0
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:01 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:01 - testPythonInstallation() python3  0
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - Python not detected
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:01 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:01 - testPythonInstallation() C:/Users/Gebruiker/AppData/Local/Programs/Python/Python38/python.exe  0
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - Found Python in USER.
17-10-2023 19:01 - reg search -> Regkey not found...
17-10-2023 19:01 - reg search -> else if (baseDir.exists(u'python.exe'_qs))
17-10-2023 19:01 - Detected possible Python v%ls location...
17-10-2023 19:01 - Searching registry via pythonSearchReg()...
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:01 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:01 - testPythonInstallation() python  0
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 procOutput: 
17-10-2023 19:01 - testPythonInstallation() ->outputSplit.size() <= 1 0
17-10-2023 19:01 - procOutput is empty, procOutput = proc.readAllStandardError()
17-10-2023 19:01 - testPythonInstallation() python3  0
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: !version.isValid()
17-10-2023 19:01 - PythonInfo isValid() = FALSE: executableName isEmpty()
Time to iObit Uninstall it all away and reboot?

Re: Missing Python Runtime (search)

Posted: Tue Oct 17, 2023 5:21 pm
by Peter
bitcoin wrote: Tue Oct 17, 2023 4:56 pm PS: 3.10.11 is what qB wants to install itself??

Anyways...

Code: Select all

C:\Windows\System32>python --version
Python 3.10.11
PS: weird it defaults to 10.11, not 3.9 per PATH statements! I'll do a reboot too
Because it's an admin shell again. There are different PATH for user and admin.
If you open Start and look for "environment" two of them comes up.
One for user and one for admin.