I may get a bit closer, but I am not quite there yet.
I did install numpy via the dmg file, as described in
http://wiki.nmr-relax.com/Installation_mac
Nonetheless, I don't know where this numpy version went, because
apparently it is not seen when running scons.
[new-host-2:~/relax/relax_disp] paul% sudo /usr/libexec/locate.updatedb
dyld: DYLD_ environment variables being ignored because main executable
(/usr/bin/sudo) is setuid or setgid
Password:
So that works fine. However, scons does not see numpy... :
[new-host-2:~/relax/relax_disp] paul% /usr/local/bin/python
/usr/local/bin/scons
scons: Reading SConscript files ...
The dependency 'numpy' has not been installed.
I still have this pretty long list of python versions sitting around. I
don't know how to find out where the different numpy's sit, though.
[new-host-2:~/relax/relax_disp] 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
paul
On 09.08.13 01:05, Edward d'Auvergne wrote:
Also, for the Python version, can you update your locate database with
"sudo /usr/libexec/locate.updatedb"? I'm not sure if the new Python
is in the list. Some more below:
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.
Try instead as a normal user:
$ cd ~
$ mkdir relax
$ cd relax
$ svn co http://svn.gna.org/svn/relax/branches/relax_disp
$ cd relax_disp
$ /usr/local/bin/python /usr/local/bin/scons
Maybe this will work better.
I try the following:
[new-host-2:/usr/local] paul% relax -g
The dependency 'numpy' has not been installed.
Try instead:
% /usr/local/bin/python ~/relax/relax_disp/relax -g
It'll be interesting to see if these commands also give problems.
Regards,
Edward