Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] running python apps with csound in source dir

Date2008-07-03 02:36
FromMichael Gogins
SubjectRe: [Cs-dev] running python apps with csound in source dir
csnd.py, _csnd.pyd, and csnd.dll need to be in PYTHONPATH. You need Python 
of the same version as Csound was built for.

I assume that is the case...

What are your problems, exactly?

Sometimes Python import problems can be caused by not doing a complete cleanup 
before building. The files above are not always correctly regenerated from a previous build with different options,
or even a change in the code.

The cleanup.sh script does a truly complete cleanup for this purpose.

Regards,
Mike


----- Original Message ----- 
From: "Oeyvind Brandtsegg" 
To: "Developer discussions" 
Sent: Wednesday, July 02, 2008 6:07 PM
Subject: [Cs-dev] running python apps with csound in source dir


> Hello,
>
> I'm trying to run some Csound/Python apps, still keeping Csound in the
> source directory (not creating an installer and installing it, just
> running it from where I compiled it).
> It seems, by setting PATH and OPCODEDIR (or OPCODEDIR64) to point to
> the source code directory, I can run Csound just fine. But I get
> problems when trying to run some of my Python apps using the
> CsoundAPI.
> I did also set PYTHONPATH to point to the Csound source code directory..
>
> Is there something more I need to do to make it work ?
>
> best
> Oeyvind
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 




-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-07-03 09:43
From"Oeyvind Brandtsegg"
SubjectRe: [Cs-dev] running python apps with csound in source dir
AttachmentsNone  

Date2008-07-03 09:47
From"Oeyvind Brandtsegg"
SubjectRe: [Cs-dev] running python apps with csound in source dir
AttachmentsNone