-
Notifications
You must be signed in to change notification settings - Fork 1
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
No API detected #1
Comments
Hello @olitreadwell, it seems the api is not built correctly. First, delete any file in Edit: to install dependencies. |
@olitreadwell could you try using the latest release v1.2.2 ? |
@BenjaminOddou You’re hardcoding |
Installing dependencies has worked for me. |
@vitorgalvao thanks for pointing that out. Do you have the full path of pillow dependency installed via homebrew with apple silicon chips ? I'll recode that part. Don't hesitate to make a pull request |
It follows the same pattern: A suggestion is to instead try to run a simple pillow command and on failure tell the user they may be missing the dependency. You can open |
It seems that when running the python script, the pillow dependency installed with homebrew is not included in pythonpath by default. |
Check the Dependencies Manager. Does Python ask to be installed? Homebrew separates python per version and that matters regarding which version Pillow is built against. |
I have python 3.11 installed and my pillow version is located here ==> pillow: stable 10.0.0 (bottled), HEAD
Friendly PIL fork (Python Imaging Library)
https://python-pillow.org
/usr/local/Cellar/pillow/10.0.0 (243 files, 4.6MB) *
Poured from bottle using the formulae.brew.sh API on 2023-07-17 at 21:23:55
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/pillow.rb
License: HPND
==> Dependencies
Build: pkg-config ✔, [email protected] ✔, [email protected] ✔
Required: jpeg-turbo ✔, libimagequant ✔, libraqm ✔, libtiff ✔, libxcb ✔, little-cms2 ✔, openjpeg ✔, tcl-tk ✔, webp ✔ print(sys.path)
['~/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.8B870FAD-33DF-4867-AF18-0FE255A691FF', '/usr/local/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python311.zip', '/usr/local/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11', '/usr/local/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload', '/usr/local/lib/python3.11/site-packages'] The problem is that |
My attempts to use this result in 'No API detected'
I have tried to run the suggested action by pressing enter.
I have also run 'harvest'
Same issue continues to occur.
The text was updated successfully, but these errors were encountered: