Samplicity icon indicating copy to clipboard operation
Samplicity copied to clipboard

SyntaxError: Non-ASCII character '\xc2'

Open negativerad opened this issue 10 years ago • 7 comments

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 avatar Apr 08 '14 03:04 negativerad

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

negativerad avatar Apr 08 '14 03:04 negativerad

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

ckald avatar Apr 08 '14 07:04 ckald

are there any dependencies libraries?

negativerad avatar Apr 08 '14 16:04 negativerad

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

ckald avatar Apr 08 '14 16:04 ckald

@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

ckald avatar Apr 12 '14 14:04 ckald

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 :)

negativerad avatar Apr 12 '14 19:04 negativerad

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)

ckald avatar Apr 12 '14 21:04 ckald