SliTaz SliTaz Forum

You are not logged in.

#1 2015-01-03 15:54:12

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

Python PyAudio Problems

Hello folks,

I'm having trouble using/installing PyAudio ( http://people.csail.mit.edu/hubert/pyaudio/ ) for python 2.7 on slitaz 5.0 rolling.

I downloaded the appropreate package (for python 2 and i386) and converted with tazpkg.

after installing (which doesnt throw any errors) and trying to import, i get an error saying the module does not exist.

the installed files are in /usr/lib/python2.7/dist-packages

after copying them to /usr/lib/python2.7/site-packages,

i can import pyaudio, but i get the following error:

>>> import pyaudio

Please build and install the PortAudio Python bindings first.

tried an older version of pyaudio, same error..

any ideas on this? i need a python cross-platform audio library i can use.

help is greatly appreciated!

Offline

#2 2015-01-04 01:03:19

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

Re: Python PyAudio Problems

i have a feeling it might have something to do with the slitaz python package installation.

is there a possibility that python was packaged in some stripped, and or different functionality-based way?

Offline

#3 2015-01-04 11:41:42

linea
Administrator
Registered: 2011-03-31
Posts: 70

Re: Python PyAudio Problems

Hi K3nn3th

I've added pyaudio to the repos: http://hg.slitaz.org/wok/rev/d8c3590387b5

Offline

#4 2015-01-04 20:23:41

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

Re: Python PyAudio Problems

@Paul: Thanks a lot!

i cant seem to find/download it via tazpkg/panel, though, after recharging.

am i doing something wrong?

Offline

#5 2015-01-04 23:21:17

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

Re: Python PyAudio Problems

did it manually, worked like a charm smile

still i cant find the tazpkg tho..

Offline

#6 2015-01-05 08:44:57

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Python PyAudio Problems

Hi K3nn3th,

i cant seem to find/download it via tazpkg/panel, though, after recharging.

am i doing something wrong?

It seems like a problem with mirrors synchronization.

1. pyaudio cooking log — package is cooked on the Tank server (and you can download it here too).

2. cooker log — note this line:

2015-01-05 02:00 : Cook pkgdb: Creating all packages lists

What it means? New files (that downloaded when [c]tazpkg recharge[/c]) was created on the Tank server.

PyAudio is already on our main mirror. But it need some time to synchronize our mirrors.

I tried to download current packages list:

[c]wget http://mirror1.slitaz.org/packages/cooking/packages.list

fgrep pyau ./packages.list
pyaudio-0.2.8

wget http://mirror1.slitaz.org/packages/cooking/pyaudio-0.2.8.tazpkg[/c]
Let's try to switch to this mirror:

[c]su

tazpkg -sm
http://mirror1.slitaz.org/packages.cooking/

tazpkg recharge
. . .
cyrus-imapd-dev-2.4.17
eeze-dev-1.7.10
firmware-iwlwifi-2000-20130610
hylafax-6.0.6
imlib2-dev-1.4.6
libgiomm-2.40.0
libgiomm-dev-2.40.0
libpng-dev-1.2.51
libpurple-dev-2.10.9
libvlc-dev-2.1.5
lxpanel-dev-0.6.2
lxpanel-extra-0.6.2
pyaudio-0.2.8
tazinst-gui-3.96
usbutils-dev-007
wv-dev-1.2.9
xfw-1.37
xrestop-0.4[/c]
It's here.

Offline

#7 2015-01-05 12:30:05

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

Re: Python PyAudio Problems

thanks Aleksej!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]