Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 support needed #9

Open
Nick-Harvey opened this issue Feb 2, 2017 · 1 comment
Open

Python 3 support needed #9

Nick-Harvey opened this issue Feb 2, 2017 · 1 comment

Comments

@Nick-Harvey
Copy link

Any chance support for python3 is in the works? When I try to install I get the following:

sudo python3 setup.py install
Password:
running install
running build
running build_py
running install_lib
byte-compiling /usr/local/lib/python3.6/site-packages/bregman/audiodb.py to audiodb.cpython-36.pyc
  File "/usr/local/lib/python3.6/site-packages/bregman/audiodb.py", line 47
    print "IOError: Cannot open %s for reading." %(fname)
                                               ^
SyntaxError: invalid syntax

byte-compiling /usr/local/lib/python3.6/site-packages/bregman/classifier.py to classifier.cpython-36.pyc
  File "/usr/local/lib/python3.6/site-packages/bregman/classifier.py", line 180
    print "sse = ", sse
                 ^
SyntaxError: Missing parentheses in call to 'print'

byte-compiling /usr/local/lib/python3.6/site-packages/bregman/error.py to error.cpython-36.pyc
  File "/usr/local/lib/python3.6/site-packages/bregman/error.py", line 12
    print "Bregman error:", msg
                         ^
SyntaxError: Missing parentheses in call to 'print'

byte-compiling /usr/local/lib/python3.6/site-packages/bregman/features.py to features.cpython-36.pyc
  File "/usr/local/lib/python3.6/site-packages/bregman/features.py", line 419
    print num_frames, num_hop
                   ^
SyntaxError: Missing parentheses in call to 'print'

byte-compiling /usr/local/lib/python3.6/site-packages/bregman/features_base.py to features_base.cpython-36.pyc
  File "/usr/local/lib/python3.6/site-packages/bregman/features_base.py", line 240
    print "Error: must extract STFT first"
                                         ^
SyntaxError: Missing parentheses in call to 'print'

byte-compiling /usr/local/lib/python3.6/site-packages/bregman/features_mmap.py to features_mmap.cpython-36.pyc
  File "/usr/local/lib/python3.6/site-packages/bregman/features_mmap.py", line 22
    print fp[m:m+mem_rows,:]
           ^
SyntaxError: Missing parentheses in call to 'print'

byte-compiling /usr/local/lib/python3.6/site-packages/bregman/segment.py to segment.cpython-36.pyc
  File "/usr/local/lib/python3.6/site-packages/bregman/segment.py", line 149
    print self.segmentation[seg]
             ^
SyntaxError: Missing parentheses in call to 'print'

byte-compiling /usr/local/lib/python3.6/site-packages/bregman/sound.py to sound.cpython-36.pyc
  File "/usr/local/lib/python3.6/site-packages/bregman/sound.py", line 49
    print 'sample_rate=%i' %self.sample_rate
                         ^
SyntaxError: Missing parentheses in call to 'print'

byte-compiling /usr/local/lib/python3.6/site-packages/bregman/testsignal.py to testsignal.cpython-36.pyc
  File "/usr/local/lib/python3.6/site-packages/bregman/testsignal.py", line 29
    print "TestSignal: " + msg
                       ^
SyntaxError: Missing parentheses in call to 'print'

running install_data
running install_egg_info
Removing /usr/local/lib/python3.6/site-packages/Bregman-0.11_11.14-py3.6.egg-info
Writing /usr/local/lib/python3.6/site-packages/Bregman-0.11_11.14-py3.6.egg-info
@pkmital
Copy link
Contributor

pkmital commented Feb 2, 2017

You can check this PR for python 3 support: #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants