shirou / sphinxcontrib-ansibleautodoc

autodoc for ansible playbook
14 stars 5 forks source link

Can't import module #4

Open cvernooy23 opened 5 years ago

cvernooy23 commented 5 years ago
sphinx-build -b html source/ docs/                        
Running Sphinx v2.2.1

Extension error:
Could not import extension sphinxcontrib.ansibleautodoc (exception: No module named 'sphinxcontrib.ansibleautodoc')

config file in source/

extensions = ['sphinxcontrib.ansibleautodoc'
]

python 3.7.5

python
Python 3.7.5 (default, Nov  1 2019, 02:16:32) 
[Clang 11.0.0 (clang-1100.0.33.8)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sphinxcontrib.ansibleautodoc
>>>
shirou commented 5 years ago

On my Sphinx v2.2.1, python 3.6.7 environment, I can build. (I should install pyyaml manually)

flickerfly commented 4 years ago

Did you figure this out? Maybe it can be closed?