Comments (7)
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.
Easily Fixed by Installing pkg-config
with Homebrew
brew install pkg-config
NO ROOT.
I guess you can close this now.
from python-gphoto2.
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.
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.
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.
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.
Finally getting somewhere. You were right about missing libs. Thanks a lot!
from python-gphoto2.
Related Issues (20)
- Missing pre-req's(?) after building libgphoto2 from source on Raspberry Pi HOT 3
- Can not set datetime on Canon EOS 1200D HOT 4
- equivalent of gphoto2 --reset HOT 1
- delete a file HOT 2
- gp_camera_get_single_config HOT 2
- Socket error after gp_camera_exit in windows/msys2 HOT 15
- Faster way to copy files from camera HOT 7
- Sony FX3 overshoot HOT 1
- `delete_file()` does not delete file HOT 9
- Segmentation Fault segfault on gp.Camera.autodetect() on Github Actions Runner HOT 21
- LGPL vs. GPL license? HOT 8
- Test Virtual Camera HOT 4
- Missing bindings for gp_port_new, gp_port_open, and gp_port_reset? HOT 2
- capture_preview() broken in v2.5.0 HOT 4
- having trouble getting gphoto2 on rpi HOT 3
- use python-gphoto2 in Windows system HOT 1
- Always connected capture anytime HOT 1
- Github Actions Python 3.12 environment. HOT 1
- Is live data acquisition available in the library? HOT 1
- Error When Installing with "Local" libgphoto2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-gphoto2.