Closed fluviotect closed 3 years ago
I crossed-referenced packages in my Conda env with dependencies listed on your GitHub page and two were missing:
- cython
- scikit-build
Were these needed to run the PDAL Python bindings or just to build? They are requirements for building, but they shouldn't be for running.
When I create a fresh environment, python -m pdal
works fine for me on Win10:
conda create -n issue-85
conda activate issue-85
conda install python=3.7 python-pdal
(issue-85) C:\Users\hobu\Desktop>python -m pdal
C:\Miniconda3\envs\issue-85\python.exe: No module named pdal.__main__; 'pdal' is a package and cannot be directly executed
It seems your environment is resolving an older python-pdal package. You should try to upgrade just that.
python-pdal 2.4.0 py37h0b66150_2 conda-forge
I got an import error running your second example in Jupyter Lab (Py 3.7 Win7x64).
I crossed-referenced packages in my Conda env with dependencies listed on your GitHub page and two were missing:
So it seems when I installed pdal, some but not all of the dependencies missing from my env were identified and/or installed.
If it matters, to install pdal, I used:
Attempting to resolve, I installed the two missing packages (and their dependencies). However, I still get the same error when I run notebook.