0

I have installed SimpleCV to play with some image processing stuff in python.I installed it using

pip install SimpleCV

Then I tried to import it in my BLANK program but got following error

 print 'unit test'
                    ^
SyntaxError: Missing parentheses in call to 'print'

I thought that may be SimpleCV did not install properly so I again did

pip install SimpleCV

But the following message came

Requirement already satisfied (use --upgrade to upgrade): SimpleCV in c:\users\naseer786\anaconda3\lib\site-packages

My current working directory is

C:\\Users\\Naseer786\\Documents\\Python Scripts

Can some body help me what is the solution to get out of this mess?

yole
  • 92,896
  • 20
  • 260
  • 197
Naseer
  • 4,041
  • 9
  • 36
  • 72
  • 4
    Looks like you're using Python 2 syntax, but a Python3 interpreter. Use Python 3 syntax instead. For print, that would be `print('unit test')`. –  Jan 17 '16 at 20:40
  • @Evert There is not yet single line of code in my file. – Naseer Jan 17 '16 at 20:42
  • 3
    Sadly, it appears that simpleCV has not yet been ported to Python 3. See also http://stackoverflow.com/questions/32728151/simplecv-not-working-python3-4-syntaxerror-missing-parentheses-in-call-to-prin –  Jan 17 '16 at 20:43
  • @Evert does that mean nothing can be done right now? – Naseer Jan 17 '16 at 20:44
  • 2
    You may switch to Py2.x... – Łukasz Rogalski Jan 17 '16 at 20:47
  • 2
    Switch to Python 2, or do a lot of hard work and convert simpleCV to Python 3... –  Jan 17 '16 at 21:00

0 Answers0