Csound Csound-dev Csound-tekno Search About

[Csnd] Re: RE: Re: Re: Re: Re: Re: Re: Re: Python and Csound

Date2009-01-19 16:06
Frommichael.gogins@gmail.com
Subject[Csnd] Re: RE: Re: Re: Re: Re: Re: Re: Re: Python and Csound
I think it would be very useful to use SAGE with Csound, since SAGE includes 
GAP and other software capable of generating algebras, group 
representations, etc... however, on my Windows PC, SAGE installs as a 
virtual machine on which Linux boots and runs SAGE. So, I don't think you 
can use Csound with SAGE on Windows unless you manage to get Csound onto the 
virtual machine also, or unless SAGE can run directly on Windows.

I will check this out, since I will need SAGE for what I am doing, using 
mathematical music theory in score generators. Right now, I am planning to 
eliminate Windows in favor of Linux and to use Cubase and the Pianoteq from 
wine-asio.

Regards,
Mike

----- Original Message ----- 
From: "mddemers" 
To: 
Sent: Monday, January 19, 2009 10:19 AM
Subject: [Csnd] RE: Re: Re: Re: Re: Re: Re: Re: Python and Csound


Hi Micheal,

I have written the first argument in my PATH and nothing works. The Python
distribution I had was imbedded in Python(x,y)...I uninstalled Python(x,y)
and installed Active Python 2.5.2.2 instead...Now everything works for
Csound...

Anyway, I use SAGE instead of Python(x,y) but this is another story and a
discussion for another list...

Thanks,

Marc

-----Message d'origine-----
De : michael.gogins@gmail.com [mailto:michael.gogins@gmail.com]
Envoyé : 19 janvier 2009 09:33
À : csound@lists.bath.ac.uk
Objet : [Csnd] Re: Re: Re: Re: Re: Re: Re: Python and Csound

The first - that is, the directory where the Python program is located, not
the full path of the Python program itself.

Regards,
Mike

----- Original Message ----- 
From: "Caecös" 
To: 
Sent: Sunday, January 18, 2009 11:03 PM
Subject: [Csnd] Re: Re: Re: Re: Re: Re: Python and Csound


> Python is not in my PATH...
>
> Should I put it in like this: c:\python25 or c:\python25\python ?
>
> Marc
>
> --------------------------------------------------
> From: "Michael Gogins" 
> Sent: Sunday, January 18, 2009 4:04 PM
> To: 
> Subject: [Csnd] Re: Re: Re: Re: Re: Python and Csound
>
>> PYTHONPATH is not PATH. What is your PATH variable? Python will not be
>> found if you do not have Python in PATH.
>>
>> Hope this helps,
>> Mike
>>
>> On Sun, Jan 18, 2009 at 1:28 PM, Caecös  wrote:
>>> Hi Michael,
>>>
>>> I have Python 2.5.4 installed in c:\python25
>>>
>>> In my system variables, I have:
>>>
>>> PYTHONHOME= c:\python25
>>> PYTHONPATH= ;c:\program files\csound\bin
>>>
>>> Does the Python futures in Csound will work even if during Csound
>>> installation, the installer seems to skip the installation of these
>>> futures
>>> because it could not find Python 2.5 ?
>>>
>>> I'm on Windows (XP Pro SP3, Vista Ultimate SP2 and 7 Beta)
>>>
>>> Regards,
>>>
>>> Marc
>>>
>>> --------------------------------------------------
>>> From: "Michael Gogins" 
>>> Sent: Sunday, January 18, 2009 12:13 PM
>>> To: 
>>> Subject: [Csnd] Re: Re: Re: Python and Csound
>>>
>>>> Csound 5.10 works only with Python 2.5. That said, yes, you can
>>>> install Python wherever you like. Python 2.5 must come before any
>>>> other version of Python in your executable PATH environment variable,
>>>> and your PYTHONPATH environment variable must include the Csound bin
>>>> directory.
>>>>
>>>> Hope this helps,
>>>> Mike
>>>>
>>>> On Sun, Jan 18, 2009 at 11:02 AM, Caecös  wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> It does not work since my Python folder is c:\python25 instead of
>>>>> c:\python2.5
>>>>>
>>>>> It would be preferable if Csound asks where Python is without asking
>>>>> for
>>>>> any
>>>>> version. This way Csound will be directed to the good folder for
>>>>> people
>>>>> like
>>>>> me who use another version on python 2.5...
>>>>>
>>>>> Marc
>>>>> --------------------------------------------------
>>>>> From: "cochedelaferte" 
>>>>> Sent: Saturday, January 17, 2009, 7:41 PM
>>>>> To: 
>>>>> Subject: [Csnd] Re: Python and  Csound
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Caecos wrote:
>>>>>>>
>>>>>>> Is there a way to tell Csound where to find Python (i.e.: Python is
>>>>>>> installed in another place than the standard C:\Python 2.5)?
>>>>>>>
>>>>>>
>>>>>> PYTHONHOME=
>>>>>>
>>>>>> Sergio
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/Python-and--Csound-tp21522413p21522845.html
>>>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to this list.
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>>> csound"
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>>
>>
>> -- 
>> Michael Gogins
>> Irreducible Productions
>> Michael dot Gogins at gmail dot com
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound" 


Date2009-01-19 16:26
From"mddemers"
Subject[Csnd] RE: Re: RE: Re: Re: Re: Re: Re: Re: Re: Python and Csound
I'm running SAGE in a virtual machine too. My experience with Csound under
Linux has not been good...So that why I'm sticking with Windows for the
moment. Also, there is a native Windows version of SAGE in development and
I'm waiting for it.

