-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error installing pyvips on Mac OS #459
Comments
Do you think #445 is ready to merge? It feels a bit tricky with homebrew, it's so unstable it could break again at any moment. Maybe we should just merge anyway, since your PR is great and it'll start to rot if we don't. |
Hi there! I'm currently in the situation that I tried to install with
However, I cannot go through installation. Any suggestion? |
Hi @pasqualesalza, we have a fix in PR (thanks to Kleis), but it's not merged. That needs to go in, then we need to release pyvips 3.0, and the problem should be solved. |
Just for reference, maybe this can help before proceeding, I'm trying to |
You need master pyvips from 1h ago (I think). |
I've just tried and yet same error. :( |
Please can you provide the error message. It seems to work fine for me: $ CC=clang pip3 install "pyvips @ git+https://github.com/libvips/pyvips.git" -v --break-system-packages
[snip]
Successfully built pyvips
Installing collected packages: pyvips
Successfully installed pyvips-2.2.3 |
I don't know if they are the same, but this is my error (sonoma 14.4.1, macintel) longer error
|
And one from an M1 mac, Sonoma 14.2.1 longer ARM error```text $ CC=clang pip3 install "pyvips @ git+https://github.c om/libvips/pyvips.git" -v --break-system-packages Using pip 23.3.1 from /Users/dan/Source/livingthing/.venv/lib/python3.12/site-packages/pip (python 3.12) Collecting pyvips@ git+https://github.com/libvips/pyvips.git Cloning https://github.com/libvips/pyvips.git to /private/var/folders/5f/p21r0s2n7r75v17t052n_2km0000gp/T/pip-install-no9rqown/pyvips_e2923bff2536472ab6acf11fb9b93c36 Running command git version git version 2.39.3 (Apple Git-146) Running command git clone --filter=blob:none https://github.com/libvips/pyvips.git /private/var/folders/5f/p21r0s2n7r75v17t052n_2km0000gp/T/pip-install-no9rqown/pyvips_e2923bff2536472ab6acf11fb9b93c36 Cloning into '/private/var/folders/5f/p21r0s2n7r75v17t052n_2km0000gp/T/pip-install-no9rqown/pyvips_e2923bff2536472ab6acf11fb9b93c36'... warning: templates not found in /Users/dan/.git_template Running command git rev-parse HEAD 9c7e151 Resolved https://github.com/libvips/pyvips.git to commit 9c7e151 Running command git rev-parse HEAD 9c7e151 Running command pip subprocess to install build dependencies Collecting setuptools>=40.8.0 Using cached setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB) Collecting wheel Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB) Using cached setuptools-69.5.1-py3-none-any.whl (894 kB) Using cached wheel-0.43.0-py3-none-any.whl (65 kB) Installing collected packages: wheel, setuptools Successfully installed setuptools-69.5.1 wheel-0.43.0[notice] A new release of pip is available: 23.3.1 -> 24.0 [notice] A new release of pip is available: 23.3.1 -> 24.0 × Building wheel for pyvips (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. [notice] A new release of pip is available: 23.3.1 -> 24.0
|
This appears redundant, as these types and functions originate from `vips/vips.h` in API mode. Resolves: libvips#459.
Thanks for these error logs. It looks like Line 30 in 9c7e151
|
I can confirm that @kleisauke's edit makes the build successful on my macOS 14.4.1! |
Maybe it help. I think I have the same issue. Error I got
I am using macOS Sonoma 14.4.1, vips-8.15.2, Python 3.11.9 before. I got this error after I upgraded my Python to 3.12. |
I just pushed 2.2.3 to pyvips that includes Kleis's fix, so this might be resolved. |
I could not find this issue listed in current issues. Apologies if I missed it.
I have followed the instructions for MacOS (MacOS Sonoma version 14 - MacBook Air M1) and ran:
brew install vips python pkg-config
which installed:vips 8.15.2
,[email protected] 3.12.2_1
,pkg-config 0.29.2_3
pip3 install pyvips
gives a bunch of errors (see below):The text was updated successfully, but these errors were encountered: