Csound Csound-dev Csound-tekno Search About

[Csnd] CsoundAC installation

Date2011-02-09 23:58
Fromredorb8
Subject[Csnd] CsoundAC installation
Hello,

I am having a tough time getting CsoundAC to work.

First, I installed Python 2.6.6. Then I installed C sound 5.12.1.
when I go to import the CsoundAC module in Python I get this message:

Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)]
on win32
Type "copyright", "credits" or "license()" for more information.

    ****************************************************************
    Personal firewall software may warn about the connection IDLE
    makes to its subprocess using this computer's internal loopback
    interface.  This connection is not visible on any external
    interface and no data is sent to or received from the Internet.
    ****************************************************************
    
IDLE 2.6.6      
>>> import CsoundAC

Traceback (most recent call last):
  File "", line 1, in 
    import CsoundAC
  File "C:\Program Files (x86)\Csound\bin\CsoundAC.py", line 25, in 
    _CsoundAC = swig_import_helper()
  File "C:\Program Files (x86)\Csound\bin\CsoundAC.py", line 21, in
swig_import_helper
    _mod = imp.load_module('_CsoundAC', fp, pathname, description)
ImportError: DLL load failed: %1 is not a valid Win32 application.
>>> 


Any idea what the problem might be?

Date2011-02-10 02:02
FromMichael Gogins
SubjectRe: [Csnd] CsoundAC installation
Two possibilities: You installed 64 bit Python (Csound and CsoundAC on
Windows are built only for 32 bit Python), or you need to set the
PYTHONPATH environment variable to point to the directory containing
_csnd.pyd and _CsoundAC.pyd.

Hope this helps,
Mike

On Wed, Feb 9, 2011 at 6:58 PM, redorb8  wrote:
>
> Hello,
>
> I am having a tough time getting CsoundAC to work.
>
> First, I installed Python 2.6.6. Then I installed C sound 5.12.1.
> when I go to import the CsoundAC module in Python I get this message:
>
> Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)]
> on win32
> Type "copyright", "credits" or "license()" for more information.
>
>    ****************************************************************
>    Personal firewall software may warn about the connection IDLE
>    makes to its subprocess using this computer's internal loopback
>    interface.  This connection is not visible on any external
>    interface and no data is sent to or received from the Internet.
>    ****************************************************************
>
> IDLE 2.6.6
>>>> import CsoundAC
>
> Traceback (most recent call last):
>  File "", line 1, in 
>    import CsoundAC
>  File "C:\Program Files (x86)\Csound\bin\CsoundAC.py", line 25, in 
>    _CsoundAC = swig_import_helper()
>  File "C:\Program Files (x86)\Csound\bin\CsoundAC.py", line 21, in
> swig_import_helper
>    _mod = imp.load_module('_CsoundAC', fp, pathname, description)
> ImportError: DLL load failed: %1 is not a valid Win32 application.
>>>>
>
>
> Any idea what the problem might be?
> --
> View this message in context: http://csound.1045644.n5.nabble.com/CsoundAC-installation-tp3378533p3378533.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-02-10 04:54
Fromredorb8
Subject[Csnd] Re: CsoundAC installation
I had installed the 64 bit Python. I tried the CsoundAC import again, and it
worked. 

Thanks for the help!