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

Importing Audiolab fails (OSX 10.3.2 + Python 3.6.4) #34

Open
dchapiro opened this issue Mar 8, 2018 · 2 comments
Open

Importing Audiolab fails (OSX 10.3.2 + Python 3.6.4) #34

dchapiro opened this issue Mar 8, 2018 · 2 comments

Comments

@dchapiro
Copy link

dchapiro commented Mar 8, 2018

in ipython:
In [8]: import scikits.audiolab

ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 import scikits.audiolab

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scikits/audiolab/init.py in ()
20 COPYING.txt for details. """
21
---> 22 from version import version as _version
23 version = _version
24

ModuleNotFoundError: No module named 'version'

@scottstanie
Copy link

This appears to be a python3 issue with the change they did from relative imports.

Adding . in front of this fixes it, but leads to others.
as in from .version import version as _version.

If you do that for the other statements that also error, I eventually get to

ImportError: /home/scott/envs/data/lib/python3.5/site-packages/scikits/audiolab/pysndfile/_sndfile.cpython-35m-x86_64-linux-gnu.so: undefined symbol: PyString_FromStringAndSize

Which makes it seem like the cython is bad for this version and I don't think I feel like going further than that for now

@dchapiro
Copy link
Author

dchapiro commented Sep 16, 2018 via email

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