Reputation: 71
how can I install the documentation for rdflib in mac osx 10.10.1 python 2.7.9? I have followed the instructions as outlined in 1 and I get error: invalid command 'build_sphinx' the documentation does not install. the library rdflib works well, I have tested. also, sphinx is working fine -also tested, which sphinx-quickstart.
Upvotes: 7
Views: 3228
Reputation: 606
Make sure to have both sphinx
and setuptools
installed.
pip install sphinx
pip install setuptools
Upvotes: 4
Reputation: 313
You have to use the setuptools.setup
instead of distutils.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.
Upvotes: 2