<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div style="font-family: Verdana;font-size: 12.0px;">
<div>Hello,</div>

<div> </div>

<div>I would like to install PDAL python API on a Mac in a python3 environment. I have not installed pdal itself. Using pip it complains about missing 'pdal-config'. I also read the thread 'compile pdal with python support' but found no solution within that working for me. Downloading the source and running 'python setup.py build' within the python directory gives similar error. I post both below.</div>

<div> </div>

<div>Thanks a lot for you help!</div>

<div> </div>

<div>Wilhelm</div>

<div> </div>

<div> </div>

<div>Using 'pip install pdal':</div>

<div> </div>

<div>(rs)comp:PDAL-1.1.0-src will$ pip install pdal<br/>
Collecting pdal<br/>
  Using cached PDAL-1.1.0.zip<br/>
    Complete output from command python setup.py egg_info:<br/>
    Traceback (most recent call last):<br/>
      File "/private/var/folders/gz/t3r4_mbs2g11gd54w4ksj7xc0020_6/T/pip-build-67z2m4ak/pdal/setup.py", line 61, in get_pdal_config<br/>
        stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()<br/>
      File "/Users/will/anaconda/envs/rs/lib/python3.4/subprocess.py", line 859, in __init__<br/>
        restore_signals, start_new_session)<br/>
      File "/Users/will/anaconda/envs/rs/lib/python3.4/subprocess.py", line 1457, in _execute_child<br/>
        raise child_exception_type(errno_num, err_msg)<br/>
    FileNotFoundError: [Errno 2] No such file or directory: 'pdal-config'<br/>
    <br/>
    During handling of the above exception, another exception occurred:<br/>
    <br/>
    Traceback (most recent call last):<br/>
      File "<string>", line 20, in <module><br/>
      File "/private/var/folders/gz/t3r4_mbs2g11gd54w4ksj7xc0020_6/T/pip-build-67z2m4ak/pdal/setup.py", line 113, in <module><br/>
        for item in get_pdal_config('--includes').split():<br/>
      File "/private/var/folders/gz/t3r4_mbs2g11gd54w4ksj7xc0020_6/T/pip-build-67z2m4ak/pdal/setup.py", line 65, in get_pdal_config<br/>
        'Could not find pdal-config %r: %s' % (pdal_config, ex))<br/>
    OSError: Could not find pdal-config 'pdal-config': [Errno 2] No such file or directory: 'pdal-config'<br/>
    <br/>
    ----------------------------------------<br/>
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/gz/t3r4_mbs2g11gd54w4ksj7xc0020_6/T/pip-build-67z2m4ak/pdal</div>

<div> </div>

<div> </div>

<div> </div>

<div> </div>

<div> </div>

<div>Using <span style="font-family: Verdana;font-size: 12.0px;">'python setup.py build':</span></div>

<div> </div>

<div>
<div>(rs)comp:PDAL-1.1.0 will$ python setup.py build<br/>
Traceback (most recent call last):<br/>
  File "setup.py", line 61, in get_pdal_config<br/>
    stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()<br/>
  File "/Users/will/anaconda/envs/rs/lib/python3.4/subprocess.py", line 859, in __init__<br/>
    restore_signals, start_new_session)<br/>
  File "/Users/will/anaconda/envs/rs/lib/python3.4/subprocess.py", line 1457, in _execute_child<br/>
    raise child_exception_type(errno_num, err_msg)<br/>
FileNotFoundError: [Errno 2] No such file or directory: 'pdal-config'</div>

<div>During handling of the above exception, another exception occurred:</div>

<div>Traceback (most recent call last):<br/>
  File "setup.py", line 113, in <module><br/>
    for item in get_pdal_config('--includes').split():<br/>
  File "setup.py", line 65, in get_pdal_config<br/>
    'Could not find pdal-config %r: %s' % (pdal_config, ex))<br/>
OSError: Could not find pdal-config 'pdal-config': [Errno 2] No such file or directory: 'pdal-config'<br/>
(rs)comp:PDAL-1.1.0 will$ python setup.py install<br/>
Traceback (most recent call last):<br/>
  File "setup.py", line 61, in get_pdal_config<br/>
    stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()<br/>
  File "/Users/will/anaconda/envs/rs/lib/python3.4/subprocess.py", line 859, in __init__<br/>
    restore_signals, start_new_session)<br/>
  File "/Users/will/anaconda/envs/rs/lib/python3.4/subprocess.py", line 1457, in _execute_child<br/>
    raise child_exception_type(errno_num, err_msg)<br/>
FileNotFoundError: [Errno 2] No such file or directory: 'pdal-config'</div>

<div>During handling of the above exception, another exception occurred:</div>

<div>Traceback (most recent call last):<br/>
  File "setup.py", line 113, in <module><br/>
    for item in get_pdal_config('--includes').split():<br/>
  File "setup.py", line 65, in get_pdal_config<br/>
    'Could not find pdal-config %r: %s' % (pdal_config, ex))<br/>
OSError: Could not find pdal-config 'pdal-config': [Errno 2] No such file or directory: 'pdal-config'<br/>
(rs)comp:PDAL-1.1.0 will$ cd /Users/will/Software/PDAL-1.1.0-src/python <br/>
(rs)comp:python will$ pip install pdal<br/>
Collecting pdal<br/>
  Using cached PDAL-1.1.0.zip<br/>
    Complete output from command python setup.py egg_info:<br/>
    Traceback (most recent call last):<br/>
      File "/private/var/folders/gz/t3r4_mbs2g11gd54w4ksj7xc0020_6/T/pip-build-ikvwhgzg/pdal/setup.py", line 61, in get_pdal_config<br/>
        stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()<br/>
      File "/Users/will/anaconda/envs/rs/lib/python3.4/subprocess.py", line 859, in __init__<br/>
        restore_signals, start_new_session)<br/>
      File "/Users/will/anaconda/envs/rs/lib/python3.4/subprocess.py", line 1457, in _execute_child<br/>
        raise child_exception_type(errno_num, err_msg)<br/>
    FileNotFoundError: [Errno 2] No such file or directory: 'pdal-config'<br/>
    <br/>
    During handling of the above exception, another exception occurred:<br/>
    <br/>
    Traceback (most recent call last):<br/>
      File "<string>", line 20, in <module><br/>
      File "/private/var/folders/gz/t3r4_mbs2g11gd54w4ksj7xc0020_6/T/pip-build-ikvwhgzg/pdal/setup.py", line 113, in <module><br/>
        for item in get_pdal_config('--includes').split():<br/>
      File "/private/var/folders/gz/t3r4_mbs2g11gd54w4ksj7xc0020_6/T/pip-build-ikvwhgzg/pdal/setup.py", line 65, in get_pdal_config<br/>
        'Could not find pdal-config %r: %s' % (pdal_config, ex))<br/>
    OSError: Could not find pdal-config 'pdal-config': [Errno 2] No such file or directory: 'pdal-config'<br/>
    <br/>
    ----------------------------------------<br/>
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/gz/t3r4_mbs2g11gd54w4ksj7xc0020_6/T/pip-build-ikvwhgzg/pdal</div>
</div>

<div> </div>

<div> </div>

<div> </div>
</div></div></body></html>