codebox / mosaic

Python script for creating photomosaic images
https://codebox.net/pages/photo-mosaic-image-maker
MIT License
535 stars 166 forks source link

invalid path issue #3

Closed Phrynobatrachus closed 8 years ago

Phrynobatrachus commented 8 years ago

Hey, I'm trying to run this, and can't seem to get the tiles to be recognized in the command. I have a subdirectory called 'screens' from where the .py file is

python mosaic.py imgSrc screens python mosaic.py imgSrc /screens python mosaic.py imgSrc fullPath

all give me

invalid syntax

Am I missing something obvious here?

codebox commented 8 years ago

Can you let me know the exact command you are running, and the full output that you get (maybe a screenshot?) also, what OS and python version are you using

Phrynobatrachus commented 8 years ago

image

Fresh install of Python 3.5.

codebox commented 8 years ago

Ok, that explains it - you are using Python 3 and the code in this project is intended for Python 2. You can have both versions installed on your PC together, just make sure you use the right one when you run the code.

Phrynobatrachus commented 8 years ago

Thanks!