Skip to content

Python 3 compatibility? #24

@recursive-duck

Description

@recursive-duck

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions