Skip to content

Failed to pip install #8

@alexdawn

Description

@alexdawn

I get the following exception for running pip install . when using venv, but not when using conda

Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-_lhy0sqg/rtree/setup.py", line 3, in <module>
        import rtree
      File "/tmp/pip-install-_lhy0sqg/rtree/rtree/__init__.py", line 1, in <module>
        from .index import Rtree
      File "/tmp/pip-install-_lhy0sqg/rtree/rtree/index.py", line 6, in <module>
        from . import core
      File "/tmp/pip-install-_lhy0sqg/rtree/rtree/core.py", line 143, in <module>
        rt.Error_GetLastErrorNum.restype = ctypes.c_int
      File "/usr/lib/python3.7/ctypes/__init__.py", line 377, in __getattr__
        func = self.__getitem__(name)
      File "/usr/lib/python3.7/ctypes/__init__.py", line 382, in __getitem__
        func = self._FuncPtr((name_or_ordinal, self))
    AttributeError: /home/alex/projects/state-adjacency-graphs/adj/bin/python3: undefined symbol: Error_GetLastErrorNum

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions