You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I get the following error-message after calling "python setup.py build".
Traceback (most recent call last):
File "setup.py", line 31, in
gphoto2_version = str(subprocess.check_output(['gphoto2-config', '--version']))
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, _popenargs, *_kwargs)
File "/usr/lib/python2.7/subprocess.py", line 709, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
The problem is that i can actually find the file using "find"-command.
Thus the file does exist in the directory.
It's located in: /usr/lib/bin/gphoto2-config
Best regards
mk770
The text was updated successfully, but these errors were encountered:
That's an unusual place for an executable - on my machine it's /usr/bin/gphoto2-config. What variety of Linux are you using?
I'm not sure I can do anything in python-gphoto2 to get round this. You can add /usr/lib/bin to your path, after which it should work. Maybe I should add something about this to the README.
My OS:
Linux Verison : Linux Mint 16 Petra
Kernel Release : 3.11.0-12-generic
Sry,
I cause this problem by a wrong Installation of libgphoto2.
All gphoto2-files like ( /usr/lib/bin/gphoto2-config ) belong to the commandline tool "gphoto2" not to "libgphoto2".
thx for your help.
On the 3 linux distros I have (Linux Mint 16 Petra, openSUSE 13.1 (Bottle) and Raspbian GNU/Linux 7 (wheezy)) all include /usr/bin/gphoto2-config with the libgphoto2 development headers package. (Although their names for that package vary...)
Hi,
I get the following error-message after calling "python setup.py build".
Traceback (most recent call last):
File "setup.py", line 31, in
gphoto2_version = str(subprocess.check_output(['gphoto2-config', '--version']))
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, _popenargs, *_kwargs)
File "/usr/lib/python2.7/subprocess.py", line 709, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
The problem is that i can actually find the file using "find"-command.
Thus the file does exist in the directory.
It's located in: /usr/lib/bin/gphoto2-config
Best regards
mk770
The text was updated successfully, but these errors were encountered: