Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bryanmobrien/5cc66b7a93c317f5c2f93eb02dc59da3 to your computer and use it in GitHub Desktop.
Save bryanmobrien/5cc66b7a93c317f5c2f93eb02dc59da3 to your computer and use it in GitHub Desktop.
VapourSynth pip install error
pip install vapoursynth
Collecting vapoursynth
Using cached VapourSynth-51.zip (426 kB)
Building wheels for collected packages: vapoursynth
Building wheel for vapoursynth (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/bobrien/.pyenv/versions/3.9.4/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/8f/qkn0rcp16tn_9298l7np3_qc0000gn/T/pip-install-c5avinj6/vapoursynth_e5991d818ed4437288044ae1f1c290e5/setup.py'"'"'; __file__='"'"'/private/var/folders/8f/qkn0rcp16tn_9298l7np3_qc0000gn/T/pip-install-c5avinj6/vapoursynth_e5991d818ed4437288044ae1f1c290e5/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/8f/qkn0rcp16tn_9298l7np3_qc0000gn/T/pip-wheel-wzy27rz3
cwd: /private/var/folders/8f/qkn0rcp16tn_9298l7np3_qc0000gn/T/pip-install-c5avinj6/vapoursynth_e5991d818ed4437288044ae1f1c290e5/
Complete output (76 lines):
running bdist_wheel
running build
running build_ext
skipping 'src/cython/vapoursynth.c' Cython extension (up-to-date)
building 'vapoursynth' extension
creating build
creating build/temp.macosx-11.3-x86_64-3.9
creating build/temp.macosx-11.3-x86_64-3.9/src
creating build/temp.macosx-11.3-x86_64-3.9/src/cython
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I. -Isrc/cython -I/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9 -c src/cython/vapoursynth.c -o build/temp.macosx-11.3-x86_64-3.9/src/cython/vapoursynth.o
src/cython/vapoursynth.c:46915:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:48059:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:48667:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:49179:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:49494:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:49899:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:50121:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:50373:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:51709:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:52231:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:76984:1: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations]
PyEval_InitThreads();
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/ceval.h:130:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here
Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
src/cython/vapoursynth.c:84124:16: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations]
return PyUnicode_FromUnicode(NULL, 0);
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/cpython/unicodeobject.h:551:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
src/cython/vapoursynth.c:87276:16: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations]
return PyUnicode_FromUnicode(NULL, 0);
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/cpython/unicodeobject.h:551:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
src/cython/vapoursynth.c:16578:49: warning: unused function '__pyx_f_11vapoursynth_createFramePtr' [-Wunused-function]
static struct __pyx_obj_11vapoursynth_FramePtr *__pyx_f_11vapoursynth_createFramePtr(VSFrameRef const *__pyx_v_f, VSAPI const *__pyx_v_funcs) {
^
14 warnings generated.
creating build/lib.macosx-11.3-x86_64-3.9
clang -bundle -undefined dynamic_lookup -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/bobrien/.pyenv/versions/3.9.4/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/bobrien/.pyenv/versions/3.9.4/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib build/temp.macosx-11.3-x86_64-3.9/src/cython/vapoursynth.o -L. -Lbuild -lvapoursynth -o build/lib.macosx-11.3-x86_64-3.9/vapoursynth.cpython-39-darwin.so
ld: library not found for -lvapoursynth
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/local/opt/llvm/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for vapoursynth
Running setup.py clean for vapoursynth
Failed to build vapoursynth
Installing collected packages: vapoursynth
Running setup.py install for vapoursynth ... error
ERROR: Command errored out with exit status 1:
command: /Users/bobrien/.pyenv/versions/3.9.4/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/8f/qkn0rcp16tn_9298l7np3_qc0000gn/T/pip-install-c5avinj6/vapoursynth_e5991d818ed4437288044ae1f1c290e5/setup.py'"'"'; __file__='"'"'/private/var/folders/8f/qkn0rcp16tn_9298l7np3_qc0000gn/T/pip-install-c5avinj6/vapoursynth_e5991d818ed4437288044ae1f1c290e5/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/8f/qkn0rcp16tn_9298l7np3_qc0000gn/T/pip-record-ryidxc_9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/vapoursynth
cwd: /private/var/folders/8f/qkn0rcp16tn_9298l7np3_qc0000gn/T/pip-install-c5avinj6/vapoursynth_e5991d818ed4437288044ae1f1c290e5/
Complete output (76 lines):
running install
running build
running build_ext
skipping 'src/cython/vapoursynth.c' Cython extension (up-to-date)
building 'vapoursynth' extension
creating build
creating build/temp.macosx-11.3-x86_64-3.9
creating build/temp.macosx-11.3-x86_64-3.9/src
creating build/temp.macosx-11.3-x86_64-3.9/src/cython
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I. -Isrc/cython -I/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9 -c src/cython/vapoursynth.c -o build/temp.macosx-11.3-x86_64-3.9/src/cython/vapoursynth.o
src/cython/vapoursynth.c:46915:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:48059:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:48667:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:49179:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:49494:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:49899:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:50121:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:50373:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:51709:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:52231:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/cython/vapoursynth.c:76984:1: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations]
PyEval_InitThreads();
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/ceval.h:130:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here
Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
src/cython/vapoursynth.c:84124:16: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations]
return PyUnicode_FromUnicode(NULL, 0);
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/cpython/unicodeobject.h:551:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
src/cython/vapoursynth.c:87276:16: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations]
return PyUnicode_FromUnicode(NULL, 0);
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/cpython/unicodeobject.h:551:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
^
/Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
src/cython/vapoursynth.c:16578:49: warning: unused function '__pyx_f_11vapoursynth_createFramePtr' [-Wunused-function]
static struct __pyx_obj_11vapoursynth_FramePtr *__pyx_f_11vapoursynth_createFramePtr(VSFrameRef const *__pyx_v_f, VSAPI const *__pyx_v_funcs) {
^
14 warnings generated.
creating build/lib.macosx-11.3-x86_64-3.9
clang -bundle -undefined dynamic_lookup -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/bobrien/.pyenv/versions/3.9.4/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/bobrien/.pyenv/versions/3.9.4/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib build/temp.macosx-11.3-x86_64-3.9/src/cython/vapoursynth.o -L. -Lbuild -lvapoursynth -o build/lib.macosx-11.3-x86_64-3.9/vapoursynth.cpython-39-darwin.so
ld: library not found for -lvapoursynth
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/local/opt/llvm/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/bobrien/.pyenv/versions/3.9.4/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/8f/qkn0rcp16tn_9298l7np3_qc0000gn/T/pip-install-c5avinj6/vapoursynth_e5991d818ed4437288044ae1f1c290e5/setup.py'"'"'; __file__='"'"'/private/var/folders/8f/qkn0rcp16tn_9298l7np3_qc0000gn/T/pip-install-c5avinj6/vapoursynth_e5991d818ed4437288044ae1f1c290e5/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/8f/qkn0rcp16tn_9298l7np3_qc0000gn/T/pip-record-ryidxc_9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/bobrien/.pyenv/versions/3.9.4/include/python3.9/vapoursynth Check the logs for full command output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment