richq / folders2flickr

Upload files to flickr
Other
102 stars 38 forks source link

Installation problem: ImportError: No module named f2flickr.flickr #47

Open posith opened 9 years ago

posith commented 9 years ago

Hi I am trying to install f2f but i'm getting this error:

i did the local git clone, installed python exif library

but when running: sudo python folders2flickr/f2flickr/uploadr.py i get the ImportError: No module named f2flickr.flickr

How can i proceed? I am totally new to python stuff..

richq commented 9 years ago

Unrelated to the ImportError, but don't run the program as sudo. There's no need for root permissions here.

The problem is that the path where python searches for its libraries won't include the top level of the folders2flickr directory, which is needed to import stuff in "f2flickr". Here is what I run:

cd ~/projects/folders2flickr/
./folders2flickr