Closed nitinthewiz closed 3 years ago
By the way, after I installed libvips, I tried to install ffmpeg-concat again, and it detected the global version of libvips, but still failed with the rest of the above python error...
> sharp@0.24.1 install /usr/local/lib/node_modules/ffmpeg-concat/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
info sharp Detected globally-installed libvips v8.10.0
info sharp Building from source via node-gyp
gyp ERR! find Python
gyp ERR! find Python checking Python explicitly set from command line or npm configuration
gyp ERR! find Python - "--python=" or "npm config get python" is "/usr/local/bin/python3"
gyp ERR! find Python - executable path is "/usr/local/opt/python/bin/python3.7"
gyp ERR! find Python - "/usr/local/opt/python/bin/python3.7" could not be run
gyp ERR! find Python checking Python explicitly set from environment variable PYTHON
.
.
.
Ugh. Nevermind.
I updated xcode to 11.6, uninstalled commandline tools, reinstalled commandline tools, and installed node-gyp...
and it worked!
Oh, and ffmpeg-concat is pretty powerful! Thank you so much for this awesome library!
(leaving this here for posterity)
Awesome -- glad it worked out 😄
Hi,
I'm trying to install ffmpeg-concat on OS X and it's failing like this -
I'm somewhat of a rookie at understanding npm, so could you help me understand what exactly is failing?
Is it
sharp
, orgl
? Is sharp trying to an install oflibvips
, which is failing?I tried installing gl separately and that works (
npm install gl
). Same with sharp.Also, I have python 2 and 3 on here, and I even tried to set
export PYTHON=$(which python)
but to no avail.I'm on Catalina and node versions are -
I noticed that openGL doesn't work for node 12.x to 13.6, but as you can see, this is beyond that version...
A general google search for node-gyp not finding python mostly shows results related to gyp not finding python on Windows... which... whatever...
Is a better route to just the docker image mentioned in Issue #77 ? I'm not averse to xvfb. I'm using it with a puppetcam repo but native would be sooooo much better!
By the way, I ran
brew install libvips
and woooh! The fans were in overdrive, but it got installed without any issues!Any thoughts?