Error: Invalid 'build_sphinx' command

how can i set documentation for rdflib on mac osx 10.10.1 python 2.7.9? I followed the instructions described in 1 , and I get an error: invalid command 'build_sphinx', documentation is not installed. rdflib library works well, I tested. In addition, sphinx works fine - it is also verified that sphinx-quickstart.

+4
source share
1 answer

You should use setuptools.setupinsteaddistutils.core.setup

if you replace

from distutils.core import setup

with

from setuptools import setup

And you have sphinx installed and setuptools installed ... then it will work.

+1
source

All Articles