Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

error message Cannot find Gstreamer Python Iibrary #2

Open
RC1234 opened this issue Nov 6, 2013 · 6 comments
Open

error message Cannot find Gstreamer Python Iibrary #2

RC1234 opened this issue Nov 6, 2013 · 6 comments

Comments

@RC1234
Copy link

RC1234 commented Nov 6, 2013

I am trying to run the lfp tools in Windows 7. I installed Gstreamer but I get an error message when I run:
lfp-pictures.py export IMG_0002-stk.lfp

error message Cannot find Gstreamer Python Iibrary

Any advice on the specific method of installing Gstreamer? Or a way for the lfp tools to find Gstreamer?

@behnam
Copy link
Owner

behnam commented Nov 6, 2013

No, actually. I have no idea how you can get Gstreamer Python plugin work
in Windows. If you find out, I would be glad to add that information into
the README file.

On Tue, Nov 5, 2013 at 4:10 PM, RC1234 [email protected] wrote:

I am trying to run the lfp tools in Windows 7. I installed Gstreamer but I
get an error message when I run:
lfp-pictures.py export IMG_0002-stk.lfp

error message Cannot find Gstreamer Python Iibrary

Any advice on the specific method of installing Gstreamer? Or a way for
the lfp tools to find Gstreamer?


Reply to this email directly or view it on GitHubhttps://github.com//issues/2
.

Behnam Esfahbod | بهنام اسفهبد
http://behnam.es/
GPG-FP: 3E7F.B4B6.6F4C.A8AB.9BB9.7520.5701.CA40.259E.0F8B

@RC1234
Copy link
Author

RC1234 commented Nov 6, 2013

I have the lfp tools setup in Ubuntu but when I run:
lfp-picture.py export IMG_0002-stk.lfp
I get 10 refocus jpeg files and the .raw and .txt files, then an error message saying Cannoe find Python Imaging Library (PIL or Pillow)
but when I use the command pip install Pillow it shows that Pillow is already installed
Any ideas of how to indicate to the lfp tools where to find Pillow?

@RC1234
Copy link
Author

RC1234 commented Nov 6, 2013

Pillow is installed in
/usr/local/lib/python2.7/dist-packages

@behnam
Copy link
Owner

behnam commented Nov 6, 2013

You can set your Python path, of course, but it should work by default in
Ubuntu, if you have python-imaging package installed.

Could you try this and see if the outputs match or you get an error? You
can copy the output here.

$ ipython
[...]
In [1]: import Image as pil
In [2]: print pil
<module 'Image' from '/usr/lib/python2.7/dist-packages/PILcompat/Image.pyc'>

@RC1234
Copy link
Author

RC1234 commented Nov 6, 2013

module 'Image' from '/usr/lib/python2.7/dist-packages/PIL/Image.py'>

@RC1234
Copy link
Author

RC1234 commented Nov 6, 2013

I left the open angle bracket off because I wasn't sure how to add that in the comment window. Do I bracket code with some sort of code comment?
When I first typed ipython I got a message that it wasn't installed and the command to install it. I installed it an then the responses I got matched your code window exactly except for the last part of the line PILcompat became PIL and Image.pyc became Image.py
Do I need to restart the computer after installing ipython?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants