Hi, You will now be able to find and install minfx-1.0.2 (https://gna.org/projects/minfx/) which has support for Python 2.6. I hope there aren't too many other problems, I have run the test suite of the repository version of relax-1.3 with Python 2.6 and there seems to be no problems. With relax-1.3.3, the RelaxWarning system fails with Python2.6! I fixed this in the source code repository a while ago, therefore I will have have to make a relax-1.3.4 release soon. If you can't wait, you can get this code using subversion (SVN) by typing:
$ svn co svn://svn.gna.org/svn/relax/1.3 relax-1.3 or if this doesn't work: $ svn co http://svn.gna.org/svn/relax/1.3 relax-1.3 Regards, Edward On Thu, Jul 30, 2009 at 11:24 AM, Edward d'Auvergne<[email protected]> wrote: > Hi, > > There's no need to apologise, relax should install without problem. > The issues are with these newer Python releases (versions > 3.0 will > be an absolute nightmare!). With python-2.6, they introduced a new > 'statement' called 'as'. This is the problem you see, it broke many > programs that used 'as' as a variable. I fixed this in minfx in the > repository, but haven't released a new 1.0.2 minfx version yet as I > didn't realise Linux distributions where shipping python-2.6 yet. > I'll try to make a release today! > > Cheers, > > Edward > > > On Wed, Jul 29, 2009 at 10:09 PM, S W Simon Sham<[email protected]> wrote: >> Hi, >> I apologize for having some installation questions of 1.3.3. version. I >> reinstalled a newer version of scientific python that is in Fedora. >> However, this time the error messages: >> File "/usr/local/relax-1.3.3/relax", line 53, in <module> >> from prompt import interpreter >> File "/usr/local/relax-1.3.3/prompt/interpreter.py", line 50, in <module> >> from dx import OpenDX >> File "/usr/local/relax-1.3.3/prompt/dx.py", line 35, in <module> >> import opendx.main >> File "/usr/local/relax-1.3.3/opendx/main.py", line 33, in <module> >> import isosurface_3D >> File "/usr/local/relax-1.3.3/opendx/isosurface_3D.py", line 31, in <module> >> from base_map import Base_Map >> File "/usr/local/relax-1.3.3/opendx/base_map.py", line 36, in <module> >> from specific_fns.setup import get_specific_fn >> File "/usr/local/relax-1.3.3/specific_fns/setup.py", line 27, in <module> >> from specific_fns.model_free import Model_free >> File "/usr/local/relax-1.3.3/specific_fns/model_free/__init__.py", line 34, >> in <module> >> from main import Model_free_main >> File "/usr/local/relax-1.3.3/specific_fns/model_free/main.py", line 37, in >> <module> >> from minfx.generic import generic_minimise >> File "/usr/lib/python2.6/site-packages/minfx/generic.py", line 26, in >> <module> >> from bfgs import bfgs >> File "/usr/lib/python2.6/site-packages/minfx/bfgs.py", line 26, in <module> >> from base_classes import Line_search, Min >> File "/usr/lib/python2.6/site-packages/minfx/base_classes.py", line 45, in >> <module> >> from line_search.more_thuente import more_thuente >> File "/usr/lib/python2.6/site-packages/minfx/line_search/more_thuente.py", >> line 386 >> as = secant(al, at, gl, gt) >> ^ >> SyntaxError: invalid syntax >> >> Apparently, the problem is from minfx. >> >> THanks for any help in advance. >> >> >> >> >> >> Simon Sham, Ph.D. >> NMR Core Facility >> 933 S. 19th Street >> CH19 B30 >> Phone: 205-934-5696 >> Email: [email protected] >> _______________________________________________ >> 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

