Hi, This is quite strange! The Win32 distribution should have worked :S Are you sure it was this version? What happens if you type:
relax> from maths_fns.relax_fit import setup Do you get something like: relax> from maths_fns.relax_fit import setup Traceback (most recent call last): File "<console>", line 1, in <module> ImportError: No module named relax_fit relax> Hmmm, what is Windows doing here :S Bye, Edward On 22 February 2011 17:18, Min-Kyu Cho <[email protected]> wrote: > Hi, > > Here is the output with >> relax --help: > > relax 1.3.10 > > Molecular dynamics by NMR data analysis > > Copyright (C) 2001-2006 Edward d'Auvergne > Copyright (C) 2006-2011 the relax development team > > This is free software which you are welcome to modify and redistribute under > the > conditions of the GNU General Public License (GPL). This program, including > all > modules, is licensed under the GPL and comes with absolutely no warranty. > For > details type 'GPL' within the relax prompt. > > Assistance in using the relax prompt and scripting interface can be accessed > by > typing 'help' within the prompt. > > ImportError: relaxation curve fitting is unavailable, the corresponding C > modules have not been compiled. > > Hardware information: > Machine: x86 > Processor: x86 Family 6 Model 23 Stepping 6, GenuineIntel > > System information: > System: Windows > Release: post2008Server > Version: 6.1.7600 > Win32 version: post2008Server 6.1.7600 Multiprocessor Free > Distribution: > Full platform string: Windows-post2008Server-6.1.7600 > > Software information: > Architecture: 32bit WindowsPE > Python version: 2.6.5 > Python branch: tags/r265 > Python build: r265:79096, Mar 19 2010 21:48:26 > Python compiler: MSC v.1500 32 bit (Intel) > Python implementation: CPython > Python revision: 79096 > Numpy version: 1.5.1 > Libc version: > > Python packages (most are optional): > > Package Installed Version Path > minfx True Unknown D:\Programs\relax\minfx > bmrblib False > numpy True 1.5.1 C:\Program > Files\Python26\lib\site-packages\numpy > ScientificPython False > wxPython True > mpi4py False > epydoc False > optparse True 1.5.3 C:\Program > Files\Python26\lib\optparse.py > Numeric False > readline True C:\Program > Files\Python26\lib\site-packages\readline.py > profile True C:\Program > Files\Python26\lib\profile.py > bz2 True C:\Program > Files\Python26\DLLs\bz2.pyd > gzip True C:\Program > Files\Python26\lib\gzip.py > os.devnull True C:\Program > Files\Python26\lib\os.pyc > > Compiled relax C modules: > Relaxation curve fitting: False > --- > > It is clear that I don't have C library. At the moment, I don't need it, but > will try later with my data. > > Regards, > Min-Kyu > > > +------------------------------+ > Cho, Min-Kyu > Rm. 5110D MRBIII, 465 21st Ave S. > Vanderbilt University School of Medicine, Nashville, TN 37232-8725 > Phone: 615-936-3757 / Fax: 615-936-2211 > > | > -----Original Message----- > | > From: [email protected] [mailto:[email protected]] On > | > Behalf Of Edward d'Auvergne > | > Sent: Tuesday, February 22, 2011 3:21 AM > | > To: Cho, Min-Kyu > | > Cc: [email protected] > | > Subject: Re: ImporError > | > > | > Hi, > | > > | > Are you using the Win32 compiled version from > | > http://www.nmr-relax.com/download.html? Could you run: > | > > | > $ relax --info > | > > | > and copy the result? The problem here is that the C modules for the > | > relaxation curve-fitting of the R1 and R2 rates is either not compiled > | > or the compiled version is incompatible with your combination of MS > | > Windows version, Python version, and numpy version. It may be that > | > you are using a 64-bit version of Windows, in which case the 32-bit C > | > module will not work. If you don't need to use this part of relax, > | > you can safely ignore this warning. > | > > | > However, if you do need it and you are brave, I have created > | > instructions on how to set up a development environment on Windows to > | > allow the C modules to be compiled: > | > > | > http://www.nmr-relax.com/windows_devel.html > | > > | > With scons and MS Visual C++ installed, it should be possible to > | > compile the module. > | > > | > Regards, > | > > | > Edward > | > > | > > | > > | > > | > On 22 February 2011 06:13, Min-Kyu Cho <[email protected]> > | > wrote: > | > > Hi Eddy, > | > > > | > > > | > > > | > > I got the following error when I executed ‘relax’ on Window7; > | > > > | > > > | > > > | > > ImportError: relaxation curve fitting is unavailable, the > | > corresponding C > | > > module have not been compiled. > | > > > | > > > | > > > | > > What should I do? > | > > > | > > > | > > > | > > Cheers, > | > > > | > > Min-Kyu > | > > > | > > > | > > > | > > _______________________________________________ > | > > relax (http://nmr-relax.com) > | > > > | > > This is the relax-users mailing list > | > > [email protected] > | > > > | > > To unsubscribe from this list, get a password > | > > reminder, or change your subscription options, > | > > visit the list information page at > | > > https://mail.gna.org/listinfo/relax-users > | > > > | > > > > > _______________________________________________ > relax (http://nmr-relax.com) > > This is the relax-users mailing list > [email protected] > > To unsubscribe from this list, get a password > reminder, or change your subscription options, > visit the list information page at > https://mail.gna.org/listinfo/relax-users > _______________________________________________ relax (http://nmr-relax.com) This is the relax-users mailing list [email protected] To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-users

