Comments (5)
Sorry, I don't know :( You could try running in a debugger and stopping on the first critical from glib.
I use it on macOS with vips from homebrew, then pip install pyvips
and it works well with Apple's Python and with py3 from homebrew. Anaconda have their own package manager unfortunately and there is no libvips package. I've had a go at making one for bioconda, but not had time to finish it.
from pyvips.
You could try running in a debugger and stopping on the first critical from glib.
Which debugging commands would you recommend to use?
Anaconda have their own package manager unfortunately and there is no libvips package. I've had a go at making one for bioconda, but not had time to finish it.
Well, I also first installed vips with brew and then did pip
. I am NOT installing it with conda.
As brew
distribution did not bind to the earlier installed openslide, I had to recompile everything. It still seems to be installed alongside with hand-compiled one. How can I see which one the pyvips
is using?
from pyvips.
I don't think you can mix anaconda and brew -- things will get horribly confused. You need a special vips package for anaconda, which sadly does not exist yet.
I would use brew with either Apple's Python, or the Python from homebrew itself.
My mac is a bit sick at the moment so I can't double-check :( I might be able to get it working later today.
from pyvips.
Why so? To my understanding brew
installs VIPS to the system and pip
installs pyvips
within the anaconda environment. Does VIPS installation per se modifies something in python / puts something in python local package repositories?
from pyvips.
Brew will install stuff to /usr/local, but Anaconda won't load anything from there (I think?), and things like libjpeg, which libvips will try to load, will also exist within Anaconda's own binary area, and in the Apple one too. You'll get the wrong versions of almost every library :(
I think I would install the brew Python and try using pyvips from that. If that works, you'll know the problem is something to do with the way anaconda is doing things.
libvips is already packaged for homebrew, fink and macports, and now it looks like there will have to be an anaconda package as well. I wish Apple had a packaging standard everyone used :( having to maintain four packages on a single platform is an awful waste of time.
from pyvips.
Related Issues (20)
- Select interpretation when initializing the image HOT 1
- VipsOperation: class "pdfload" not found HOT 2
- SVG rendering failed HOT 1
- JPEG compression resulted in color error. HOT 1
- How to generate patches from coordinate list by a multiprocessing way? HOT 1
- Dtype auto conversion while running script HOT 6
- new release when & ship with libvips? HOT 14
- ICC Profile Application on SVS and tiffsave hangs randomly
- High RAM usage with fetch when reading multiple WSI tiles HOT 2
- Slower first run, even without cache HOT 2
- using resource.setrlimit makes pyvips / liborc spit the dummy HOT 2
- Memory leaking with pdf HOT 21
- dzsave_target returns NoneType not list[] as in docs HOT 1
- Pyvips fetch returns bad image on .svs files HOT 4
- Reading in image a second time breaks on qptiff file HOT 6
- Documentation link to conda package HOT 1
- Create svs file with image pyramid, label and macro in pyvips? HOT 4
- Image merge stitch HOT 2
- `addalpha` has different behaviour compared to C HOT 1
- Error installing pyvips on Mac OS HOT 15
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 pyvips.