mailRe: setting up relax on mac


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on August 09, 2013 - 00:54:
Hi Paul,

I think you'll find the solution for the numpy problem at
http://wiki.nmr-relax.com/Multiple_Python_versions.  My guess for the
scons problem could be because the code was checked out as root.  I
would suggest having the relax_disp branch checked out as a user.  You
can always create a symbolic link in ~/bin to this.  Of if this is for
multiple users, then in /usr/local/bin.

Regards,

Edward





On 9 August 2013 00:19, Paul Schanda <paul.schanda@xxxxxx> wrote:
I have followed the detailed instructions on
http://wiki.nmr-relax.com/Installation_mac

And everything works fine until I try the scons command, in the section
"checking out the relax branch"

This all works fine:

cd /usr/local/
svn co svn://svn.gna.org/svn/relax/branches/relax_disp relax_disp
cd relax_disp

But when I type

 scons


I get:

scons: Permission denied.


This is the case even when I'm root.
How can I not have the permission even when being root?


Furthermore, and probably unrelated to this, numpy seems to be in the wrong
path or so.
I try the following:

[new-host-2:/usr/local] paul% relax -g

The dependency 'numpy' has not been installed.


However, numpy is there:

[new-host-2:/usr/local] paul% python

Python 2.7.5 (default, Jun 27 2013, 19:56:45)

[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

import numpy



import scipy







The following probably gives a hint on what python versions are there.

[new-host-2:/usr/local] paul% locate python | grep '\/python$\|\/python2..$'
| grep bin

/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7

/Library/Frameworks/Python.framework/Versions/7.3/bin/python2.7

/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5

/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6

/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7

/Users/paul/programmdownloads/ccpn2.2/ccpnmr/python2.6/bin/python2.6

/Users/paul/programmdownloads/python_virtualenv/my_new_env/bin/python2.7

/opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5

/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7

/opt/local/bin/python2.4

/opt/local/bin/python2.5

/opt/local/bin/python2.6

/opt/local/bin/python2.7

/usr/bin/python2.5

/usr/bin/python2.6

/usr/bin/python2.7

/usr/local/bin/python2.7



I don't know which python version is used when I start relax, though.
So I don't know why relax does not seem to find numpy when starting up.




paul






Related Messages


Powered by MHonArc, Updated Fri Aug 09 01:20:07 2013