Closed Spfeil2 closed 1 year ago
try manually setting the PDAL_DRIVER_PATH and verify there actually are the .so or .dylib files in that path.
export PDAL_DRIVER_PATH=$CONDA_PREFIX/lib/python3.10/site-packages/pdal
im sorry, i didn't mention that im using windows10
i tried
set PDAL_DRIVER_PATH=$CONDA_PREFIX\Lib\site-packages\pdal
but it's still not working. I guess the problem is on my windows machine is, that there aren't any similar files like .so or .dylib The libpdalpython.pyd should be the extension which i installed with pip, but i look forward to the embeddeding and not extension
$CONDA_PREFIX\Lib\site-packages\pdal> dir
----- WSL ----- I also tried to install the conda env and the fitlers.python driver on a Windows-Subsystem for Linux. here, everything works as expected, but for my Project I need to run it on Windows
Hi @Spfeil2,
I had the same problem, try to watch if your $CONDA_PREFIX$\bin
contains these files :
libpdal_plugin_filter_python.dll
libpdal_plugin_reader_numpy.dll
If they are, just change your PDAL_DRIVER_PATH value to this :
set PDAL_DRIVER_PATH=$CONDA_PREFIX$\bin
Tip : to see if your PDAL_DRIVER_PATH is correct, you can verify it's value with this command : conda info --system
That works. Great! Thanks @ClementAlba a lot for this quick solution Also thanks @hobu for the previous reply!
does your conda path have a space in it? The activate script attempts to set this for you, but maybe it isn't appropriately handling spaces?
Please try a fresh conda environment. I have pushed a fixed that should account for spaces in conda prefix names in the activate script there.
I had no spaces in my path. I tried the push in a new env but the above error is still there
When i run the pipeline
pdal triggers this error:
when i run pdal --drivers filters.python isn't there
im using a virtual env and run this command conda create --yes --name pdalenv --channel conda-forge pdal python-pdal gdal
My question is, how can I get the filters.python driver to be installed to run my pipeline and embed python in pdal?