Skip to content

installation on debian testing? #1

@pazz

Description

@pazz

I'm, trying to install this package from the master branch (github) on a current debian testing.
There seems to be an issue with the xapian dependency (python3-xapian) which is installed.

$  python3 ./setup.py install --user
...
Installing xapers script to /home/pazz/.local/bin

Installed /home/pazz/.local/lib/python3.6/site-packages/xapers-0.8-py3.6.egg
Processing dependencies for xapers==0.8
Searching for xapian
Reading https://pypi.python.org/simple/xapian/
Couldn't find index page for 'xapian' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or working download links found for xapian
error: Could not find suitable distribution for Requirement.parse('xapian')

I have installed the dependencies according to the README. In particular:

$ python3
Python 3.6.4+ (default, Feb 12 2018, 08:25:03) 
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import xapian
>>> xapian
<module 'xapian' from '/usr/lib/python3/dist-packages/xapian/__init__.py'>

But:

$ xapers
Traceback (most recent call last):
  File "/home/pazz/.local/bin/xapers", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3195, in <module>
    @_call_aside
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3179, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3208, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 681, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 999, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 885, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'xapian' distribution was not found and is required by xapers

any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions