Bug 452377 - Cannot find python3, please install it on your system.
Summary: Cannot find python3, please install it on your system.
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Translation (show other bugs)
Version: 21.12.3
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-07 18:05 UTC by panvars
Modified: 2022-06-17 14:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: Brainstorm+


Attachments
Screenshot with warning (116.78 KB, image/png)
2022-04-07 18:05 UTC, panvars
Details
pip deptree control (48.20 KB, image/png)
2022-05-17 09:23 UTC, panvars
Details

Note You need to log in before you can comment on or make changes to this bug.
Description panvars 2022-04-07 18:05:46 UTC
Created attachment 148029 [details]
Screenshot with warning

SUMMARY
***
Hello everyone, I can't get the Speech-to-Text to work. I get the message: Cannot find python3, please install it on your system.  On windows 7 64bit, tried both installed and Standalone versions 21.12.3.
Installed Python 3.8.7 (System path checked)
Installed vosk and srt
Still the same warning on the Settings window
***


STEPS TO REPRODUCE
1. All the steps as shown at: https://userbase.kde.org/Kdenlive/Manual/Timeline/Editing#Speech_to_text
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 7, 64bit
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 emohr 2022-04-10 08:36:16 UTC
After you have installed Python, restart the PC. Then the path to Python get written and Kdenlive speech-to-text should work
Comment 2 panvars 2022-04-11 16:25:43 UTC
(In reply to emohr from comment #1)
> After you have installed Python, restart the PC. Then the path to Python get
> written and Kdenlive speech-to-text should work

Done so many many times. Still get the same message that python isn't installed in my system
Comment 3 emohr 2022-04-11 17:51:01 UTC
See here how to check the path settings https://www.computerhope.com/issues/ch000549.htm. 

These 2 paths should be set in the Path variables like: C:\Users\Customer\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\Customer\AppData\Local\Programs\Python\Python38\;
Comment 4 panvars 2022-05-04 13:56:22 UTC
(In reply to emohr from comment #3)
> See here how to check the path settings
> https://www.computerhope.com/issues/ch000549.htm. 
> 
> These 2 paths should be set in the Path variables like:
> C:\Users\Customer\AppData\Local\Programs\Python\Python38\Scripts\;C:
> \Users\Customer\AppData\Local\Programs\Python\Python38\;

Tried that too, still nothing :-(
Comment 5 emohr 2022-05-05 15:39:01 UTC
Mmh. That seems to be either an access right issue or a settings issue. On the screenshot you send there is a button "check configuration" click on that button to see if Kdenlive finds error in the settings.
Comment 6 panvars 2022-05-17 09:07:45 UTC
(In reply to emohr from comment #5)
> Mmh. That seems to be either an access right issue or a settings issue. On
> the screenshot you send there is a button "check configuration" click on
> that button to see if Kdenlive finds error in the settings.

That just re-pops the message:
Cannot find python3, please install it on your system.

Is there a tool to verify - reinstall python + dependencies for Windows 7?
I did all the installs via Powershell, I see Python 3.8 in my programs list , but maybe something went wrong.
Although I didn't get any error during installing, and "pip check" reports back unbroken...
Comment 7 panvars 2022-05-17 09:23:03 UTC
Created attachment 148911 [details]
pip deptree control

upgraded py + pipdeptree check shows the 2 deps installed
Comment 8 emohr 2022-05-17 17:54:31 UTC
I guess your user name is in Greek. Maybe this is the problem that Kdenlive doesn't find the path to Python. I have asked the developer about.
Comment 9 Jean-Baptiste Mardelle 2022-05-19 11:19:44 UTC
On Windows, the "Cannot find python3 ..." message pops up if the following command returns empty:
QStandardPaths::findExecutable(QStringLiteral("python"));

Can you check the name of your python executable (that it is called "python.exe") ? On WIndows, I usually installed python3 using the official download from the python.org website so not sure if this could be an issue.
Your username should not impact the problem...
Comment 10 panvars 2022-06-01 09:52:29 UTC
(In reply to Jean-Baptiste Mardelle from comment #9)
> On Windows, the "Cannot find python3 ..." message pops up if the following
> command returns empty:
> QStandardPaths::findExecutable(QStringLiteral("python"));
> 
> Can you check the name of your python executable (that it is called
> "python.exe") ? On WIndows, I usually installed python3 using the official
> download from the python.org website so not sure if this could be an issue.
> Your username should not impact the problem...

Hey thanks for your comments,
I've changed the user name to an English one, couldn't change the home folder name though no matter what I've tried. Since then Kdenlive crashes at launch and shows only the starting logo image but never really launches, even after reinstalling it. (all the other programs work fine)

I've also installed python3.8.7 from the official site. It's been installed in the Windows directory and the executable is named py.exe. (Haven't found a python.exe anywhere, except of course from other program installation directories)
Comment 11 emohr 2022-06-01 15:35:59 UTC
The Python.exe should be in this folder: C:\Users\YourName\AppData\Local\Programs\Python\Python38\. YourName = exchange it with your user Name. If not scan your c:\ for Python.exe and post here where do you have find it.
Comment 12 panvars 2022-06-01 19:34:56 UTC
(In reply to emohr from comment #11)
> The Python.exe should be in this folder:
> C:\Users\YourName\AppData\Local\Programs\Python\Python38\. YourName =
> exchange it with your user Name. If not scan your c:\ for Python.exe and
> post here where do you have find it.

Oh! Ok it's there, exactly in the path you've written, and it Is call ''python.exe''
Comment 13 Bug Janitor Service 2022-06-16 04:35:28 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 14 panvars 2022-06-17 14:32:20 UTC
Hey everyone, thanks for all the help.
I guess I'm giving up. I'm gonna try Kdenlive once more when I have Windows11.
Changing it to resolved..