Help! installing python module - Snack Sound Toolkit

Hi all,
I cannot get this sound module for python installed.  It's the Snack Sound toolkit ( http://www.speech.kth.se/snack/ )and it's supposed to make musical note making with python easy.
I tried their linux binary from the download page (  http://www.speech.kth.se/snack/download.html ) but have no idea where to put it.
I also tried to build from source but the build process ended halfway through with no error.
The main problem is I have no idea to add modules to python.  When I added the snack dir to /usr/lib/python2.5 nothing happened, or when I added it to /lib64 or /lib.
I thought I might need the tcl development libraries but can't find those via pacman?
Anybody have an idea?  Or another python-based musical note-making module that is easier to install!?
cheers,
kilolima

they go in `/usr/lib/python2.5/site-packages/' or you use $PYTHONPATH

Similar Messages

  • Cant install python modules.

    Hi, i have just started using berkeley db xml, and i'd like to use the python bindings ('im more cumfortable with python rather than java or c++).
    But, when i follow the procedure (as in README in dbxml-2.5.13/dbxml/src/python/bsddb3-4.8.0/README)
    i get the error:
    python setup.dbxml.py build
    running build
    running build_py
    running build_ext
    building 'bsddb3._pybsddb' extension
    gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -DPYBSDDB_STANDALONE=1 -I../../../../install/include -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c Modules/_bsddb.c -o build/temp.macosx-10.3-fat-2.6/Modules/_bsddb.o
    In file included from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
    from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
    from Modules/_bsddb.c:92:
    /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
    In file included from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
    from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
    from Modules/_bsddb.c:92:
    /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
    lipo: can't figure out the architecture type of: /var/folders/ny/nydPeoc+Ghy00a8WqC3IU++++TI/-Tmp-//ccJWWHQZ.out
    error: command 'gcc' failed with exit status 1
    thanks.

    I see you are on a mac - building these packages with the default install can be a major PIA. I recommend starting with a fresh python install instead of the system one just to make sure std packages don't get messed up. Also, make sure you have mac dev tools/env installed so you get the right gcc version.
    hth,
    eleddy

  • Bridge cc 64bit ,can't install Output Module ,help

    hi
    why is so hard to install output module
    i did everything Install Adobe Output Module
    and when i close bridge and restart it asked me if i want to add the output module , i asnwer yes
    i have the outpot workspace ,but when i click on it , nothing ,,,
    i tried to delete the files of the output module , re-load brige cc ,close ->re -install the output module
    nothing i can't have the output module
    why is so hard to let it work ?
    may i ask ?
    do you think reset the preferences could help ?
    in this case, how can i backup them ?
    i run the last version of bridge cc ,photoshop cc 64bit under w8,1 pro 64bit
    thanks

    hi
    after reading around the forum without luck
    i found the solution  at least for windows
    well inside the AOM_Package_Win64  in my case because i installed only bridge 64bit
    there is
    Adobe Output Module
    AdobeOutputModule.workspace
    copy/extract the folder Adobe Output Module -> C:\Program Files\Common Files\Adobe\Bridge CC Extensions
    copy/extract the file AdobeOutputModule.workspace ->  C:\Program Files\Common Files\Adobe\Bridge CC Extensions\Workspaces
    start bridge

  • Problems installing python-chess

    I need to install python-chess package:
    https://pypi.python.org/pypi/python-chess
    The author states the following is needed for installation:
    Building
    libboost-regex-dev and libboost-python-dev are required.
    I assume that he's talking about ubuntu based systems. I have boost installed, but am not sure do I need something else:
    pacman -Ss boost
    extra/boost 1.54.0-4 [installed]
    Free peer-reviewed portable C++ source libraries - Development
    extra/boost-libs 1.54.0-4 [installed]
    Free peer-reviewed portable C++ source libraries - Runtime
    community/boost-build 2.0_m12-5 [installed]
    Boost build system
    During installation, using easy_install I get the following warning, but it seems to install ok:
    easy_install --user python-chess
    Searching for python-chess
    Reading https://pypi.python.org/simple/python-chess/
    Best match: python-chess 0.0.5
    Downloading https://pypi.python.org/packages/source/p/python-chess/python-chess-0.0.5.tar.gz#md5=456efb47a1431c16472b27063269e85b
    Processing python-chess-0.0.5.tar.gz
    Writing /tmp/easy_install-skh87f/python-chess-0.0.5/setup.cfg
    Running python-chess-0.0.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-skh87f/python-chess-0.0.5/egg-dist-tmp-xfxhpk
    Not SVN Repository
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
    zip_safe flag not set; analyzing archive contents...
    __pycache__.libchess.cpython-33: module references __file__
    Adding python-chess 0.0.5 to easy-install.pth file
    Installing ecotool.py script to /home/ed/.local/bin
    Installed /home/ed/.local/lib/python3.3/site-packages/python_chess-0.0.5-py3.3-linux-x86_64.egg
    Processing dependencies for python-chess
    Finished processing dependencies for python-chess
    Finally, it seems that installation is finished but I get an error:
    import chess
    import chess
    ImportError Traceback (most recent call last)
    <ipython-input-1-31dd7659fda0> in <module>()
    ----> 1 import chess
    /home/ed/.local/lib/python3.3/site-packages/python_chess-0.0.5-py3.3-linux-x86_64.egg/chess/__init__.py in <module>()
    28
    29 # Import from libchess.
    ---> 30 from libchess import START_FEN
    31 from libchess import opposite_color
    32 from libchess import Square
    ImportError: /usr/lib/libboost_python.so.1.54.0: undefined symbol: PyClass_Type
    Btw, the library works fine with python 2.7.
    Last edited by enedene (2013-11-28 14:10:33)

    Python is not an app, it's an operating programme, like Flash or Java, you won't get an icon. By the way, why do you want Python ? I have it and it makes a novelty Beer programme fill screen then empty when tilted ! Only bothered with it because I have a mate who thought his fruit based product was the best thing since sliced bread, worry about Python if you find something you really want that requires it to work !
    Good Luck
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • [SOLVED]No osgeo python module after GDAL build -- enabled filegdb

    I compiled GDAL 1.10 from [community] using "yaourt -Sb gdal" and modified the PKGBUILD so that ./configure would include --with-fgdb=<path to filegdb libs>
    The program compiled and installed fine with FileGDB support but now QGIS, or python doesn't have the much needed osgeo module anymore.
    The plugin error when starting qgis says:
    Unable to load GdalTools plugin.
    The required "osgeo [python-gdal]" module is missing.
    Install it and try again.
    I can't import it from python using "import osgeo" - no surprise since QGIS complains it can't either.
    There isn't an osgeo folder in /usr/lib/python2.7/site-packages anymore either or any of the gdal*.py files.
    If I re-install gdal from the community repo, it's all back to normal in both QGIS and python but without ESRI FileGDB support.
    Anyone know or can help me figure out what's wrong and why my custom build (with only an added configure option) doesn't include the osgeo python module like the gdal from the community repo does?
    If there's any more info I can share that'd be helpful, just let me know.
    Last edited by saultdon (2013-07-07 07:02:14)

    In a paste of the compile output I can see the osgeo module being installed for python3 instead.
    The PKGBUILD has a portion that looks like it should be installing for python2 instead:
    package () {
      cd "${srcdir}/$pkgname-$pkgver"
      install -d "${pkgdir}/usr/lib/python2.7/site-packages/"
      make DESTDIR="${pkgdir}" install
    At least it's installing because I can import the osgeo module in python3, but QGIS uses python2.
    I'm not sure why it's installing for python3.
    Python3 is the default python on this system by default, that might have something to do with it.
    uname -a
    Linux alienix 3.9.9-1-ARCH #1 SMP PREEMPT Wed Jul 3 22:45:16 CEST 2013 x86_64 GNU/Linux

  • Asking how to install Realtek AC'97 sound driver

    (Due to results from the ALSA Configurator, I'm wondering if maybe there's an alternative driver I could use that might fix my problem.)
    I have a sound card integrated with my motherboard, it's a Realtek AC'97. Whenever I reinstall an operating system, I've found out, I have to install the newest drivers for that sound card, http://www.realtek.com.tw/downloads/dow … Down=false.
    If I don't, then most multimedia functions are not good for me. Basically, sound will cut in and out. If I'm on Youtube, whenever sound cuts out, the video will continue for exactly two seconds and stop. Sometimes I can reload the Youtube video, and it'll either play for two seconds without sound, or go normal, but usually for only a little time, not even a minute.
    Games and video's I've downloaded will run, just I'm not going to have sound. :-(
    On Windows, it's easy. Simple .exe file. I was wondering if I could get help installing this though, it comes with instructions, but they are in a different language to me.
    Automatic install:
    execute
    ./install
    Manual install:
    Step 1. unzip source code
    tar xfvj alsa-driver-1.0.xx.tar.bz2
    Step 2. Turn on sound support (soundcore module, default turn on)
    Step 3. Complied source code
    a. cd alsa-driver-1.0.xx
    b. ./configure
    c. make
    d. make install
    e. ./snddevices
    Step 4. Edit your /etc/modules.conf or conf.modules depending on the distribution
    (Please refer to the attached modules.conf)
    snd-xxxx is the card ID.
    -- Azalia controller --ALC880 ALC882 ALC260 ALC262 ALC883 ALC885 ALC888
    --- Intel ICH6 ICH7 ---------
    snd-hda-intel
    --- ATI chipset -----
    snd-atiixp
    -- AC97 controller --ALC655 ALC650 ALC250 ALC255
    --- Intel ICH6 ICH7 , SiS 7012 and NVidia----------
    snd-intel8x0
    --- Via8233 Via686a -------------------------------
    snd-via82xx
    --- ATI Chipset -------------------------------
    snd-atiixp
    Copy and paste this to the bottom of your /etc/modules.conf or /etc/modprobe.conf file.
    # ALSA portion
    alias char-major-116 snd
    alias snd-card-0 snd-xxxx
    # OSS/Free portion
    alias char-major-14 soundcore
    alias sound-slot-0 snd-card-0
    # card #1
    alias sound-service-0-0 snd-mixer-oss
    alias sound-service-0-1 snd-seq-oss
    alias sound-service-0-3 snd-pcm-oss
    alias sound-service-0-8 snd-seq-oss
    alias sound-service-0-12 snd-pcm-oss
    Step 5. reboot your machine
    Step 6. Use the alsamixer the disable mute (All audio line default is mute)
    *Must to compile and to install the ALSA library and utility. (Use automatic install is already install)
    excute alsamixer
    If I do the ./install, then I will end with an ALSA Configuration screen, it will say it's building card database, search sound cards, and say it couldn't find any supported PnP or PCI cards. It asks to probe for legacy ISA sound cards, I say yes, same problem.
    I'm also wondering if maybe there's an alternative driver I could use that might fix my problem.

    lspci -v
    00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
    Subsystem: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface
    Flags: bus master, fast devsel, latency 0
    Memory at f8000000 (32-bit, prefetchable) [size=64M]
    Capabilities: [e4] Vendor Specific Information <?>
    00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03) (prog-if 00 [VGA controller])
    Subsystem: Gateway 2000 Unknown device 2010
    Flags: fast devsel
    Memory at 20000000 (32-bit, prefetchable) [disabled] [size=128M]
    Memory at fff80000 (32-bit, non-prefetchable) [disabled] [size=512K]
    Capabilities: [d0] Power Management version 1
    00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Gateway 2000 Unknown device 2010
    Flags: bus master, medium devsel, latency 0, IRQ 17
    I/O ports at ef20 [size=32]
    00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Gateway 2000 Unknown device 2010
    Flags: bus master, medium devsel, latency 0, IRQ 18
    I/O ports at ef40 [size=32]
    00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
    Subsystem: Gateway 2000 Unknown device 2010
    Flags: bus master, medium devsel, latency 0, IRQ 16
    I/O ports at ef80 [size=32]
    00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
    Subsystem: Gateway 2000 Unknown device 2010
    Flags: bus master, medium devsel, latency 0, IRQ 19
    Memory at ffaffc00 (32-bit, non-prefetchable) [size=1K]
    Capabilities: [50] Power Management version 2
    Capabilities: [58] Debug port: BAR=1 offset=0080
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
    I/O behind bridge: 0000d000-0000dfff
    Memory behind bridge: ff800000-ff8fffff
    Prefetchable memory behind bridge: c6b00000-e6afffff
    00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
    Flags: bus master, medium devsel, latency 0
    00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
    Subsystem: Gateway 2000 Unknown device 2010
    Flags: bus master, medium devsel, latency 0, IRQ 16
    I/O ports at 01f0 [size=8]
    I/O ports at 03f4 [size=1]
    I/O ports at 0170 [size=8]
    I/O ports at 0374 [size=1]
    I/O ports at ffa0 [size=16]
    Memory at 28000000 (32-bit, non-prefetchable) [size=1K]
    00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
    Subsystem: Gateway 2000 Unknown device 2010
    Flags: medium devsel, IRQ 22
    I/O ports at ef00 [size=32]
    00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
    Subsystem: Gateway 2000 Unknown device 2010
    Flags: bus master, medium devsel, latency 0, IRQ 22
    I/O ports at e800 [size=256]
    I/O ports at ee80 [size=64]
    Memory at ffaff800 (32-bit, non-prefetchable) [size=512]
    Memory at ffaff400 (32-bit, non-prefetchable) [size=256]
    Capabilities: [50] Power Management version 2
    01:00.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
    Subsystem: D-Link System Inc DFE-530TX+ 10/100 Ethernet Adapter
    Flags: bus master, medium devsel, latency 32, IRQ 20
    I/O ports at d800 [size=256]
    Memory at ff8efc00 (32-bit, non-prefetchable) [size=256]
    Capabilities: [50] Power Management version 2
    01:01.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01) (prog-if 00 [VGA controller])
    Subsystem: ATI Technologies Inc Unknown device 2002
    Flags: bus master, medium devsel, latency 32, IRQ 23
    Memory at d8000000 (32-bit, prefetchable) [size=128M]
    I/O ports at d000 [size=256]
    Memory at ff8f0000 (32-bit, non-prefetchable) [size=64K]
    Expansion ROM at c6b00000 [disabled] [size=128K]
    Capabilities: [50] Power Management version 2
    01:01.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary) (rev 01)
    Subsystem: ATI Technologies Inc Unknown device 2003
    Flags: bus master, medium devsel, latency 32
    Memory at d0000000 (32-bit, prefetchable) [size=128M]
    Memory at ff8b0000 (32-bit, non-prefetchable) [size=64K]
    Capabilities: [50] Power Management version 2
    01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller (rev 82)
    Subsystem: Gateway 2000 Unknown device 2010
    Flags: bus master, medium devsel, latency 32, IRQ 21
    Memory at ff8ee000 (32-bit, non-prefetchable) [size=4K]
    I/O ports at df00 [size=64]
    Capabilities: [dc] Power Management version 2
    Yes, I have installed the stuff. Although I noticed the drivers were last updated 10/21, but the new drivers I need were 11/5. Although, the documentation talks about ICH6 and ICH7, whereas mine is ICH4.

  • Can't import python modules anymore: Problems with PyQt4.Qt

    Hallo,
    at the beginning: Sorry for my horrible english!
    I made a big mistake and a possible stupid thing:
    I yesterday try to install SIP and Ppyqt4 under a virutal enviroment because I want to use SIP for creating
    generator codes between pyhton and C++.
    I got SIP from the AUR's:
    archlinux.org/packages/extra/x86_64/python-sip/
    and installed it this way:
    lucacerone.net/2013/08/installing-pyqt4 … yx-dGd_phF   
    I did it this way because on the official SIP-documentation site I didn't understand, WHERE to install this:
    pyqt.sourceforge.net/Docs/sip4/installa … onfiguring
    I know now, that was a very stupid idea because when I try to run a pyhton script with:
    python programm_file.py
    , I got the follwing errors importing a module in a python script:
    [vain@chinchi2 python_programme]$ python test.py
    Traceback (most recent call last):
    File "test.py", line 25, in <module>
    import matplotlib.pyplot as plt
    File "/usr/lib/python3.3/site-packages/matplotlib/pyplot.py", line 98, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
    File "/usr/lib/python3.3/site-packages/matplotlib/backends/__init__.py", line 28, in pylab_setup
    globals(),locals(),[backend_name],0)
    File "/usr/lib/python3.3/site-packages/matplotlib/backends/backend_qt4agg.py", line 13, in <module>
    from .backend_qt4 import QtCore, QtGui, FigureManagerQT, FigureCanvasQT,\
    File "/usr/lib/python3.3/site-packages/matplotlib/backends/backend_qt4.py", line 21, in <module>
    import matplotlib.backends.qt4_editor.figureoptions as figureoptions
    File "/usr/lib/python3.3/site-packages/matplotlib/backends/qt4_editor/figureoptions.py", line 13, in <module>
    import matplotlib.backends.qt4_editor.formlayout as formlayout
    File "/usr/lib/python3.3/site-packages/matplotlib/backends/qt4_editor/formlayout.py", line 51, in <module>
    from matplotlib.backends.qt4_compat import QtGui,QtCore
    File "/usr/lib/python3.3/site-packages/matplotlib/backends/qt4_compat.py", line 56, in <module>
    from PyQt4 import QtCore, QtGui
    RuntimeError: the sip module implements API v11.0 but the PyQt4.QtCore module requires API v10.1
    [vain@chinchi2 python_programme]$
    I then upgraded PyQt4 to PyQt 5 with pacman and
    pyqt5-common 5.2-1 [installed]
    python-qscintilla-common 2.8-1 [installed]
    qscintilla 2.8-1 [installed]
    But there is still the same RuntimeErroe with PyQt4. Maybe there exists false dependencies for the shared libraries? How can I get
    rid of these errors, I need pyhton for programming a project. What can I do to solve it?
    Every answer which could help is welcome!
    Last edited by chinchi (2014-03-21 20:59:25)

    Lone_Wolf wrote:
    Note : i know very little about the packages involved here.
    Both of those guides you mention deal with MANUALLY installing sip & pyqt, and that is almost always a BAD idea on archlinux.
    Since you also seem to have installed both with pacman, you likely now have a mix of 2 different sip & pyqt installs in one system.
    to make things work again, you'll have to clean up your system.
    basically that would mean removing the sip & pyqt with pacman, then figuring out what those manual installs added and remove that also.
    it will be tricky and time consuming, reinstaling seems like a much easier and faster method.
    Once you have succesfully re-installed or cleaned up, just install sip & pyqt through pacman and you should be good to go.
    Hi,
    I uninstall sip with:
    sudo pacman -Rsc sip
    also Pyqt and reinstalled them again with Pyqt5 and the new version of sip 4.15.4, so have not more errors like:
    from PyQt4 import QtCore, QtGui
    RuntimeError: the sip module implements API v11.0 but the PyQt4.QtCore module requires API v10.1
    It improved. But I can't still load several Python modules like matplotlib:
    File "erstenprog.py", line 26, in <module>
    import matplotlib.pyplot as plt
    ImportError: No module named 'matplotlib'
    Any idea?
    chinchi

  • Python module loading

    hello guys,
    i have a very annoying problem with libpypac,
    python uses dynamically binary loading and that means that if i should install python with libpypac i'll be in trouble,
    scenario:
    i run "lazy-pac-cli -S python" and the steps taken by libpypac are,
    1. Download the new python version
    2. Uninstall the old version
    3. Install the new version
    you see, when step three comes there is missing stuff that has'nt been used before, i've thought of making o dummypackage or something,

    @cactus
    it should be "stuff missing" i guess,
    i want to do it as your first suggestion but i can't figure out how to do it,
    a temporary dir sounds like an ugly workaround even if it might work,
    how does the real pacman do it with glibc, that should be like the same problem,
    @iphitus
    i've thought so too but look here what happens:
    [root@UFU abs]# ./lazy-pac-cli -S python
    The package is already installed in the system.
    The following packages will be installed with python:
    python-2.4.1-1
    Total compressed size: 9.9 MB
    Proceed with the installation? [y/n] y
    Downloading python ...
    ... checking md5sum ... done.
    Installing python ...
    Traceback (most recent call last):
    File "./lazy-pac-cli", line 22, in ?
    main.install_control(sys.argv)
    File "/home/xerxes2/programs/abs/main.py", line 195, in install_control
    install_binary(dep_list, None)
    File "/home/xerxes2/programs/abs/main.py", line 137, in install_binary
    retcode = libpypac.install(package, i, depends_list, noupgrade_list, reason, oldver, None)
    File "/home/xerxes2/programs/abs/libpypac.py", line 584, in install
    tar = tarfile.open(cache_dir + package + ".pkg.tar.gz", "r:gz")
    File "/usr/lib/python2.4/tarfile.py", line 896, in open
    File "/usr/lib/python2.4/tarfile.py", line 948, in gzopen
    tarfile.CompressionError: gzip module is not available
    hmm, it looks like it is some shared binary missing, "gzip module"

  • Python module under db 4.3.29

    According to the documentation for the python module, version 4.3 of db is sufficient for building the module. However, when I try python setup.py build I get the following error:
    dbxml_python_wrap.cpp: In function ‘void init_dbxml()’:
    dbxml_python_wrap.cpp:36842: error: ‘DB_READ_UNCOMMITTED’ was not declared in this scope
    dbxml_python_wrap.cpp:36848: error: ‘DB_READ_COMMITTED’ was not declared in this scope
    I see that the two missing declarations are in the db.h from 4.5.20 included with dbxml, but they aren't in the db.h I have installed here.
    What am I to do? I'm working on packaging this for a Linux distribution, and unfortunately they're pretty insistent of using installed libraries instead of packaged ones.

    Now everything is compiling successfully (with some warnings about -R being an unknown option) but I get the following error when trying to import the module. Any idea where I should start tracking this down?
    Python 2.4.3 (#1, Feb 20 2007, 15:36:44)
    [GCC 4.1.1 (Gentoo 4.1.1-r3)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    import bsddb3
    import dbxmlTraceback (most recent call last):
    File "<stdin>", line 1, in ?
    File "/usr/lib/python2.4/site-packages/dbxml.py", line 5, in ?
    import _dbxml
    ImportError: /usr/lib/libdbxml-2.3.so: undefined symbol: _ZTI11DbException                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Installing Python 3.1.1

    Looking for help on installing Python 3.1.1 on 10.5.x and 10.6.x. Has anyone done this successfully and can share the steps?
    Thanks !

    Well, sallied forth and got it to work ( I believe ):
    Got 3.1.1 from
    http://www.python.org/download/releases/3.1.1/
    untarred in ~/Downloads:
    tar xvf Python-3.1.1.tar
    Then within the Python-3.1.1 directory ran:
    $ ./configure --enable-framework MACOSXDEPLOYMENTTARGET=10.5 --with-universal-archs=all
    $ make
    $ make test
    $ sudo make frameworkinstall
    Finally, to fix the PATH, added this to ~/.profile
    export PATH=/Library/Frameworks/Python.framework/Versions/3.1/bin:$PATH
    from command prompt
    $ python3.1
    launches new version ...
    Some modules don't seem to work..but the goal was to just get it running and this seemed to do it...
    This was on 10.5.8 BTW

  • "Inspire 5200 5.1 HELP!!! no sound!

    "Inspire 5200 5.1 HELP!!! no sound! Hey guys, i just recently got an inspire 5200 5.1 system and hooked it up. All connections are great and are connected properly to the sound card (all colors to all colors). The problem i have is that i hear absolutely no sound from the speakers. I have checekd all the settings and am unable to locate the issue. I have a soundblaster 5.1 card (2 cards so i know my card is not a problem). I also tried connecting some headphones in the volume module and i can infact hear sound from the headphones. Is it possible this is a hardware issue with ALL the speakers?
    The only thing i can think of is the power source. The original power adapter was for the asian/euro market and i am in America. I have used a tiny converter switch that changes the euro interface (2 long circular pins) to the american outlet interface (two long rectangle pins). Could it be that the speakers are not getting sufficient power somehow by using this adapter? Any suggestions would be much appreciated!

    creek,
    You may have to check with your sound card manufacturer for special setting to upmix the Stereo to the rest of the speaker.
    If you are using Creative 5.1 sound card, you can refer to the link for the CMSS upmix feature.
    http://forums.americas.creative.com/...essage.id=2563
    Jason

  • How to install Python 2.0 on N97 mini?

    My Nokia N97 mini offers me to install Python for S60 2.0 . But the installation with  "Softwareaktualisierung"  fails .
    Unfortunately there's no information why the installation failed . Is there a log anywhere where I can get some more
    information?
    Or can I download Python 2.0 somewhere and install it manually?
    Note that I installed Python 1.9.7 manually on the phone - but the installations also fails after manually removing
    Python 1.9.7
    regards
    Bernd

    The later versions of Python have had issues installing. I'm using 1.4.5 without any problems.
    If I have helped you, please hit the star at the bottom of my posts - it's appreciated!
    Don't forget if your problem is solved to press the "Accept as Solution" button.

  • [Resolved] Distributing a Python module that uses C shared libs?

    I did some research on distutils, and I managed to find fairly detailed instructions for how one could distribute a Python module with C extensions. However, I have a Python module which uses ctypes to run code from C shared libraries (more specifically: SDL, and related libraries).
    Basically, this is what I have:
    pslab.py # requires ctypes wrapper modules below
    sdl.py # ctypes wrapper modules require respective shared libs below
    sdlmixer.py
    sdlimage.py
    sdlttf.py
    # This is for Linux -- .dll for Windows, .dylib for OSX.
    libSDL.so
    libSDL_mixer.so
    libSDL_image.so
    libSDL_ttf.so
    Is there a "standard" way to distribute modules of this type (maybe some undocumented distutils method, or something I failed to find)?
    The Python files are not the problem (distutils can handle them), but I need a way to install the appropriate shared libs for the platform in question (if necessary), so that ctypes wrapper modules can find and load them.
    Last edited by Goran (2012-08-14 08:51:19)

    You could distribute those files ... but I wouldn't recommend it.
    I believe the closest thing to a "standard" is simply to list sdl as a dependency.  A package distributor should not try to manage dependencies for users (only inform them of the dependencies).  That is either up to the user, or (more often) the distro's package management system.
    If I download a program that uses gtk, I don't expect it to include all of the gtk too.  Rather, the documentation would simply specify that gtk is a dependency.  Are you going to also distribute copies of the python interpreter?  Perhaps I'm missing something, but why would sdl be any different than python itself?  It's assumed (or speficied) that the user needs to have these installed for your package to work.
    Last edited by Trilby (2012-08-13 23:44:44)

  • How do I install Bluetooth module on i Mac G5 17 " 1.6Ghz M9248LL/A 2 GB Ram

    How do I install BlueTooth Module in 2004  i Mac G5, 17 in, 1.6 Ghz,  2GB Ram, M9248LL/A.  I found one to buy on ebay for this I Mac G5 model for about $13 and before I order I wanted to know if anyone has installed Blue Tooth on this i Mac G5 model.  The i Mac G 5 Guide shows how to install an Airport Extreme card for internet wifi and indicates that you can add Blue Tooth but not how to install it

    Kappy,
    iFixIt is helpful, clear photo instructions on locating and replacing Bluetooth module of my I Mac G5 model.  Will use it for other issues with my mac. Great Tip.  Thanks a million.
    user448800

  • Help installing Illustrator Trial: Exit Code 7

    I'm having problems installing the trial version of Illustrator and constantly get exit code 7, Any help on resolving this would be appreciated  I'm using a Win 7 64bit machine.
    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 44 error(s), 43 warning(s)
    WARNING: Display requirements not met for {9B97EC91-B3FD-4BFF-88FC-5345A26AC2E7}
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    ERROR: The following payload errors were found during install:
    ERROR:  - Adobe CSXS Infrastructure CS5: Install failed
    ERROR:  - Microsoft_VC90_ATL_x86: Install failed
    ERROR:  - Adobe Media Player: Install failed
    ERROR:  - SiteCatalyst NetAverages: Install failed
    ERROR:  - Microsoft_VC90_CRT_x86: Install failed
    ERROR:  - Adobe Bridge CS5: Install failed
    ERROR:  - DeviceCentral_DeviceCentral3LP-en_GB: Install failed
    ERROR:  - Adobe XMP Panels CS5: Install failed
    ERROR:  - Adobe Player for Embedding: Install failed
    ERROR:  - Photoshop Camera Raw: Install failed
    ERROR:  - AdobeColorCommonSetCMYK: Install failed
    ERROR:  - AdobeHelp: Install failed
    ERROR:  - Camera Profiles Installer: Install failed
    ERROR:  - AdobeColorJA CS5: Install failed
    ERROR:  - Adobe ReviewPanel CS5: Install failed
    ERROR:  - Adobe BrowserLab CS Live: Install failed
    ERROR:  - Microsoft_VC90_MFC_x86: Install failed
    ERROR:  - CSXS Story Extension: Install failed
    ERROR:  - Suite Shared Configuration CS5: Install failed
    ERROR:  - Adobe Linguistics CS5: Install failed
    ERROR:  - PDF Settings CS5: Install failed
    ERROR:  - DeviceCentral: Failed due to Language Pack installation failure
    ERROR:  - AdobeTypeSupport CS5: Install failed
    ERROR:  - AdobeColorCommonSetRGB: Install failed
    ERROR:  - Adobe CSXS Extensions CS5: Install failed
    ERROR:  - AdobeOutputModule: Install failed
    ERROR:  - Microsoft_VC80_CRT_x86: Install failed
    ERROR:  - Adobe Illustrator CS5: Failed due to Language Pack installation failure
    ERROR:  - Adobe WinSoft Linguistics Plugin CS5: Install failed
    ERROR:  - AdobeColorEU CS5: Install failed
    ERROR:  - AdobePDFL CS5: Install failed
    ERROR:  - HIL Help Search: Install failed
    ERROR:  - AdobeCMaps CS5: Install failed
    ERROR:  - AdobeColorNA CS5: Install failed
    ERROR:  - Required Common Fonts Installation: Install failed
    ERROR:  - Adobe Illustrator CS5_AdobeIllustrator15en_GBLanguagePack: Install failed
    ERROR:  - Microsoft_VC80_MFC_x86: Install failed
    ERROR:  - Microsoft_VC80_MFCLOC_x86: Install failed
    ERROR:  - Recommended Common Fonts Installation: Install failed
    ERROR:  - Adobe Extension Manager CS5: Install failed
    ERROR:  - AdobeJRE: Install failed
    ERROR:  - Adobe ExtendScript Toolkit CS5: Install failed
    ERROR:  - Adobe AIR: Install failed
    Thank you.

    WARNING: Display requirements not met for {9B97EC91-B3FD-4BFF-88FC-5345A26AC2E7}
    Pretty clear - your screen resolution is too small.
    Mylenium

Maybe you are looking for

  • At selection screen Problem

    Hai experts parameters     : p_bukrs like j_1iexchdr-bukrs obligatory default 'GMI'. select-options : s_werks for j_1iexchdr-werks,                  s_rcwrk for j_1iexchdr-rcwrk,                  s_exdat for j_1iexchdr-exdat. selection-screen end of

  • Old servers & SMC3.61

    We have a fresh install of SMC 3.61 on a Solaris 10 box. We have a mixed SUN environment here with a number of older EOL SUN servers (V480,B1600 blade chassis,...) running Solaris 8,9 & 10. Can you configure SMC3.61 to monitor the older EOL equipment

  • Is it possible to use multiple proxies simulatneously?

    I have access to four different proxy servers within my college. (Squid I think) Each proxy has limitations on the number of simultaneous GET requests (4 I think. When I set anything higher in Firefox images don't load, etc..) and allows only http an

  • Help with JNI C command line arguments

    Hi. I have created a .dll using c and jni which calls java classes from the .exe I have created in C. When I pass the arguments by hard-coding in the .dll file (i.e. options[0].optionString="-Djava.class.path=C:\xxx.xxx\;C:xxx\xxx usrName passwd id",

  • I'm not able to edit text in Numbers from my iPad.

    I'm not abl to edit text in Numbers from my iPad.  The files were originally created on the iPad and for years have worked effortlessly between my Macbook, iPhone and iPad.  After the last update in Numbers (Can't remmember if it was on the Macbook o