sightmachine / SimpleCV

The Open Source Framework for Machine Vision
http://simplecv.org
BSD 3-Clause "New" or "Revised" License
2.68k stars 798 forks source link

simpleCV and Raspberry Pi: no module named simplecv #710

Closed bencobley closed 6 years ago

bencobley commented 6 years ago

No module named SimpleCv

I installed simplecv on my RPi using the tutorial link: http://simplecv.readthedocs.io/en/latest/HOWTO-Install%20on%20RaspberryPi.html and installed svgwrite.

I have the simplecv working alone, but when running a python file I get the error:

Traceback (most recent call last):
    File "my-file.py", line 1, in <module>
        from SimpleCv import *
    ImportError: No module named SimpleCv

Is it to do with that my Python and simplecv are in different locations?

which python gives: /usr/bin/python

which simplecv gives: /usr/local/bin/simplecv

Many thanks,

Ben

bencobley commented 6 years ago

Resolved!

For future readers make sure you capitalise all 3 letters in from SimpleCV import *

Stupid mistake, thought I'd tried every combination of capitals.