
Hi Sebastian,
it should work *if* you install the correct package(s).
* First of all make sure to download the package for python2 (not python3!) as this is what ships with Inkscape. * Secondly you'll need to figure out what package(s) you actually need for your extension (I never used PyGObject, but isn't it gtk3-only? If that's the case you might even need to download gtk3...)
Dependencies of a package are usually listed in the ".PKGINFO" file, so that might be worth a look.
Relevant packages will be in http://repo.msys2.org/mingw/x86_64/
Once you tell us what the actual requirements for your extension are I can try to help you with the MSYS2-part. Usually it's pretty straightforward though once the former part is clear..
Best Regards, Eduard
Am 27.10.2017 um 11:36 schrieb Sebastian Kraft:
Hi,
I have written an Inkscape extension (https://github.com/seebk/LaTeXText) that requires additional python modules (PyGObject). In previous Inkscape versions on windows, I could simply install the PyGObject module into the Inkscape/[...]/python/site-packages subfolder from the official PyGObject windows builds. However, since 0.92.2 it seems that the windows build and python version changed and is incompatible to the PyGObject windows builds.
What would be the recommended way to add modules to the Python distro bundled with Inkscape on windows?
I tried to use the python module from msys2/mingw64 but did not succeed. The import of gi fails, it misses some DLLs. Unfortunately, the error message does not give detailed information what exactly is missing.
Thanks for your help!
Sebastian
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel