No module named compat
Issue #6
resolved
Hi there, I'm having some issues using this extension:
I installed this extension (via pip), godocjson (in path) and added the domain to my extension:
extensions = [ 'sphinxcontrib.golangdomain',...
But when trying to run sphinx-build I get this error:
Running Sphinx v1.7.0
Extension error:
Could not import extension sphinxcontrib.golangdomain (exception: No module named compat)
Any ideas of what is wrong here?
Comments (4)
-
-
reporter Thanks for the speedy reply @awhetter ! I was able to get past that error by building the code in the repo. But now I am getting rather warnings like below and it's not picking up packages/classes/funcs.
WARNING: 4 column based index found. It might be a bug of extensions you use: [('single', u'test_service.Service (Golang type)', u'test_service.Service', u'test_service.Service')]
-
reporter I'm going to close this issue, since it's a dupe. The 4 column based index issue is same as this: https://github.com/sphinx-doc/sphinx/issues/2673
-
reporter - changed status to resolved
Duplicate
- Log in to comment
This is a duplicate of #5. A fix has already been merged, it's just waiting for @ymotongpoo to make a release with the fix.