But on MAC, SAGE and Csound are natives and it must be possible to link the
two together...That's an option I have not ruled out to switch from PC to
Mac.

Someone told me that there is a program that permits interaction between
Windows and a virtual machine (drag & drop form the PC screen to a virtual
machine window).

I will try to find more on this.

Regards,

Marc

-----Message d'origine-----
De : michael.gogins@gmail.com [mailto:michael.gogins@gmail.com] 
Envoyé : 19 janvier 2009 11:07
À : csound@lists.bath.ac.uk
Objet : [Csnd] Re: RE: Re: Re: Re: Re: Re: Re: Re: Python and Csound

I think it would be very useful to use SAGE with Csound, since SAGE includes

GAP and other software capable of generating algebras, group 
representations, etc... however, on my Windows PC, SAGE installs as a 
virtual machine on which Linux boots and runs SAGE. So, I don't think you 
can use Csound with SAGE on Windows unless you manage to get Csound onto the

virtual machine also, or unless SAGE can run directly on Windows.

I will check this out, since I will need SAGE for what I am doing, using 
mathematical music theory in score generators. Right now, I am planning to 
eliminate Windows in favor of Linux and to use Cubase and the Pianoteq from 
wine-asio.

Regards,
Mike

----- Original Message ----- 
From: "mddemers" 
To: 
Sent: Monday, January 19, 2009 10:19 AM
Subject: [Csnd] RE: Re: Re: Re: Re: Re: Re: Re: Python and Csound


Hi Micheal,

I have written the first argument in my PATH and nothing works. The Python
distribution I had was imbedded in Python(x,y)...I uninstalled Python(x,y)
and installed Active Python 2.5.2.2 instead...Now everything works for
Csound...

Anyway, I use SAGE instead of Python(x,y) but this is another story and a
discussion for another list...

Thanks,

Marc

-----Message d'origine-----
De : michael.gogins@gmail.com [mailto:michael.gogins@gmail.com]
Envoyé : 19 janvier 2009 09:33
À : csound@lists.bath.ac.uk
Objet : [Csnd] Re: Re: Re: Re: Re: Re: Re: Python and Csound

The first - that is, the directory where the Python program is located, not
the full path of the Python program itself.

Regards,
Mike

----- Original Message ----- 
From: "Caecös" 
To: 
Sent: Sunday, January 18, 2009 11:03 PM
Subject: [Csnd] Re: Re: Re: Re: Re: Re: Python and Csound


> Python is not in my PATH...
>
> Should I put it in like this: c:\python25 or c:\python25\python ?
>
> Marc
>
> --------------------------------------------------
> From: "Michael Gogins" 
> Sent: Sunday, January 18, 2009 4:04 PM
> To: 
> Subject: [Csnd] Re: Re: Re: Re: Re: Python and Csound
>
>> PYTHONPATH is not PATH. What is your PATH variable? Python will not be
>> found if you do not have Python in PATH.
>>
>> Hope this helps,
>> Mike
>>
>> On Sun, Jan 18, 2009 at 1:28 PM, Caecös  wrote:
>>> Hi Michael,
>>>
>>> I have Python 2.5.4 installed in c:\python25
>>>
>>> In my system variables, I have:
>>>
>>> PYTHONHOME= c:\python25
>>> PYTHONPATH= ;c:\program files\csound\bin
>>>
>>> Does the Python futures in Csound will work even if during Csound
>>> installation, the installer seems to skip the installation of these
>>> futures
>>> because it could not find Python 2.5 ?
>>>
>>> I'm on Windows (XP Pro SP3, Vista Ultimate SP2 and 7 Beta)
>>>
>>> Regards,
>>>
>>> Marc
>>>
>>> --------------------------------------------------
>>> From: "Michael Gogins" 
>>> Sent: Sunday, January 18, 2009 12:13 PM
>>> To: 
>>> Subject: [Csnd] Re: Re: Re: Python and Csound
>>>
>>>> Csound 5.10 works only with Python 2.5. That said, yes, you can
>>>> install Python wherever you like. Python 2.5 must come before any
>>>> other version of Python in your executable PATH environment variable,
>>>> and your PYTHONPATH environment variable must include the Csound bin
>>>> directory.
>>>>
>>>> Hope this helps,
>>>> Mike
>>>>
>>>> On Sun, Jan 18, 2009 at 11:02 AM, Caecös  wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> It does not work since my Python folder is c:\python25 instead of
>>>>> c:\python2.5
>>>>>
>>>>> It would be preferable if Csound asks where Python is without asking
>>>>> for
>>>>> any
>>>>> version. This way Csound will be directed to the good folder for
>>>>> people
>>>>> like
>>>>> me who use another version on python 2.5...
>>>>>
>>>>> Marc
>>>>> --------------------------------------------------
>>>>> From: "cochedelaferte" 
>>>>> Sent: Saturday, January 17, 2009, 7:41 PM
>>>>> To: 
>>>>> Subject: [Csnd] Re: Python and  Csound
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Caecos wrote:
>>>>>>>
>>>>>>> Is there a way to tell Csound where to find Python (i.e.: Python is
>>>>>>> installed in another place than the standard C:\Python 2.5)?
>>>>>>>
>>>>>>
>>>>>> PYTHONHOME=
>>>>>>
>>>>>> Sergio
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/Python-and--Csound-tp21522413p21522845.html
>>>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to this list.
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>>> csound"
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>
>>
>>
>> -- 
>> Michael Gogins
>> Irreducible Productions
>> Michael dot Gogins at gmail dot com
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound" 



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"