Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PyAV
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyAV
  • PyAV
  • Issues
  • #30
Closed
Open
Issue created May 02, 2014 by Administrator@rootContributor

Installing on OSX 10.9

Created by: todicus

Hello, I'm trying to install this library on Mavricks. Using pip install av, I get the following error:


octopro:PyAV octotod$ pip install av Downloading/unpacking av Downloading av-0.1.0.tar.gz (601kB): 601kB downloaded Running setup.py (path:/private/var/folders/vf/hvj8p44d0ln7tszd1jd4ynl00000gn/T/pip_build_octotod/av/setup.py) egg_info for package av Traceback (most recent call last): File "", line 17, in File "/private/var/folders/vf/hvj8p44d0ln7tszd1jd4ynl00000gn/T/pip_build_octotod/av/setup.py", line 84, in config = pkg_config(name) File "/private/var/folders/vf/hvj8p44d0ln7tszd1jd4ynl00000gn/T/pip_build_octotod/av/setup.py", line 15, in pkg_config proc = Popen(['pkg-config', '--cflags', '--libs', name], stdout=PIPE, stderr=PIPE) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in init errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Complete output from command python setup.py egg_info: Traceback (most recent call last):

File "", line 17, in

File "/private/var/folders/vf/hvj8p44d0ln7tszd1jd4ynl00000gn/T/pip_build_octotod/av/setup.py", line 84, in

config = pkg_config(name)

File "/private/var/folders/vf/hvj8p44d0ln7tszd1jd4ynl00000gn/T/pip_build_octotod/av/setup.py", line 15, in pkg_config

proc = Popen(['pkg-config', '--cflags', '--libs', name], stdout=PIPE, stderr=PIPE)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in init

errread, errwrite)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child

raise child_exception

OSError: [Errno 2] No such file or directory

I tried building from source, and had to alter the line:

pip install cython pil

to:

sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install cython --allow-external pil

However, make gives a similar error to the pip method:


(venv)octopro:PyAV octotod$ make CFLAGS=-O0 python setup.py build_ext --inplace --debug Traceback (most recent call last): File "setup.py", line 51, in config = pkg_config(name) File "setup.py", line 30, in pkg_config proc = Popen(['pkg-config', '--cflags', '--libs', name], stdout=PIPE, stderr=PIPE) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in init errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

make: *** [build] Error 1

Assignee
Assign to
Time tracking