mini-ndn icon indicating copy to clipboard operation
mini-ndn copied to clipboard

from sphinx import main ImportError: cannot import name 'main'

Open renirss opened this issue 2 years ago • 0 comments

Hi everyone,

I just installed minindn and follow the instruction. When i try to using command ./waf in ndn-cxx , this error occurs

Processing sphinx_build [man]: docs/manpages/ndn-client.conf.rst docs/manpages/ndn-log.rst docs/manpages/ndnsec-cert-dump.rst docs/manpages/ndnsec-cert-gen.rst docs/manpages/ndnsec-cert-install.rst docs/manpages/ndnsec-delete.rst docs/manpages/ndnsec-export.rst docs/manpages/ndnsec-get-default.rst docs/manpages/ndnsec-import.rst docs/manpages/ndnsec-key-gen.rst docs/manpages/ndnsec-list.rst docs/manpages/ndnsec-set-default.rst docs/manpages/ndnsec-sign-req.rst docs/manpages/ndnsec-unlock-tpm.rst docs/manpages/ndnsec.rst docs/conf.py -> build/docs/manpages/ndnsec.1 build/docs/manpages/ndnsec-cert-dump.1 build/docs/manpages/ndnsec-cert-gen.1 build/docs/manpages/ndnsec-cert-install.1 build/docs/manpages/ndnsec-delete.1 build/docs/manpages/ndnsec-export.1 build/docs/manpages/ndnsec-get-default.1 build/docs/manpages/ndnsec-import.1 build/docs/manpages/ndnsec-key-gen.1 build/docs/manpages/ndnsec-list.1 build/docs/manpages/ndnsec-set-default.1 build/docs/manpages/ndnsec-sign-req.1 build/docs/manpages/ndnsec-unlock-tpm.1 build/docs/manpages/ndn-client.conf.5 build/docs/manpages/ndn-log.7

Traceback (most recent call last): File "/usr/bin/sphinx-build", line 14, in from sphinx import main ImportError: cannot import name 'main'

Waf: Leaving directory `/home/rezamaharani/mini-ndn/ndn-cxx/build' Build failed -> task in 'manpages' failed with exit status 1 (run with -v to display more information)

I already downgrade my sphinx version and still get the same error

has anyone get the same problem and already solved?

thanks a lot

renirss avatar Jun 20 '23 10:06 renirss