https://bugs.kde.org/show_bug.cgi?id=399100
Bug ID: 399100 Summary: Make it possible to install packages via pip Product: krita Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: Scripting Assignee: krita-bugs-n...@kde.org Reporter: dev.lar...@gmail.com Target Milestone: --- I'd be nice with a way to install packages on-demand from with-in scripts. Like this -------------------- import pip def install(package): if hasattr(pip, 'main'): pip.main(['install', package]) else: pip._internal.main(['install', package]) ... install('pillow') -------------------- Running this code via scripter fails with: ********************** locale.Error: unsupported locale setting In file: /tmp/.mount_krita-ymDKuy/usr/lib/python3.5/locale.py In function: setlocale at line: 594. Line with error: return _setlocale(category, locale) ********************** -- You are receiving this mail because: You are watching all bug changes.