Skip to main content
edited body; edited title
Source Link
Taras
  • 36k
  • 7
  • 77
  • 153

Sphinx doc error "no module named 'qgis'" with QGIS python pluginPlugin

I try to generate my PyQGIS plugin documentation with Sphinx.

I made a Python virtualenv based on the QGIS environment and initiated my Sphinx doc with the package already installed in it.

But when I generate the htmlHTML doc, I get this error :

WARNING: autodoc: failed to import module 'mymodule' from module 'mainmodule'; the following exception was raised: No module named 'qgis'

How can I tell sphinxSphinx where to find QGIS?

Sphinx doc error "no module named 'qgis'" with QGIS python plugin

I try to generate my PyQGIS plugin documentation with Sphinx.

I made a Python virtualenv based on the QGIS environment and initiated my Sphinx doc with the package already installed in it.

But when I generate the html doc, I get this error :

WARNING: autodoc: failed to import module 'mymodule' from module 'mainmodule'; the following exception was raised: No module named 'qgis'

How can I tell sphinx where to find QGIS?

Sphinx doc error "no module named 'qgis'" with QGIS Plugin

I try to generate my PyQGIS plugin documentation with Sphinx.

I made a Python virtualenv based on the QGIS environment and initiated my Sphinx doc with the package already installed in it.

But when I generate the HTML doc, I get this error :

WARNING: autodoc: failed to import module 'mymodule' from module 'mainmodule'; the following exception was raised: No module named 'qgis'

How can I tell Sphinx where to find QGIS?

Bumped by Community user
Bumped by Community user
Bumped by Community user
added 7 characters in body
Source Link
Taras
  • 36k
  • 7
  • 77
  • 153

I try to generate my PyQGIS plugin documentation with Sphinx.

I made a python virtualenvPython virtualenv based on the QGIS environment and initiated my Sphinx doc with the package already installed in it.

But when I generate the html doc, I get this error :

WARNING: autodoc: failed to import module 'mymodule' from module 'mainmodule'; the following exception was raised: No module named 'qgis'

WARNING: autodoc: failed to import module 'mymodule' from module 'mainmodule'; the following exception was raised: No module named 'qgis'

How can I tell sphinx where to find QGIS  ?

I try to generate my PyQGIS plugin documentation with Sphinx.

I made a python virtualenv based on QGIS environment and initiated my Sphinx doc with the package already installed in it.

But when I generate the html doc, I get this error :

WARNING: autodoc: failed to import module 'mymodule' from module 'mainmodule'; the following exception was raised: No module named 'qgis'

How can I tell sphinx where to find QGIS  ?

I try to generate my PyQGIS plugin documentation with Sphinx.

I made a Python virtualenv based on the QGIS environment and initiated my Sphinx doc with the package already installed in it.

But when I generate the html doc, I get this error :

WARNING: autodoc: failed to import module 'mymodule' from module 'mainmodule'; the following exception was raised: No module named 'qgis'

How can I tell sphinx where to find QGIS?

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Made plugin name bold and marked error so it could be read without scrolling
Source Link
Kadir Şahbaz
  • 78.6k
  • 57
  • 260
  • 407

I try to generate my pyQGISPyQGIS plugin documentation with Sphinx.

I made a python virtualenv based on QGIS environment and initiated my Sphinx doc with the package already installed in it.

But when I generate the html doc, I get this error :

WARNING: autodoc: failed to import module 'mymodule' from module 'mainmodule'; the following exception was raised: No module named 'qgis'

How can I tell sphinx where to find QGIS ?

I try to generate my pyQGIS plugin documentation with Sphinx.

I made a python virtualenv based on QGIS environment and initiated my Sphinx doc with the package already installed in it.

But when I generate the html doc, I get this error :

WARNING: autodoc: failed to import module 'mymodule' from module 'mainmodule'; the following exception was raised: No module named 'qgis'

How can I tell sphinx where to find QGIS ?

I try to generate my PyQGIS plugin documentation with Sphinx.

I made a python virtualenv based on QGIS environment and initiated my Sphinx doc with the package already installed in it.

But when I generate the html doc, I get this error :

WARNING: autodoc: failed to import module 'mymodule' from module 'mainmodule'; the following exception was raised: No module named 'qgis'

How can I tell sphinx where to find QGIS ?

Made plugin name bold and marked error so it could be read without scrolling
Source Link
Loading
Bumped by Community user
Bumped by Community user
Source Link
dmjf08
  • 1.3k
  • 10
  • 20
Loading