-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PEP 517 error when installing with pip #66
Comments
As I said in PDAL/PDAL#3201 it looks like the main PDAL library is not installed. Install that first before installing the Python bindings. |
I think the main PDAL library is installed, since I am using PDAL in the command line as I mentioned.
Is there something I am possibly missing? |
The Python bindings require the PDAL CMake configuration to be found. I don't know how your PDAL installation in Arch Linux installs that, but the scikit-build stuff in setup.py that uses CMake is not finding it. What does |
|
How about
|
|
you need to tell CMake where PDAL is it seems. Try something like this:
|
Seems it solved the error but now I'm getting another one. I'll try to google it first and inform you about it. Thanks a lot for your time! |
Paste it here. The next person who comes along can follow the bread crumbs. |
Oh, right.
|
Your compiler is super new, and it must be more strict about includes. These complaints are due to some assumptions about what is system-included in older compiler setups. I can't offer you much to get past this other than to try an older compiler or try to use clang which might maybe support the older behavior. We can fix these issues up for a newer release, but that will be a while. Alternatively, if you're willing to use conda, you can get a conda environment with all of this installed. It is one path to success not blocked by waiting on a patch from us. |
I see, I was thinking to fallback to conda but its many-hours-long environment solving times possibly caused by conda-forge repository each time I install a library was setting me back. Thanks a lot! |
Make sure to create new environments for every task and this should be greatly reduced. Every install you add to an environment adds to the solve complexity. |
Please try 2.3.4 and reopen if this is still an issue. |
@hobu can you tell, how this command should be ran? I'm trying somehting like pip install pdal -- -DPDAL_DIR=/usr/lib/cmake/ and obviously it does not work. |
Need to see logs or we're just guessing. |
@hobu also getting error when running this code, not sure if this is also the error that @UralmashFox got:
This is the error I got: |
"ERROR: Could not build wheels for pdal which use PEP 517 and cannot be installed directly"
This error message is shown when I try to install PDAL with pip.
The Python and pip versions I tried to install on are;
Python: 3.7 - 3.8
pip: 20.1 - 20.2
I also tried to install virtualenv/conda virtual environments and the system python. Same error message. Not sure if it is a bug or just I am missing something. Tried to google it with no results. Also, pdal 2.1 is installed and working as a command line utility on Arch Linux (installed with pacman).
Here is the full error message:
The text was updated successfully, but these errors were encountered: