Skip to content

Can't install SimpleCV on RPi3 #701

Description

@Villafruela

Hi
i'm trying to install SimpleCV on a RPi 3.

After:
sudo apt-get install ipython python-opencv python-scipy python-numpy python-setuptools python-pip
And:
sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master

When launching simplecv, i get:

Traceback (most recent call last):
  File "/usr/local/bin/simplecv", line 11, in <module>
    load_entry_point('SimpleCV==1.3', 'console_scripts', 'simplecv')()
  File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 560, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 2648, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 2302, in load
    return self.resolve()
  File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 2308, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python3.4/dist-packages/SimpleCV/__init__.py", line 3, in <module>
    from SimpleCV.base import *
  File "/usr/local/lib/python3.4/dist-packages/SimpleCV/base.py", line 198
    print 'unit test'
                    ^
SyntaxError: Missing parentheses in call to 'print'

It looks like the installation is done on python 3 although it needs to run through python2.x (the print 'unit test' is 2.x, for P3 i should have print('unit test')

Am i the only one getting this?

How can i fix it please ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions