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

Error while importing aubio-0.5.0a0+63fc1dfb with python #266

Open
otori-bird opened this issue Nov 15, 2019 · 6 comments
Open

Error while importing aubio-0.5.0a0+63fc1dfb with python #266

otori-bird opened this issue Nov 15, 2019 · 6 comments
Labels

Comments

@otori-bird
Copy link

i used to have the same problem like #264 and it was solved by
$ pip install git+https://git.aubio.org/aubio/aubio/

After aubio-0.5.0a0 installed, i tried running demo_pitch.py and get errors below while importing aubio:

File "G:\PYTHON\python3.5.4\lib\site-packages\aubio_init_.py", line 26, in
from ._aubio import version as version
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 945-946: invalid continuation byte

@piem
Copy link
Member

piem commented Nov 16, 2019

hi @otori-bird

thanks for your report, can you reproduce this with python >= 3.6?

cheers, piem

@piem piem added the moreinfo label Nov 17, 2019
@Cjay-Chou
Copy link

Cjay-Chou commented Dec 26, 2019

I have same problem with
python 3.7
windows10
both version 4.9 and 5.0a0 same error.

`---------------------------------------------------------------------------
UnicodeDecodeError Traceback (most recent call last)
in
3
4 import pandas as pd
----> 5 import aubio
6 import pickle
7 import os

c:\users\cjay\appdata\local\programs\python\python37\lib\site-packages\aubio_init_.py in
24
25 import numpy
---> 26 from ._aubio import version as version
27 from ._aubio import float_type
28 from ._aubio import *

UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 945-946: invalid continuation byte`

@JanvyHung
Copy link

i used to have the same problem like #264 and it was solved by
$ pip install git+https://git.aubio.org/aubio/aubio/

After aubio-0.5.0a0 installed, i tried running demo_pitch.py and get errors below while importing aubio:

File "G:\PYTHON\python3.5.4\lib\site-packages\aubio__init__.py", line 26, in
from ._aubio import version as version
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 945-946: invalid continuation byte

I meet the same problem.Have you solved it?

@Cjay-Chou
Copy link

Cjay-Chou commented Apr 2, 2020 via email

@HorieYuan
Copy link

i used to have the same problem like #264 and it was solved by
$ pip install git+https://git.aubio.org/aubio/aubio/
After aubio-0.5.0a0 installed, i tried running demo_pitch.py and get errors below while importing aubio:
File "G:\PYTHON\python3.5.4\lib\site-packages\aubio__init__.py", line 26, in
from ._aubio import version as version
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 945-946: invalid continuation byte

I meet the same problem.Have you solved it?

Hi, have you solved this problem?

@ShunyuanZ
Copy link

I encountered the same problem. Windows 10, Python 3.6.
With Ptyhon 2.7, it worked fine.

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

No branches or pull requests

6 participants