Coder Social home page Coder Social logo

Comments (5)

azeam avatar azeam commented on July 26, 2024 15

It seems something changed recently (and hopefully temporarily) as I haven't experienced this before, but while experimenting package dependencies for the recent PR #7 I caught this error as well. Not sure exactly which package that solved it, but did you see the updated install suggestion in readme.md, namely sudo apt-get install libcairo2-dev libgirepository1.0-dev. See if that works, otherwise I will try to narrow it down better.

from camset.

kerryhatcher avatar kerryhatcher commented on July 26, 2024 2

It would seem that $PKG_CONFIG_PATH was not set, it echos a blank line. I noticed that the output of pkg-config --variable pc_path pkg-config referenced linuxbrew directories. I used brew to setup python and pyenv (along with lots of other non related things).

I tried installing the brew versions of the dependencies and that seemed to do the trick.
brew install cairo pkg-config pygobject3 gtk+3

Once that finished (its a huge install with a crazy number of sub dependencies) both pipx install camset and pip install camset --no-cache worked just fine. App seems to work great as well.

If you're open to it I can fork the repo and add some information for Brew users like myself to the docs and open a PR. Just let me know.

Thanks!!!!

camset_works

from camset.

kerryhatcher avatar kerryhatcher commented on July 26, 2024

I had tried that before I opened the issue, but just ran it again just to double check and apt reports those are already installed.

Does make me feel better that I'm not just doing something super noobish ;)

from camset.

azeam avatar azeam commented on July 26, 2024

Hm, I re-tested a bit and for me sudo apt-get remove libcairo2-dev libgirepository1.0-dev && pip uninstall pycairo camset PyGOjbect && pip install camset --no-cache gives me an identical error message as you posted above, but sudo apt-get install libcairo2-dev libgirepository1.0-dev && pip install camset --no-cache works. This is, however, not a clean Ubuntu install so it's possible that I have some other non-default package installed, but I think those should be enough. What is your output of pkg-config --variable pc_path pkg-config and echo $PKG_CONFIG_PATH ?

from camset.

azeam avatar azeam commented on July 26, 2024

Great, glad you managed to get it working! :) And you are more than welcome to send a PR with Brew instructions, I have no experience with that, so it would be helpful!

from camset.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.