Skip to content

Broken pip install #79

@gsakkis

Description

@gsakkis

Installing via pip seems to succeed but the installation is incomplete:

$ pip3 install pdal
Collecting pdal
  Downloading PDAL-2.3.6.tar.gz (942 kB)
     |████████████████████████████████| 942 kB 4.5 MB/s 
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Building wheels for collected packages: pdal
  Building wheel for pdal (PEP 517) ... done
  Created wheel for pdal: filename=PDAL-2.3.6-py3-none-any.whl size=6467 sha256=7516dac52b0808a3e075a7f91c8de5ad633cfc51c334100d9c4be4334d3f5da4
  Stored in directory: /home/ubuntu/.cache/pip/wheels/12/ef/4f/30f6a1126d2a413b49a6208034bf1262b219b848ebd3025ebd
Successfully built pdal
Installing collected packages: pdal
Successfully installed pdal-2.3.6

$ python -c "import pdal"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/ubuntu/.local/lib/python3.8/site-packages/pdal/__init__.py", line 3, in <module>
    from .pipeline import Pipeline
  File "/home/ubuntu/.local/lib/python3.8/site-packages/pdal/pipeline.py", line 2, in <module>
    from pdal import libpdalpython
ImportError: cannot import name 'libpdalpython' from partially initialized module 'pdal' (most likely due to a circular import) (/home/ubuntu/.local/lib/python3.8/site-packages/pdal/__init__.py)

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