[Csnd] python problem
Date | 2014-02-25 19:05 |
From | orebronerd |
Subject | [Csnd] python problem |
Sorry, one more of the Python problem posts. I have read very many of the older ones, but haven´t found a solution, so therefore I post another one. I have Csound 6.02, CsoundQt 0.8.2 installed on a Windows 7 64-bit machine. Works fine. I have installed the python extensions. I have installed python 2.7.6 32. I can start python ok from the terminal in Windows. No errror messages when I start CsoundQt. In CsoundQT I have tried the examples from the Floss manual, for example: |
Date | 2014-02-25 19:45 |
From | Andres Cabrera |
Subject | Re: [Csnd] python problem |
Maybe there are no args passed to python? What if you just do: <CsScore bin="python"> print "hello world" </CsScore> On Tue, Feb 25, 2014 at 11:05 AM, orebronerd <martino.flodino@gmail.com> wrote: Sorry, one more of the Python problem posts. I have read very many of the |
Date | 2014-02-26 20:48 |
From | orebronerd |
Subject | [Csnd] Re: python problem |
If I try your suggestion I get "Creating orchestra Creating score Creating C:\Users\martin\AppData\Local\Temp\cs3.ext (761C2980) Reading CSD failed ... stopping" if I use "run". I get "Creating orchestra Creating score Creating C:\Users\martin\AppData\Local\Temp\cs3.ext (761C2980) hello world Reading CSD failed ... stopping" if I use "run in terminal". So I seem to get some kind of response if I use run in terminal. A related question: I have downloaded the pythonScore files via the "Amen break" tutorial. I am not shure where I shall put the files, and do I need to add something in the "path" enviroment? I added the python path and python script to be shure. I have tried the examples in the amen break tutorial, and get a error message on the first one with pythonScore, "amen_upgrade". I get an error in the terminal stating "Importerror, no module named csd.pysco" Any ideas? I will try some more tomorrow. Now it´s time for bed in Sweden. -- View this message in context: http://csound.1045644.n5.nabble.com/python-problem-tp5732808p5732834.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2014-02-27 20:28 |
From | Andres Cabrera |
Subject | Re: [Csnd] Re: python problem |
Hi, I forgot that you actually need to write a file from python that csound can find:https://gist.github.com/jacobjoaquin/2403507 Andrés On Wed, Feb 26, 2014 at 12:48 PM, orebronerd <martino.flodino@gmail.com> wrote: If I try your suggestion I get |
Date | 2014-02-28 20:43 |
From | orebronerd |
Subject | [Csnd] Re: python problem |
If I just use the "hello world2 statement, it seems to work in the terminal, so somehow python seems to be working. My aim in this is to use pysco, so I tried it on my mac with a simple script: |
Date | 2014-03-04 21:49 |
From | Andres Cabrera |
Subject | Re: [Csnd] Re: python problem |
What happens if you use full paths? Cheers,Andrés On Fri, Feb 28, 2014 at 12:43 PM, orebronerd <martino.flodino@gmail.com> wrote: If I just use the "hello world2 statement, it seems to work in the terminal, |