On 31/3/19 10:56 pm, Mbeng Tanyi wrote:
Hello

I also got an error the first time I tried $ make file as follows:

    mkdir -p build/html build/doctrees
    LANG=C sphinx-build -b html -WT --keep-going -d build/doctrees
    source build/html
    /bin/sh: 1: sphinx-build: not found
    Makefile:123: recipe for target 'html' failed
    make: *** [html] Error 127


After upgrading to sphinx2 as was suggested here, I still get errors after $ make html :

    mkdir -p build/html build/doctrees
    LANG=C sphinx-build -b html -WT --keep-going -d build/doctrees  
    source build/html
    Traceback (most recent call last):
      File "/home/valentina-t/.local/bin/sphinx-build", line 7, in
    <module>
        from sphinx.cmd.build import main
      File
    "/home/valentina-t/.local/lib/python2.7/site-packages/sphinx/cmd/build.py",
    line 39
        file=stderr)
            ^
    SyntaxError: invalid syntax
    Makefile:123: recipe for target 'html' failed
    make: *** [html] Error





You need to use sphinx version 1.8.5, and python3.6.

Matti

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to