0

I am trying to use Sphinx and it's giving me errors. What am I missing here?

WARNING: autodoc: failed to import module 'routes' from module 'app_folder'; the following exception was raised: No module named 'flask_sqlalchemy'

conf.py

sys.path.insert(0, os.path.abspath('../../'))

functions.rst

Functions
=========

.. automodule:: app_folder.routes
    :members:
    :undoc-members:

enter image description here

mzjn
  • 48,958
  • 13
  • 128
  • 248
e.T55
  • 443
  • 1
  • 4
  • 21

1 Answers1

0

The problem was i was using virtualenv and installed the sphinx before the activating the virtualenv

e.T55
  • 443
  • 1
  • 4
  • 21