Giter VIP home page Giter VIP logo

Comments (5)

jcupitt avatar jcupitt commented on June 18, 2024

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.

DSLituiev avatar DSLituiev commented on June 18, 2024

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.

jcupitt avatar jcupitt commented on June 18, 2024

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.

DSLituiev avatar DSLituiev commented on June 18, 2024

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.

jcupitt avatar jcupitt commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.