Csound Csound-dev Csound-tekno Search About

[Csnd] Python Installation

Date2010-04-07 07:35
FromJim Aikin
Subject[Csnd] Python Installation
I've just downloaded and installed QuteCsound 0.5 to my Win7 PC. I've also
downloaded and installed what I believe to be the most current version of
Csound for Windows, which seems to be 5.11.1 (the -f version).

QuteCsound itself runs fine. But when I attempt to run a score I got from
somewhere or other -- it's some sort of demo for the Bohlen-Pierce scale
(and don't get me started on that subject ... what an ugly scale!) -- I get
error messages that suggest that Python is not installed.

I have Python 2.6.4 on my hard drive, and I've gone to the QuteCsound
Configure > Environment page and put its root directory in the Python Script
Dir field, but that doesn't seem to help.

I also tried reading the Csound manual, but the Python section just talks
about the opcodes. It says nothing about installation. (This would be a nice
addition to the manual, I think.)

I have a vague memory that Csound wants to see an older version of Python,
like 2.5.5 or something. That might or might not be part of the problem.

Can someone explain to me how to get the Python functionality up and
running? I would make only one request: If your explanation includes the
word "path," please do not assume that I know what a path is, or how one
would be set up. I used to know ... it's something I can get to from the Run
box, I think, possibly by launching config.sys or something with a name like
that. But even if I had taken notes last time, by now I wouldn't know where
to find the notes.

Thanks in advance!

--Jim Aikin

Date2010-04-07 08:16
FromAndres Cabrera
Subject[Csnd] Re: Python Installation
Hi,

If you don't need python, the easyiest thing is to move the py.dll
Csound plugin out of the plugins directory. The python warnings should
stop. It's also recommended on windows to move widgets.dll and
virtual.dll out fo there becuase they will interfere with
copy/pasting.

If you want python, you need the appropriate version Csound was
compiled with. Due to its age, 5.11 is probably compiled with python
2.5, or maybe even 2.4. Can anyone confirm this?

Cheers,
Andrés


On Wed, Apr 7, 2010 at 7:35 AM, Jim Aikin  wrote:
>
> I've just downloaded and installed QuteCsound 0.5 to my Win7 PC. I've also
> downloaded and installed what I believe to be the most current version of
> Csound for Windows, which seems to be 5.11.1 (the -f version).
>
> QuteCsound itself runs fine. But when I attempt to run a score I got from
> somewhere or other -- it's some sort of demo for the Bohlen-Pierce scale
> (and don't get me started on that subject ... what an ugly scale!) -- I get
> error messages that suggest that Python is not installed.
>
> I have Python 2.6.4 on my hard drive, and I've gone to the QuteCsound
> Configure > Environment page and put its root directory in the Python Script
> Dir field, but that doesn't seem to help.
>
> I also tried reading the Csound manual, but the Python section just talks
> about the opcodes. It says nothing about installation. (This would be a nice
> addition to the manual, I think.)
>
> I have a vague memory that Csound wants to see an older version of Python,
> like 2.5.5 or something. That might or might not be part of the problem.
>
> Can someone explain to me how to get the Python functionality up and
> running? I would make only one request: If your explanation includes the
> word "path," please do not assume that I know what a path is, or how one
> would be set up. I used to know ... it's something I can get to from the Run
> box, I think, possibly by launching config.sys or something with a name like
> that. But even if I had taken notes last time, by now I wouldn't know where
> to find the notes.
>
> Thanks in advance!
>
> --Jim Aikin
>
> --
> View this message in context: http://old.nabble.com/Python-Installation-tp28161075p28161075.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"
>
>



-- 


Andrés


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"


Date2010-04-07 12:32
Fromandy fillebrown
Subject[Csnd] Re: Re: Python Installation
fluidOpcodes.dll should be moved out of Csound's plugins directory, too.

~ andy.f



On Wed, Apr 7, 2010 at 3:16 AM, Andres Cabrera  wrote:
> Hi,
>
> If you don't need python, the easyiest thing is to move the py.dll
> Csound plugin out of the plugins directory. The python warnings should
> stop. It's also recommended on windows to move widgets.dll and
> virtual.dll out fo there becuase they will interfere with
> copy/pasting.
>
> If you want python, you need the appropriate version Csound was
> compiled with. Due to its age, 5.11 is probably compiled with python
> 2.5, or maybe even 2.4. Can anyone confirm this?
>
> Cheers,
> Andrés
>
>
> On Wed, Apr 7, 2010 at 7:35 AM, Jim Aikin  wrote:
>>
>> I've just downloaded and installed QuteCsound 0.5 to my Win7 PC. I've also
>> downloaded and installed what I believe to be the most current version of
>> Csound for Windows, which seems to be 5.11.1 (the -f version).
>>
>> QuteCsound itself runs fine. But when I attempt to run a score I got from
>> somewhere or other -- it's some sort of demo for the Bohlen-Pierce scale
>> (and don't get me started on that subject ... what an ugly scale!) -- I get
>> error messages that suggest that Python is not installed.
>>
>> I have Python 2.6.4 on my hard drive, and I've gone to the QuteCsound
>> Configure > Environment page and put its root directory in the Python Script
>> Dir field, but that doesn't seem to help.
>>
>> I also tried reading the Csound manual, but the Python section just talks
>> about the opcodes. It says nothing about installation. (This would be a nice
>> addition to the manual, I think.)
>>
>> I have a vague memory that Csound wants to see an older version of Python,
>> like 2.5.5 or something. That might or might not be part of the problem.
>>
>> Can someone explain to me how to get the Python functionality up and
>> running? I would make only one request: If your explanation includes the
>> word "path," please do not assume that I know what a path is, or how one
>> would be set up. I used to know ... it's something I can get to from the Run
>> box, I think, possibly by launching config.sys or something with a name like
>> that. But even if I had taken notes last time, by now I wouldn't know where
>> to find the notes.
>>
>> Thanks in advance!
>>
>> --Jim Aikin
>>
>> --
>> View this message in context: http://old.nabble.com/Python-Installation-tp28161075p28161075.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"
>>
>>
>
>
>
> --
>
>
> Andrés
>
>
> 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"
>
>


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"


Date2010-04-07 16:21
FromJim Aikin
Subject[Csnd] Re: Python Installation
Thanks, Andres ... but I'm assuming that maybe I _do_ want Python. I might
even want to try using it for something. To do that, I need to have the
correct version installed in the correct manner. I don't know what the
correct version is, and I don't know how to install it in the correct
manner.

--JA

Date2010-04-07 16:29
FromMichael Gogins
Subject[Csnd] Re: Re: Python Installation
Download the Python installer for Windows, version 2.6 latest, from
www.python.org.

Then uninstall Csound and re-install it using the latest Windows
installer on SourceForge, and install all the features.

Hope this helps,
Mike

On Wed, Apr 7, 2010 at 11:21 AM, Jim Aikin  wrote:
>
> Thanks, Andres ... but I'm assuming that maybe I _do_ want Python. I might
> even want to try using it for something. To do that, I need to have the
> correct version installed in the correct manner. I don't know what the
> correct version is, and I don't know how to install it in the correct
> manner.
>
> --JA
> --
> View this message in context: http://old.nabble.com/Python-Installation-tp28161075p28166611.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"


Date2010-04-07 16:57
FromJim Aikin
Subject[Csnd] Re: Re: Python Installation
Michael Gogins-2 wrote:
> 
> Download the Python installer for Windows, version 2.6 latest, from
> www.python.org.
> 

Do you mean, "the latest version (big numbers 2.6)"? Or do you mean, "no
more recent than 2.6(.0)"? I can read your sentence either way -- and as I
already have 2.6.4 installed, it makes a difference.


Michael Gogins-2 wrote:
> 
> Then uninstall Csound and re-install it using the latest Windows
> installer on SourceForge, and install all the features.
> 

...but I just did that last night, which was certainly subsequent to my
installing Python. Also, "uninstall Csound" is a bit ambiguous, because
Csound doesn't show up in the Windows Uninstall list. Do you just mean "drag
Csound to the Trash"? Or is there some other step that needs to be taken so
that the system will unregister and re-register it properly?

--JA

Date2010-04-07 17:09
FromMichael Gogins
Subject[Csnd] Re: Re: Re: Python Installation
There is an uninstall menu item, or an uninstaller in the installation
directory.

Python 2.6.X, not 2.7 or 3.0. I have 2.6.2.

Hope this helps,
Mike


On Wed, Apr 7, 2010 at 11:57 AM, Jim Aikin  wrote:
>
>
> Michael Gogins-2 wrote:
>>
>> Download the Python installer for Windows, version 2.6 latest, from
>> www.python.org.
>>
>
> Do you mean, "the latest version (big numbers 2.6)"? Or do you mean, "no
> more recent than 2.6(.0)"? I can read your sentence either way -- and as I
> already have 2.6.4 installed, it makes a difference.
>
>
> Michael Gogins-2 wrote:
>>
>> Then uninstall Csound and re-install it using the latest Windows
>> installer on SourceForge, and install all the features.
>>
>
> ...but I just did that last night, which was certainly subsequent to my
> installing Python. Also, "uninstall Csound" is a bit ambiguous, because
> Csound doesn't show up in the Windows Uninstall list. Do you just mean "drag
> Csound to the Trash"? Or is there some other step that needs to be taken so
> that the system will unregister and re-register it properly?
>
> --JA
>
> --
> View this message in context: http://old.nabble.com/Python-Installation-tp28161075p28167090.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"


Date2010-04-07 17:10
Fromrasputin
Subject[Csnd] Re: Re: Python Installation
Jim, on my Windows 7 system, with Csound 5.11 installed (and working!) I also
don't have an Uninstall entry in "Uninstall or Change a Program". However,
in the Csound menu there is an Uninstall item (which appears to point to
"C:\Program Files\Csound\uninstall.exe") Give that a try.
I also am interested in this issue of how to get Python to talk to Csound.
Thanks all,
r.


Jim Aikin wrote:
> 
> 
> Michael Gogins-2 wrote:
>> 
>> Download the Python installer for Windows, version 2.6 latest, from
>> www.python.org.
>> 
> 
> Do you mean, "the latest version (big numbers 2.6)"? Or do you mean, "no
> more recent than 2.6(.0)"? I can read your sentence either way -- and as I
> already have 2.6.4 installed, it makes a difference.
> 
> 
> Michael Gogins-2 wrote:
>> 
>> Then uninstall Csound and re-install it using the latest Windows
>> installer on SourceForge, and install all the features.
>> 
> 
> ...but I just did that last night, which was certainly subsequent to my
> installing Python. Also, "uninstall Csound" is a bit ambiguous, because
> Csound doesn't show up in the Windows Uninstall list. Do you just mean
> "drag Csound to the Trash"? Or is there some other step that needs to be
> taken so that the system will unregister and re-register it properly?
> 
> --JA
> 
> 

Date2010-04-07 21:52
FromAdam
Subject[Csnd] Re: Re: Re: Re: Python Installation
AttachmentsNone