Coder Social home page Coder Social logo

Comments (7)

jim-easterbrook avatar jim-easterbrook commented on June 16, 2024

I think the pkg-config command is missing. (I've assumed this is present on any system capable of compiling software - obviously I shouldn't.)

from python-gphoto2.

andrewbhennessy avatar andrewbhennessy commented on June 16, 2024

Easily Fixed by Installing pkg-config with Homebrew
brew install pkg-config NO ROOT.

I guess you can close this now.

from python-gphoto2.

seeme00 avatar seeme00 commented on June 16, 2024

Hi.
I get something similar on windows with python 3.5 (also tried with python 2.7).

Traceback (most recent call last):
File "E:\Python35-32\lib\runpy.py", line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "E:\Python35-32\lib\runpy.py", line 109, in _get_module_details
import(pkg_name)
File "E:\Projects\gphoto2\setup.py", line 35, in
universal_newlines=True).split('.')[:2])
File "E:\Python35-32\lib\subprocess.py", line 626, in check_output
*_kwargs).stdout
File "E:\Python35-32\lib\subprocess.py", line 693, in run
with Popen(_popenargs, **kwargs) as process:
File "E:\Python35-32\lib\subprocess.py", line 947, in init
restore_signals, start_new_session)
File "E:\Python35-32\lib\subprocess.py", line 1224, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable

Thanks.

from python-gphoto2.

jim-easterbrook avatar jim-easterbrook commented on June 16, 2024

Have you installed pkg-config?
(I wasn't aware that libgphoto2 is available for Windows, so haven't considered any specific build settings for Windows.)

from python-gphoto2.

seeme00 avatar seeme00 commented on June 16, 2024

Tried on a raspberry pi (jessi, python 2.7).
sudo aptitude install pkg-config
pip install --upgrade pip
pip install --upgrade setuptools
pip install gphoto2 ->same error.

Will try with brew later.

from python-gphoto2.

jim-easterbrook avatar jim-easterbrook commented on June 16, 2024

I usually use apt-get to install packages on a Pi. I doubt it's exactly the same error as pkg-config is now installed. I suspect it's now the development headers of libgphoto2 (or Python) that are missing.

from python-gphoto2.

seeme00 avatar seeme00 commented on June 16, 2024

Finally getting somewhere. You were right about missing libs. Thanks a lot!

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.