Csound Csound-dev Csound-tekno Search About

[Csnd] Python and Csound

Date2009-01-17 23:46
FromCaecos
Subject[Csnd] Python and Csound
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)?
-- 
View this message in context: http://www.nabble.com/Python-and--Csound-tp21522413p21522413.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-01-18 00:41
Fromcochedelaferte
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.


Date2009-01-18 16:02
FromCaecös
Subject[Csnd] Re: Re: Python and Csound
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"
> 

Date2009-01-18 17:13
From"Michael Gogins"
Subject[Csnd] Re: Re: Re: Python and Csound
AttachmentsNone  

Date2009-01-18 18:28
FromCaecös
Subject[Csnd] Re: Re: Re: Re: Python and Csound
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" 


Date2009-01-18 21:04
From"Michael Gogins"
Subject[Csnd] Re: Re: Re: Re: Re: Python and Csound
AttachmentsNone  

Date2009-01-19 04:03
FromCaecös
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" 


Date2009-02-17 04:30
FromBrent Boylan
Subject[Csnd] Re: Python and Csound
Want to bring this thread back to the original topic: With the new version of
Python out, how long till it can be used with csound? py3k is said to be
very backwards compatible. If csound wasn't looking for a specific version
would it work 'straigth out of the box'? Or what if Python 3.01 was
installed in a directory called python25?


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)?
> 

-- 
View this message in context: http://www.nabble.com/Python-and--Csound-tp21522413p22050585.html
Sent from the Csound - General mailing list archive at Nabble.com.