I have installed PCV on Anaconda with python 3.5 and tried to compile this:
from PIL import Image
from pylab import *
from numpy import *
from PCV.localdescriptors import dsift, sift
basically dense sift example in examples. The compiler gives me the output:
Traceback (most recent call last):
File "C:\Dropbox\Python\Sorusana\main.py", line 9, in
from PCV.localdescriptors import dsift, sift
File "C:\Anaconda3\lib\site-packages\PCV\localdescriptors\dsift.py", line 38
print 'processed', imagename, 'to', resultname
^
SyntaxError: Missing parentheses in call to 'print'
[Finished in 1.5s]
I think it's because python 2 neture of the library. Any solutions?
I have installed PCV on Anaconda with python 3.5 and tried to compile this:
basically dense sift example in examples. The compiler gives me the output:
Traceback (most recent call last):
File "C:\Dropbox\Python\Sorusana\main.py", line 9, in
from PCV.localdescriptors import dsift, sift
File "C:\Anaconda3\lib\site-packages\PCV\localdescriptors\dsift.py", line 38
print 'processed', imagename, 'to', resultname
^
SyntaxError: Missing parentheses in call to 'print'
[Finished in 1.5s]
I think it's because python 2 neture of the library. Any solutions?