hi. try install sphinx usingi pip install sphinx --update Em 21/12/2016 02:59, <[email protected]> escreveu:
> > I tried to setup sphinx to start documenting our project but ran into the > following error : > > ram@Rams-laptop:~/fractalio/integralstor_unicell/docs$ make html > Running Sphinx v1.5.1 > Original exception: > Traceback (most recent call last): > File "/usr/local/lib/python2.7/dist-packages/sphinx/application.py", > line 512, in setup_extension > mod = __import__(extension, None, None, ['setup']) > File "/usr/local/lib/python2.7/dist-packages/sphinx/builders/linkcheck.py", > line 35, in <module> > from sphinx.util import encode_uri, requests > File "/usr/local/lib/python2.7/dist-packages/sphinx/util/requests.py", > line 20, in <module> > from requests.packages.urllib3.exceptions import SSLError, > InsecureRequestWarning > ImportError: No module named packages.urllib3.exceptions > > > Traceback (most recent call last): > File "/usr/local/lib/python2.7/dist-packages/sphinx/cmdline.py", line > 295, in main > opts.warningiserror, opts.tags, opts.verbosity, opts.jobs) > File "/usr/local/lib/python2.7/dist-packages/sphinx/application.py", > line 189, in __init__ > self.setup_extension(extension) > File "/usr/local/lib/python2.7/dist-packages/sphinx/application.py", > line 516, in setup_extension > err) > ExtensionError: Could not import extension sphinx.builders.linkcheck > (exception: No module named packages.urllib3.exceptions) > > Extension error: > Could not import extension sphinx.builders.linkcheck (exception: No module > named packages.urllib3.exceptions) > make: *** [html] Error 1 > ------------------ > > I have urllib3 installed : > > ram@Rams-laptop:~/fractalio/integralstor_unicell/docs$ python > Python 2.7.6 (default, Oct 26 2016, 20:30:19) > [GCC 4.8.4] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import urllib3 > >>> > > So are there any other dependencies that I have not met? > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
