Bug 415149

Summary: Craft failed to install, complains about Python2
Product: [Developer tools] Craft Reporter: Alexander Potashev <aspotashev>
Component: CoreAssignee: Hannah von Reth <vonreth>
Status: RESOLVED FIXED    
Severity: normal CC: kde-windows, ostroffjh, piyushaggarwal002
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alexander Potashev 2019-12-13 18:50:02 UTC
SUMMARY
Craft failed to install, complains about Python2.

On the command line I get a log similar to this: https://invent.kde.org/snippets/566

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 brute4s99 2019-12-13 19:18:59 UTC
Hi Alexander!
You cannot currently bypass installation of Craft without installing Python2 .7.

You can install "Python 2.7 x86-64 MSI installer" from https://www.python.org/downloads/release/python-2717/

and then uncomment the line that says:-

#Python27 = C:\python27

in CraftRoot/etc/CraftSettings.ini
Comment 2 Alexander Potashev 2019-12-13 19:32:50 UTC
I was able to install Craft after manually installing Python 2.7 into C:\Python27. No changes to CraftSettings.ini were necessary.

Too bad the dependency on Python2 is not documented on wiki page https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows
Comment 3 Jack 2020-04-09 21:06:05 UTC
It seems the [possible] dependency on Python27 is now mentioned on the wiki page.  Should this be closed?

Separate but related, is there any effort to remove python27 dependencies?
Comment 4 Alexander Potashev 2020-04-10 10:11:39 UTC
Thanks!