Open main menu

Changes

Installation windows Python x86-32 minGW

2,042 bytes removed, 14:33, 20 June 2013
no edit summary
= STOP =
 
This does not work yet
 
= Download preparation =
This guide should follow [http://www.nmr-relax.com/windows_devel.html Homepage for MS Windows development platform]
python /c/WinPython27/WinPython-32bit-2.7.5.1/python-2.7.5/Scripts/scons.py install
</source>
 
Or navigate to C:\WinPython27\relax_disp_32, hold "Shift" and right click, "Open command window here". Write:
pyt32
scons
 
== Modify pyt32.bat ==
Modify '''C:\WinPython27\WinPython-32bit-xxx\scripts\own\pyt32.bat''', and add to end of file
<source lang="powershell">
set PATH=%PATH%;C:\WinPython27\relax_disp_32
</source>
 
Test installation, by clicking '''C:\WinPython27\WinPython-32bit-xxx\scripts\own\cmdpyt32.bat''', and write
<source lang="powershell">
relax
relax -g
</source>
 
=== Tip - shortcut to cmdpyt32.bat ===
Make shortcut to '''C:\WinPython27\WinPython-32bit-xxx\scripts\own\cmdpyt32.bat''', and modify the shortcut. Set
'''Start in:''' %PWD%
You can now copy this shortcut around, which open a command prompt at the current folder, and set the paths correctly.
 
= Install other software =
== xmgrace - for the plotting results of NMR-relax ==
relax produces xmgrace "'.agr" files for plotting. There exist two ports for xmgrace to windows [http://sourceforge.net/projects/qtgrace/ QtGrace] and [http://sourceforge.net/projects/gracegtk/ GraceGTK].
 
Download [http://sourceforge.net/projects/qtgrace/ QtGrace], and unpack to '''C:\WinPython27\qtgrace_windows_binary'''. <br>
Then copy '''C:\WinPython27\qtgrace_windows_binary\bin\qtgrace.exe''' to '''C:\WinPython27\qtgrace_windows_binary\bin\xmgrace.exe'''
 
Modify '''C:\WinPython27\WinPython-32bit-xxx\scripts\own\pyt32.bat''', and add to end of file
<source lang="powershell">
set PATH=%PATH%;C:\WinPython27\qtgrace_windows_binary\bin
</source>
 
Test installation, by clicking '''C:\WinPython27\WinPython-32bit-xxx\scripts\own\cmdpyt32.bat''', and write
<source lang="powershell">
xmgrace
</source>
which should start xmgrace.
 
== Python editor ==
A good lightweight editor for windows could [[Pyscripter]]
 
= TEST INSTALLATION =
After an installation you should really run an [Installation_test]
 
= Trouble shooting =
 
 
 
== See also ==
[http://www.bozzograo.net/radiancewiki/doku.php?id=how_to_compile_radiance_using_the_mingw_tools_and_scons Guide to radiance compilation]
 
[[Category:Installation]]