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
updating pygobject #85
Comments
Uh, I don't think messing with the dpkg managed packages through pip is a good idea. Always use a virtualenv or install into your user directory. You'll break your system.. In pygobject (which is on pypi since yesterday, and kinda experimental) we only look in the default location for pycairo atm, which I guess is the reason it fails. I'll see if I can find a better approach. Is your pygobject 3.20 installed through apt? |
Yes, from apt |
Thanks, I'll try to get this fixed in pygobject in the coming days. (it's |
Two problems with the previous approach: * We looked into sys.prefix for the .pc file while the package could be installed in another location like the user dir location or on Debian it goes into /usr/local. * The .pc file intalled by pycairo can contain wrong paths if installed through pip, since that sometimes builds a wheel and caches that for future installations to different locations. Instead of using the .pc file use pkg_resources to discover the pycairo location and then try to find the correspinding "data" installation path for the first matching location scheme. See pygobject/pycairo#85
The new pygobject on pypi should work better |
@blap Can you maybe test that it works now? If you don't care that's ok too and I'll just close this. |
When updating pygobject via pip in LinuxMint ("sudo pip install -U pygobject" or "sudo -H pip install -U pygobject"), I get this error:
How can I solve this?
"pip list" show pycairo (1.15.4) and pygobject (3.20.0)
The text was updated successfully, but these errors were encountered: