-
Notifications
You must be signed in to change notification settings - Fork 48
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
aggdraw does not some to be able to find fonts when installed in a venv #74
Comments
(note I see the same error if I do |
Aha! I figured out the problem, although I'm not sure what the best solution is here: It turns out I'll try to make a PR to at least catch this error, but the wheel probably needs fixing too? |
Normally pkgconfig is the last resort for finding freetype: Lines 101 to 110 in bd751fc
Do you have the output from when you run pip install (or python setup.py install)? Some of the messages should show whats going on inside the setup.py. We do not currently have wheels published for Python 3.9 (see #73) so no matter how you install it into a python 3.9 environment it will be building from source. The wheels (for non-3.9 versions) should have freetype expected/builtin. I don't know anything about the debian packages. What version does it install? Is it built from source with freetype? Do they include any patches to this source to hardcode the location of the freetype library? There's a lot of stuff that could be going on to make this work better. Do you get any result if you do Line 62 in bd751fc
|
Minimal steps to reproduce (on Ubuntu 21.04, Python 3.9):
in terminal
in python:
By contrast, if I do
sudo apt install python3-aggdraw
I see this in python:Clearly something is going wrong in the venv install. Any ideas?
The text was updated successfully, but these errors were encountered: