Coder Social home page Coder Social logo

Comments (4)

jim-easterbrook avatar jim-easterbrook commented on July 3, 2024

Did you install python-gphoto2 after libgphoto2? The python extension is compiled and linked with libgphoto2 when you install it, so it may not work after installing a different version (or the same version in a different place).

from python-gphoto2.

supermikeedwards avatar supermikeedwards commented on July 3, 2024

Hi,
Thanks for the quick reply. I'm pretty sure I did, but then again I have some doubts as I have been trying to get it to work so much that I have been installing/updating very frequently. Do you have a recommendation of command to run to remove all elements, or do you just recomment to try to reinstall over current elements ?
I used this : https://github.com/gonzalo/gphoto2-updater to update to latest versions
Thanks,
Mike

from python-gphoto2.

jim-easterbrook avatar jim-easterbrook commented on July 3, 2024

I'm not a frequent Ubuntu user, and rarely install from source on any system unless the library I want is not in the system repository. In your first message you say you get "no module name". I don't recognise this error message so have no idea what's failing.

After installing the latest libgphoto2 with that script does pkg-config --modversion libgphoto2 return the correct version? Does pkg-config --cflags --libs libgphoto2 show the correct location? If so, then reinstalling python-gphoto2 (with sudo pip install --force-reinstall -U gphoto2) should link to the correct version.

from python-gphoto2.

supermikeedwards avatar supermikeedwards commented on July 3, 2024

Hi,
Brilliant, that worked great thanks !
Mike

from python-gphoto2.

Related Issues (20)

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.