matpow2 / cuwo

Open server and utilities for Cube World
GNU General Public License v3.0
170 stars 49 forks source link

Invalid syntax #165

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hi! I'm trying to install Cuwo on a raspberry pi with Debian Wheezy. There is only Python 3.2 and 2.7 installed, so I ran python setup.py build_ext --inplace, and got this:

pi@raspberrypi ~/cuwo $ python setup.py build_ext --inplace Traceback (most recent call last): File "setup.py", line 30, in <module> from cuwo.download import download_dependencies File "/home/pi/cuwo/cuwo/download.py", line 89 def download_prompt(*files, email=None, password=None): ^ SyntaxError: invalid syntax

Could someone help me fix it? The invalid syntax points at the l in "email". A hint: I am not a professional programmer.

matpow2 commented 9 years ago

You need at least Python 3.3. In this case, it sounds like you tried running with 2.7 though - consult the docs of your distro to see how to run with 3.x instead.

ghost commented 9 years ago

Thank you.