ckald / Samplicity

.SFZ to .XI sample format converter
18 stars 6 forks source link

SyntaxError: Non-ASCII character '\xc2' #8

Open negativerad opened 10 years ago

negativerad commented 10 years ago

X:\Samplicity-master>python samplicity.py "Keys - Grand Piano.sfz" File "samplicity.py", line 3 SyntaxError: Non-ASCII character '\xc2' in file samplicity.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

negativerad commented 10 years ago

I've tried this on Debian Wheezy and Windows 7, both with same error.

ckald commented 10 years ago

Hi there! Unexplainable how I missed this problem. Please, try now https://github.com/ckald/Samplicity/commit/9045dbf0192dee8886726aecceadc4292817afe9

negativerad commented 10 years ago

are there any dependencies libraries?

ckald commented 10 years ago

@negativerad No, this version shouldn't depend on anything. Although it is tested only on Python 2.

ckald commented 10 years ago

@negativerad Hi again! I pushed a new version. Could you please try to use it? It should be much better and even has normal install routine

negativerad commented 10 years ago

python setup.py install Traceback (most recent call last): File "setup.py", line 1, in from setuptools import setup, find_packages ImportError: No module named setuptools

I guess i need to install setuptools :)

ckald commented 10 years ago

I didn't expect that :) And it seems that this installation recipe could be rather complicated. Please, try pip instead (http://pip.readthedocs.org/en/latest/installing.html)