[Numpy-discussion] Beginner Help: Generating HTML using Sphinx
matti.picus at gmail.com
Tue Apr 2 04:45:54 EDT 2019
Note the /home/valentina-t/.local/lib/python2.7 in the error message.
This indicates you are using python2.7, not python3.6. Please try using
a virtual environment or activating a conda environment.
If you need further help please reach out to me personally.
On 2/4/19 11:41 am, Mbeng Tanyi wrote:
> Both python --version and python3 --version give Python 3.6.7
> On Tue, Apr 2, 2019 at 9:39 AM Hameer Abbasi
> <einstein.edison at gmail.com <mailto:einstein.edison at gmail.com>> wrote:
> Hi Mbeng!
> What is the output of python --version and python3 --version? It
> seems to me that you’re still using Python 2.7.
> You may need to use the command python3 rather than python.
> Best Regards,
> Hameer Abbasi
> On Tuesday, Apr 02, 2019 at 10:34 AM, Mbeng Tanyi
> <valentinatessy at gmail.com <mailto:valentinatessy at gmail.com>>
> I still have a problem with this. I am using sphinx1.8.5 and
> changed the default python version on my computer to be 3.6
> but I get the following error on$ make html ;
> Traceback (most recent call last):
> File "/home/valentina-t/.local/bin/sphinx-build", line 7,
> in <module>
> from sphinx.cmd.build import main
> line 39
> SyntaxError: invalid syntax
> Makefile:123: recipe for target 'html' failed
> make: *** [html] Error 1
> I googled the error but didn't find anything really useful. I
> feel it has something to do with python2.7 as part of the
> path. Suppose I am right, I need help changing it to python3.6
> Mbeng Tanyi
More information about the NumPy-Discussion