Re: [Loris-announce] python morphtest.py question
C++ class library for sound analysis, synthesis, and morphing
Brought to you by:
kfitz
From: Kelly F. <kf...@ce...> - 2005-12-18 17:24:58
|
Hi Darek, The problem is that the loris module was installed in a directory that is not in your default PYTHONPATH. Unless you specified a different prefix when you ran configure, it was probably installed in /usr/local/lib/pythonx.x/site-packages, where x.x is the python version. If you look at sys.path, you will probably not find that directory in there (though you will very likely find /usr/lib/ ythonx.x/site-packages). Anyway, the solution is to add the /usr/local site-packages directory to your PYTHONPATH environment variable. Either setenv PYTHONPATH /usr/local/lib/pythonx.x/site-packages for csh or a derivative, of export PYTHONPATH=/usr/local/lib/pythonx.x/site-packages (I think) for bash. Hope that helps, -kel On Dec 17, 2005, at 4:13 PM, Darek wrote: > Hello, > > First of all, thank you for developing and updating this nice > software. > Since long time I was trying to compile old versions of Loris, > hearing examples of exceptional quality sound manipulation, wanted > to use it in my own compositions... and I always failed. :( > But today Loris version 1.3 compiled on Fedora Core 3 Gnu/Linux > without errors! > However trying to run "python morphtest.py" I got: > ---------------------------------------------------- > Welcome to the very simple Loris morphing test! > Kelly Fitz 2000 > > Generates a simple linear morph between a > clarinet and a flute using the Loris > extension module for Python. > > Traceback (most recent call last): > File "/loris-1.3.0/test/morphtest.py", line 44, in ? > import loris, os, time > ImportError: No module named loris > ---------------------------------------------------- > > Strange thing is, when I use command "make check" I end up with > Loris C++ API test generating the best morph I ever heard :) > between a clarinet and a flute ending with "All 9 tests passed" and > everything looks fine. > > What's the right way to start Loris test? > > > Darek > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Loris-announce mailing list > Lor...@li... > https://lists.sourceforge.net/lists/listinfo/loris-announce Kelly Fitz School of Electrical Engineering and Computer Science Washington State University kf...@ee... |