[aur-general] Can't run Nested: ImportError: No module named Image
Hi, I just installed the nested package from AUR but can't run it: $ nested Traceback (most recent call last): File "/usr/bin/nested", line 10, in <module> import nested.nested_gui File "/usr/lib/python2.7/site-packages/nested/nested_gui.py", line 43, in <module> import Image # For thumbnails ImportError: No module named Image How can I solve this problem? -- Regards from Pal
* Csányi Pál <csanyipal@gmail.com> [2014-08-29 14:24:31 +0200]:
I just installed the nested package from AUR
but can't run it: $ nested Traceback (most recent call last): File "/usr/bin/nested", line 10, in <module> import nested.nested_gui File "/usr/lib/python2.7/site-packages/nested/nested_gui.py", line 43, in <module> import Image # For thumbnails ImportError: No module named Image
How can I solve this problem?
Looks like you need python2-pillow (pkgfile -s Image.py). You should notify the package author so they add this dependency. Florian -- http://www.the-compiler.org | me@the-compiler.org (Mail/XMPP) GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/
Looks like you need python2-pillow (pkgfile -s Image.py). You should notify the package author so they add this dependency.
In addition to it, nested need to be patched for using (or rather being able to use) pillow instead of PIL[1]. I've also noticed that pywebkitgtk is necessary to start the nested executable but is only listed as optional dependency. Yichao Yu P.S. IMHO, this discussion belongs to the package comment or Arch-General. [1] https://www.archlinux.org/todo/replace-pil-with-pillow/
Hi Florian, 2014-08-29 14:33 GMT+02:00 Florian Bruhin <me@the-compiler.org>:
* Csányi Pál <csanyipal@gmail.com> [2014-08-29 14:24:31 +0200]:
I just installed the nested package from AUR
but can't run it: $ nested Traceback (most recent call last): File "/usr/bin/nested", line 10, in <module> import nested.nested_gui File "/usr/lib/python2.7/site-packages/nested/nested_gui.py", line 43, in <module> import Image # For thumbnails ImportError: No module named Image
How can I solve this problem?
Looks like you need python2-pillow (pkgfile -s Image.py). You should notify the package author so they add this dependency.
But I have installed python2-pillow! Still get this error. Why? -- Regards from Pal
Hi Yichao, 2014-08-29 14:41 GMT+02:00 Yichao Yu <yyc1992@gmail.com>:
Looks like you need python2-pillow (pkgfile -s Image.py). You should notify the package author so they add this dependency.
In addition to it, nested need to be patched for using (or rather being able to use) pillow instead of PIL[1].
I've also noticed that pywebkitgtk is necessary to start the nested executable but is only listed as optional dependency.
I have installed pywebkitgtk also. Still can't start nested. -- Regards from Pal
On Fri, Aug 29, 2014 at 9:18 AM, Csányi Pál <csanyipal@gmail.com> wrote:
Hi Yichao,
2014-08-29 14:41 GMT+02:00 Yichao Yu <yyc1992@gmail.com>:
Looks like you need python2-pillow (pkgfile -s Image.py). You should notify the package author so they add this dependency.
In addition to it, nested need to be patched for using (or rather being able to use) pillow instead of PIL[1].
^ As I said, nested needs to be patched.
I've also noticed that pywebkitgtk is necessary to start the nested executable but is only listed as optional dependency.
I have installed pywebkitgtk also. Still can't start nested.
-- Regards from Pal
In addition to it, nested need to be patched for using (or rather being able to use) pillow instead of PIL[1].
^ As I said, nested needs to be patched.
I've also noticed that pywebkitgtk is necessary to start the nested executable but is only listed as optional dependency.
I have installed pywebkitgtk also. Still can't start nested.
This note has nothing to do with your problem. It is just another package which is not listed as dependency but is required to start nested. I'm wondering if pywebkitgtk should be dependency as well or if it is only required for the executable but there's other function of the package that does not require pywebkitgtk. (And what is the situation for PIL.)
-- Regards from Pal
Am 29.08.2014 um 14:41 schrieb Yichao Yu:
Looks like you need python2-pillow (pkgfile -s Image.py). You should notify the package author so they add this dependency.
In addition to it, nested need to be patched for using (or rather being able to use) pillow instead of PIL[1].
I've also noticed that pywebkitgtk is necessary to start the nested executable but is only listed as optional dependency.
Yichao Yu
P.S. IMHO, this discussion belongs to the package comment or Arch-General.
Hello, try this PKGBUILD. http://hastebin.com/kayazowome But this list definitely is the wrong place to discuss this further. For such things AUR comments were invented. Best Regards Stefan
Hi Stefan, 2014-08-30 15:46 GMT+02:00 Stefan Husmann <stefan-husmann@t-online.de>:
Am 29.08.2014 um 14:41 schrieb Yichao Yu:
Looks like you need python2-pillow (pkgfile -s Image.py). You should notify the package author so they add this dependency.
In addition to it, nested need to be patched for using (or rather being able to use) pillow instead of PIL[1].
I've also noticed that pywebkitgtk is necessary to start the nested executable but is only listed as optional dependency.
Yichao Yu
P.S. IMHO, this discussion belongs to the package comment or Arch-General.
Hello,
try this PKGBUILD.
It works. After I build the package with this PKGBUILD, the nested command can start Nested successfully. -- Regards from Pal
participants (4)
-
Csányi Pál
-
Florian Bruhin
-
Stefan Husmann
-
Yichao Yu