Hi all. We've developed a QGIS plugin, that utilizes Pythonnet to communicate with C# on Windows.
Pythonnet is not part of the chosen distribution for Python in QGIS (as of 3.34), so we do a separate installation of this module into %APPDATA%/Python, which is used by all Python distributions on the PC. But even after Pythonnet has been installed correctly, we get an error when the QGIS plugin installer tries to start the plugin. [cid:[email protected]] However, the plugin has been installed correctly, and it starts just fine when one manually activates it in the plugin window list. Why can't the plugin start when activated by the QGIS plugin installer ? Is it running in some kind of restricted environment, that excludes use of the APPDATA location ? Cheers. Ps! Yes, we are aware of different versions of Pythonnet in Python 3.7 vs 3.9. We install both. Med venlig hilsen Lars I. Nielsen GIS-kons., FME+Python Certified Professional GeoData [cid:[email protected]] Dir. +4563136849<tel:+4563136849> Tlf. +4563136800<tel:+4563136800> Mail [email protected]<mailto:[email protected]> LIFA A/S · Tlf +4563136800<tel:+4563136800> · lifa.dk<https://www.lifa.dk/> · CVR 20937289 Odense · Fredericia · Glostrup · Hillerød · Kerteminde · Kolding · Middelfart · Vejle · Vissenbjerg · Aarhus [cid:[email protected]]<https://www.linkedin.com/company/lifa-a-s/> Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S.
_______________________________________________ QGIS-User mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
