By Erich Purpur

2019-01-10 21:39:50 8 Comments

If it is helpful, I am using QGIS 3.4.3 (Madeira) and MacOS High Sierra v10.13.6

I am trying to install a QGIS plugin manually, I've been using the instructions from the PyQGIS Programmer's Guide by Gary Sherman. I've also found several helpful threads on stackoverflow such as:

How to install a QGIS plugin when offline?

installing plugins manually

How to Install QGIS 2.6 plugins offline (Though I am using version 3.4)

I've created a plugin on a local drive using the Plugin Builder.

I have compiled the resources file using the following (in the terminal) which is straight from the QGIS documentation

pyrcc5 -o resources.qrc

and I copied my plugin directory to my QGIS plugins directory. Here is a screenshot of my directory, with some other plugins I've installed using the Plugin Manager. My test plugin is called "whereisthis": enter image description here

When I open the Plugin Manager in QGIS, the other plugins in the same folder are visible under installed (such as NNJoin, mmqgis, EcoValuator) but 'whereisthis' is not on the list: enter image description here

The book states: "You should now see your plugin in the list of installed plugins". But it is not there.

According to the other stackoverflow threads which I referenced earlier, I have reloaded my repository, I have enabled experimental plugins, I have rebooted QGIS and my machine (several times).

I also edited my metadata.txt file to make sure the correct minimum and maximum versions are available: enter image description here

The plugin is also not in the "Invalid" tab of the Plugin Manager:

enter image description here

Is there something else I am overlooking?


@xunilk 2019-01-10 23:18:03

Probably, your problem is in this command:

pyrcc5 -o resources.qrc

QGIS documentation has some issues due lack of adequate actualization. I did same plugin and right command is:

pyrcc5 -o resources.qrc

Additional details can be observed here:

Compiling resources in QGIS 2.99 (Windows) for creating plugin?

where same plugin works perfectly.

@Erich Purpur 2019-01-11 13:54:24

I was able to create the new file and I also edited my metadata.txt file (according to Gary Johnson who replied to your thread). And now my plugin is available. Thank you very much!

@xunilk 2019-01-11 13:55:08

You're welcome.

@xunilk 2019-01-11 14:00:12

It was the own founder of QGIS, Gary Sherman, not Gary Johnson.

@Erich Purpur 2019-01-11 14:05:38

Yes, Gary Sherman, thank you.

Related Questions

Sponsored Content

3 Answered Questions

[SOLVED] Unable to Install External QGIS Plugins

1 Answered Questions

[SOLVED] QGIS 3.2.2 OpenLayers plugin isn't listed to install

2 Answered Questions

[SOLVED] Building QGIS 2.16.3 Plugins on Mac OS X Sierra

0 Answered Questions

Plugin install failed in QGIS 2.6

0 Answered Questions

Missing Grass Toolbox plugin running QGIS 2.18.13

2 Answered Questions

[SOLVED] How to install QGIS 1.8 plugin Georeferencer?

  • 2013-01-14 16:40:59
  • jacopo
  • 4178 View
  • 4 Score
  • 2 Answer
  • Tags:   qgis qgis-plugins

0 Answered Questions

Combining multiple custom QGIS plugins into one plugin?

1 Answered Questions

[SOLVED] QGIS - updating Processing plugin

2 Answered Questions

[SOLVED] No plugin icon in the toolbox in QGis 2.4

Sponsored Content