Closed conlin-matt closed 3 years ago
Sorry- this is not a PDAL issue. This is a larger issue with Anaconda and MacOS.
For anyone stumbling on this in the future: I fixed the issue by uninstalling anaconda, setting my default shell to be bash rather than zsh, and reinstalling anaconda using the command line installer.
I am using pdal v2.2.0 within an Anaconda environment with Python 3.6, MacOS 10.15.7. I downloaded pdal using
conda install -c conda-forge pdal python-pdal gdal
.Pipeline creation and execution work fine until I add a
filters.python
stage to the pipeline, at which point I get the following error:SystemError: initialization of _heapq did not return an extension module
Full error example:
Similarly to #56, I do not see
filters.python
when I runpdal --drivers
, however I have a different error than #56. I tried downgrading each package, i.e in a fresh environment runningconda install -c conda-forge pdal=2.0.1 python-pdal=2.2 gdal=3.0
. When doing this,filters.python
became visible when running apdal --drivers
, yet the same error persisted.56 was solved with a Dockerfile. I am not at all familiar with Dockerfiles- is there a solution here that doesn't involve them? Or would that solution also work here? Thanks for any advice.
For completeness, the pipeline looks like this: