Comments (1)
After a quick investigation...
The cv2.so
module is guaranteed to be available when dependencies are installed and it is correctly placed in $(brew --prefix)/python2.7/site-packages
, which is the standard location for Homebrew formulas with Python bindings to be installed in. However, the problem lies in the fact that the executable that sets PYTHONPATH
before launching butterflow doesn't include this directory:
$ cat $(brew --prefix)/Cellar/butterflow/0.1.9/bin/butterflow
#!/bin/bash
PYTHONPATH="/usr/local/Cellar/butterflow/0.1.9/libexec/lib/python2.7/site-packages" exec "/usr/local/Cellar/butterflow/0.1.9/libexec/bin/butterflow" "$@"
The fix is to simply prepend the site-packages path to PYTHONPATH
inside the butterflow.rb
formula:
ENV.prepend_create_path "PYTHONPATH", "#{HOMEBREW_PREFIX}/lib/python2.7/site-packages"
A pull request to fix the package will be submitted soon.
from sminterpolate.
Related Issues (20)
- "Download Failed
- awesome job with the software, but is there a way of making the app use more than 4%-5% of the available GPU memory?. HOT 1
- Build errors on Manjaro Linux HOT 4
- Unable to build the program on Windows 10 x64 HOT 3
- I'm new to all of this kind of stuff (python and such) and I have no clue how to set this up HOT 1
- High Framerate Playback HOT 1
- Interpolate a video with variable frame drops? HOT 6
- No Updates in the Console HOT 1
- OpenCV Error: Gpu API call HOT 3
- ffmpeg using only one core for processing
- opencv vs opencv2 HOT 1
- Appimage Release?
- Error run ButterFlow
- 404 for https://archive.org/download/brewsci/bottles-science/butterflow-0.2.3_1.sierra.bottle.tar.gz homebrew fails
- support android?
- Error: homebrew/science was deprecated HOT 1
- Error when running python setup.py develop
- opencv@2 has been disabled because it is not supported upstream!
- No longer builds on new versions of ffmpeg: 'AVStream' has no member 'codec'
- New output formats?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sminterpolate.