Python Anaconda - gphoto2

873 views Asked by At

OS: LINUX - UBUNTU

I downloaded and installed gphoto2 following the instructions given in this link: https://hyfrmn.wordpress.com/2015/02/03/install-libgphoto2-and-gphoto2-from-source-on-raspberry-pi/

It is working as a charm on terminal. I can type in gphoto2 as a command line and capture or download images and do a wide variety of things.

Previously, I have Anaconda2 installed. I run python programs through pycharm and everything works fine. Now when I wanted to import gphoto2 to my python script, it is showing an error no module named gphoto2.

How would I fix this. It might the problem of an environment, but what would be the way to link them. I have anaconda2 installed on my home directory and I have no idea, where gphoto2 was installed. Any suggestions would be helpful.

1

There are 1 answers

0
Itamar On

you can still install gphoto2 via pip in your environment,

pip install gphoto2