notanumber / xapian-haystack

A Xapian backend for Haystack
GNU General Public License v2.0
154 stars 93 forks source link

When trying to install sphinx wih pip or apt for Xapian Haystack, sphinx.main() can't be called. #188

Closed PSzczepanski1996 closed 3 years ago

PSzczepanski1996 commented 5 years ago

https://github.com/sphinx-doc/sphinx/issues/6524

Build log:

checking whether g++ supports C++11 features by default... yes
checking for xapian-config... /home/patryk/workspace/.virtualenvs/muzeum/bin/xapian-config
checking /home/patryk/workspace/.virtualenvs/muzeum/bin/xapian-config works... yes
checking if /home/patryk/workspace/.virtualenvs/muzeum/bin/xapian-config version >= 1.4.0... yes (1.4.11)
checking whether to enable maintainer-specific portions of Makefiles... no
checking for python3... /home/patryk/workspace/.virtualenvs/muzeum/bin/python3
checking /home/patryk/workspace/.virtualenvs/muzeum/bin/python3 version... 3.6
checking for python3 sphinx module... no
configure: error: Couldn't import sphinx module and call sphinx.main() for Python3 - try package python3-sphinx
Testing Xapian...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'xapian'

Python version: 3.6.7 Xapian version: 1.4.11 Sphinx version: 2.1.2

OS: Linux Mint 19.1 Tessa

claudep commented 3 years ago

AFAIK, this should not be an issue any longer (in master at least).