D
D
Denis2015-01-24 16:08:10
linux
Denis, 2015-01-24 16:08:10

Why can't cropresize install on python3?

Hello!
Installing cropresize package on python3 gives error:
" File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 52, in
{'__file__':setup_script, '__name__':'__main__'}
File "/usr/lib/python3/dist-packages/setuptools/compat.py", line 78, in execfile
exec(compile(source, fn, 'exec'), globs, locs)
File "setup.py", line 182
print "--- using Tcl/Tk libraries at", TCL_ROOT
^
SyntaxError: invalid syntax"
The error occurs, as I understand it, when installing PIL
Pillow is already installed instead of PIL. However, PIL still tries to install it with itself.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Shikanov, 2015-01-24
@dizballanze

Apparently the package does not support python 3. Tries to use the print syntax from python 2.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question