read-the-docs: ImportError despite dependency being set in setup.py

222 views Asked by At

Consider this build error: I see lines like: ImportError: No module named swisseph and invalid signature for automodule (u'jyotisha\n :members:'). My setup.py does include pyswisseph as a dependency already.. What's a good fix?

PS: My local sphinx build seems fine.

1

There are 1 answers

0
vishvAs vAsuki On BEST ANSWER

Following @steve-piercy's tip and the FAQ, I was able to get past this error - I just needed to to enable the virtualenv feature in the Admin page of my project.

The install then fails for another (as yet undebugged reason) - but that's separate.