Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
renirss opened this issue Jun 20, 2023 · 0 comments
Open

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

renirss opened this issue Jun 20, 2023 · 0 comments

Comments

@renirss
Copy link

renirss commented Jun 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant