Skip to content
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

not able to install this #27

Closed
oceanlord-jet opened this issue Sep 27, 2020 · 9 comments
Closed

not able to install this #27

oceanlord-jet opened this issue Sep 27, 2020 · 9 comments
Labels
bug Something isn't working dependency issue Issues caused by PIP packages or system native packages

Comments

@oceanlord-jet
Copy link

i think there seems to be a problem when installing this, this is the output

output
i hope u can help me with this

@midget3111
Copy link
Collaborator

Hello!
What distribution are you running?

@gjkf
Copy link

gjkf commented Sep 27, 2020

I had the same problem, not being able to install the tool with pip due to pycairo. I just ran
sudo apt-get install libcairo2 libcairo2-dev
and after that tried to install discover-overaly again. It still had a problem with PyGObject but a simple
sudo apt install libgirepository1.0-dev
fixed the issue for me.

@oceanlord-jet
Copy link
Author

What distribution are you running?
i am running Ubuntu 20.04.(PS: i have anoconda installed,could it be the one resposible for these problems?)

@trigg trigg added bug Something isn't working dependency issue Issues caused by PIP packages or system native packages labels Sep 27, 2020
@oceanlord-jet
Copy link
Author

I had the same problem, not being able to install the tool with pip due to pycairo. I just ran
sudo apt-get install libcairo2 libcairo2-dev
and after that tried to install discover-overaly again. It still had a problem with PyGObject but a simple
sudo apt install libgirepository1.0-dev
fixed the issue for me.

i tried ur method but there still seems to be an issue with 'PyGObject'
this is the error Building wheel for PyGObject (PEP 517) ... error

@trigg
Copy link
Owner

trigg commented Sep 29, 2020

on Debian try getting sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0

@oceanlord-jet
Copy link
Author

on Debian try getting sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0
they're already in the latest version.

@trigg
Copy link
Owner

trigg commented Sep 29, 2020

So let's see if it's your Python version. Try sudo update-alternatives --config python and choose a python version that's python3 and not anaconda

@oceanlord-jet
Copy link
Author

So let's see if it's your Python version. Try sudo update-alternatives --config python and choose a python version that's python3 and not anaconda

this is the output
update-alternatives: error: no alternatives for python

@SuperKaninchen
Copy link

I'm running Fedora 32 and after installing some additional packages I now get this lovely error:

File "setup.py", line 848, in find_new_api
      import cairo
    File "/tmp/pip-build-env-dpqo61qb/overlay/lib/python3.7/site-packages/cairo/__init__.py", line 1, in <module>
      from ._cairo import *  # noqa: F401,F403
  ImportError: /tmp/pip-build-env-dpqo61qb/overlay/lib/python3.7/site-packages/cairo/_cairo.cpython-37m-x86_64-linux-gnu.so: 
undefined symbol: cairo_svg_surface_set_document_unit
  ERROR: Failed building wheel for PyGObject

@trigg trigg closed this as completed Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependency issue Issues caused by PIP packages or system native packages
Projects
None yet
Development

No branches or pull requests

5 participants