Upgrade of pysmbc with pip3 goes wrong

Cecil Westerhof Cecil at decebal.nl
Mon Aug 7 11:57:17 EDT 2017


When I execute:
    pip3 install --upgrade pysmbc

I get:
Collecting pysmbc
  Using cached pysmbc-1.0.15.7.tar.bz2
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-9b9p_652/pysmbc/setup.py", line 92, in <module>
        include_dirs=pkgconfig_I("smbclient"))])
      File "/tmp/pip-build-9b9p_652/pysmbc/setup.py", line 59, in pkgconfig_I
        stdout=subprocess.PIPE)
      File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
        restore_signals, start_new_session)
      File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
        raise child_exception_type(errno_num, err_msg)
    FileNotFoundError: [Errno 2] No such file or directory: 'pkg-config'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9b9p_652/pysmbc/

What could be the problem?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



More information about the Python-list mailing list