Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute Error (Raspberry Pi) #332

Closed
tburrows13 opened this issue Oct 13, 2016 · 3 comments
Closed

Attribute Error (Raspberry Pi) #332

tburrows13 opened this issue Oct 13, 2016 · 3 comments

Comments

@tburrows13
Copy link
Collaborator

from moviepy.editor import *
clip = ImageClip("picture.jpg")

The above code outputs the following error:

AttributeError: 'module' object has no attribute 'find_loader'

I am running this with Python 3.2 on Raspian Wheezy (RPi 2).
What is wrong?

@tburrows13
Copy link
Collaborator Author

tburrows13 commented Oct 13, 2016

A more complete error message:

Traceback (most recent call last):
  File "/home/pi/qfp/moviepytest.py", line 3, in <module>
    clip = ImageClip("pic1.jpg")
  File "/usr/local/lib/python3.2/dist-packages/moviepy/video/VideoClip.py", line 895, in **init**
    img = imread(img)
  File "/usr/local/lib/python3.2/dist-packages/imageio/core/functions.py", line 185, in imread
    reader = read(uri, format, 'i', **kwargs)
  File "/usr/local/lib/python3.2/dist-packages/imageio/core/functions.py", line 105, in get_reader
    format = formats.search_read_format(request)
  File "/usr/local/lib/python3.2/dist-packages/imageio/core/format.py", line 601, in search_read_format
    if format.can_read(request):
  File "/usr/local/lib/python3.2/dist-packages/imageio/core/format.py", line 178, in can_read
    return self._can_read(request)
  File "/usr/local/lib/python3.2/dist-packages/imageio/plugins/simpleitk.py", line 61, in _can_read
    if has_module('SimpleITK'):
  File "/usr/local/lib/python3.2/dist-packages/imageio/core/util.py", line 539, in has_module
    return importlib.find_loader(module_name) is not None
AttributeError: 'module' object has no attribute 'find_loader'

@ghost
Copy link

ghost commented Mar 13, 2017

@Gloin1313 .. are you still having this issue?

@tburrows13
Copy link
Collaborator Author

See #333

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

No branches or pull requests

1 participant