PyAVがインストールできません。
解決方法がわかる方がいたらご教授お願いします。
-----環境-----
Ubuntu16.04
python3.5.2
python
1$ pip3 install av 2Looking in indexes: https://pypi.org/simple, https://packagecloud.io/abeja/platform-public/pypi/simple 3Collecting av 4 Using cached https://files.pythonhosted.org/packages/8e/7a/be91247d5d1613ce3a77d2a2d85211017536558c055b6f904eb38f21e2dc/av-7.0.1.tar.gz 5Building wheels for collected packages: av 6 Building wheel for av (setup.py) ... error 7 Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-60xyivvd/av/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-0op6twna --python-tag cp35: 8 Cython 0.26.1 is too old for PyAV; ignoring it. 9 running bdist_wheel 10 running build 11 running build_py 12 creating build 13 creating build/lib.linux-x86_64-3.5 14 creating build/lib.linux-x86_64-3.5/av 15 copying av/__main__.py -> build/lib.linux-x86_64-3.5/av 16 copying av/__init__.py -> build/lib.linux-x86_64-3.5/av 17 copying av/deprecation.py -> build/lib.linux-x86_64-3.5/av 18 copying av/datasets.py -> build/lib.linux-x86_64-3.5/av 19 creating build/lib.linux-x86_64-3.5/av/data 20 copying av/data/__init__.py -> build/lib.linux-x86_64-3.5/av/data 21 creating build/lib.linux-x86_64-3.5/av/video 22 copying av/video/__init__.py -> build/lib.linux-x86_64-3.5/av/video 23 creating build/lib.linux-x86_64-3.5/av/filter 24 copying av/filter/__init__.py -> build/lib.linux-x86_64-3.5/av/filter 25 creating build/lib.linux-x86_64-3.5/av/audio 26 copying av/audio/__init__.py -> build/lib.linux-x86_64-3.5/av/audio 27 creating build/lib.linux-x86_64-3.5/av/container 28 copying av/container/__init__.py -> build/lib.linux-x86_64-3.5/av/container 29 creating build/lib.linux-x86_64-3.5/av/codec 30 copying av/codec/__init__.py -> build/lib.linux-x86_64-3.5/av/codec 31 creating build/lib.linux-x86_64-3.5/av/subtitles 32 copying av/subtitles/__init__.py -> build/lib.linux-x86_64-3.5/av/subtitles 33 creating build/lib.linux-x86_64-3.5/av/sidedata 34 copying av/sidedata/__init__.py -> build/lib.linux-x86_64-3.5/av/sidedata 35 running build_ext 36 running config 37 PyAV: 7.0.1 (unknown commit) 38 Python: 3.5.2 (default, Oct 8 2019, 13:06:37) \n[GCC 5.4.0 20160609] 39 platform: Linux-4.4.0-142-generic-x86_64-with-Ubuntu-16.04-xenial 40 extension_extra: 41 define_macros: [] 42 runtime_library_dirs: [] 43 library_dirs: [] 44 libraries: [] 45 include_dirs: [b'include'] 46 config_macros: 47 PYAV_COMMIT_STR="unknown-commit" 48 PYAV_VERSION=7.0.1 49 PYAV_VERSION_STR="7.0.1" 50 Could not find libavformat with pkg-config. 51 Could not find libavcodec with pkg-config. 52 Could not find libavdevice with pkg-config. 53 Could not find libavutil with pkg-config. 54 Could not find libavfilter with pkg-config. 55 Could not find libswscale with pkg-config. 56 Could not find libswresample with pkg-config. 57 58 ---------------------------------------- 59 Failed building wheel for av 60 Running setup.py clean for av 61Failed to build av 62Installing collected packages: av 63 Running setup.py install for av ... error 64 Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-60xyivvd/av/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-kinwwdps/install-record.txt --single-version-externally-managed --compile: 65 Cython 0.26.1 is too old for PyAV; ignoring it. 66 running install 67 running build 68 running build_py 69 creating build 70 creating build/lib.linux-x86_64-3.5 71 creating build/lib.linux-x86_64-3.5/av 72 copying av/__main__.py -> build/lib.linux-x86_64-3.5/av 73 copying av/__init__.py -> build/lib.linux-x86_64-3.5/av 74 copying av/deprecation.py -> build/lib.linux-x86_64-3.5/av 75 copying av/datasets.py -> build/lib.linux-x86_64-3.5/av 76 creating build/lib.linux-x86_64-3.5/av/data 77 copying av/data/__init__.py -> build/lib.linux-x86_64-3.5/av/data 78 creating build/lib.linux-x86_64-3.5/av/video 79 copying av/video/__init__.py -> build/lib.linux-x86_64-3.5/av/video 80 creating build/lib.linux-x86_64-3.5/av/filter 81 copying av/filter/__init__.py -> build/lib.linux-x86_64-3.5/av/filter 82 creating build/lib.linux-x86_64-3.5/av/audio 83 copying av/audio/__init__.py -> build/lib.linux-x86_64-3.5/av/audio 84 creating build/lib.linux-x86_64-3.5/av/container 85 copying av/container/__init__.py -> build/lib.linux-x86_64-3.5/av/container 86 creating build/lib.linux-x86_64-3.5/av/codec 87 copying av/codec/__init__.py -> build/lib.linux-x86_64-3.5/av/codec 88 creating build/lib.linux-x86_64-3.5/av/subtitles 89 copying av/subtitles/__init__.py -> build/lib.linux-x86_64-3.5/av/subtitles 90 creating build/lib.linux-x86_64-3.5/av/sidedata 91 copying av/sidedata/__init__.py -> build/lib.linux-x86_64-3.5/av/sidedata 92 running build_ext 93 running config 94 PyAV: 7.0.1 (unknown commit) 95 Python: 3.5.2 (default, Oct 8 2019, 13:06:37) \n[GCC 5.4.0 20160609] 96 platform: Linux-4.4.0-142-generic-x86_64-with-Ubuntu-16.04-xenial 97 extension_extra: 98 define_macros: [] 99 include_dirs: [b'include'] 100 libraries: [] 101 library_dirs: [] 102 runtime_library_dirs: [] 103 config_macros: 104 PYAV_COMMIT_STR="unknown-commit" 105 PYAV_VERSION=7.0.1 106 PYAV_VERSION_STR="7.0.1" 107 Could not find libavformat with pkg-config. 108 Could not find libavcodec with pkg-config. 109 Could not find libavdevice with pkg-config. 110 Could not find libavutil with pkg-config. 111 Could not find libavfilter with pkg-config. 112 Could not find libswscale with pkg-config. 113 Could not find libswresample with pkg-config. 114 115 ---------------------------------------- 116Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-60xyivvd/av/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-kinwwdps/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-60xyivvd/av/ 117
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。