I have a Russian chars account at my home and when I tried to install additional plugins on the QGIS I had problem like this:
Traceback (most recent call last):
File "C:/QGIS/apps/qgis/./python\qgis\utils.py", line 143, in loadPlugin
__import__(packageName)
File "C:/QGIS/apps/qgis/./python\qgis\utils.py", line 309, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named openlayers_plugin
Some of the smart humans told that happened because I have non-Latin chars in the account and Python not able to find my personal plugins folder The popular solution is changing an account name and reinstall QGIS.But you may just copy plugin's directory
C:\Users\<User Name>\.qgis\<plugin's directory>
to the global QGIS folder:
<QGIS installation folder>\apps\qgis\python\plugins
For example, C:\QGIS\apps\qgis\python\plugins.
And reinstall plugin after, Python is gonna search your plugin in the global QGIS folder first and it will install it propertly.
Комментариев нет:
Отправить комментарий