[pdal] pdal python install (plain text)

FE flatearth at gmx.net
Wed Dec 16 04:42:52 PST 2015


Sorry, last message was html, here again as plain text:


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

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


More information about the pdal mailing list