Changes

Jump to navigation Jump to search
no edit summary
Open '''WinPython Control Panel''' in ex. '''C:\WinPython27\WinPython-32bit-2.7.5.1'''<br>
Drag the 4 above mentioned packakes, into the window, and install the packages.<br>
For a command window, use the '''WinPython Command Prompt''' found in '''C:\WinPython27\WinPython-64bit32bit-2.7.45.1''', which fixes path issues for finding python.
= Install Visual Studio Express 2012 for Windows Desktop =
== Bugfix scons for 32bit building ==
Due to a bug, versions of scons '''<=2.3''' should alter a line in:<br>
'''C:\WinPython27\WinPython-64bit32bit-2.7.5.1xxx\python-2.7.5.amd64xxx\Lib\site-packages\scons-2.3.0\SCons\Tool\MSCommon\vc.py'''
Line '''364''':
cl /Fotarget_functions\c_chi2.obj /c target_functions\c_chi2.c /nologo /I"C:\Win
Python27\WinPython-64bit32bit-2.7.5.1xxx\scripts\..\python-2.7.5.amd64xxx\include"
'cl' is not recognized as an internal or external command,
operable program or batch file.
== Modify env.bat ==
Modify '''C:\WinPython27\WinPython-64bit32bit-2.7.5.1xxx\scripts\env.bat''', and add to end of file
<source lang="powershell">
set PATH=%PATH%;C:\WinPython27\relax_disp
</source>
Test installation, by clicking '''C:\WinPython27\WinPython-64bit32bit-2.7.5.1xxx\scripts\cmd.bat''', and write
<source lang="powershell">
relax
=== Tip - shortcut to cmd.bat ===
Make shortcut to '''C:\WinPython27\WinPython-64bit32bit-2.7.5.1xxx\scripts\cmd.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.
Right click Computer -> properties -> Advanced system settings -> Environment Variables -> User variables -> Edit: PATH <br>
Add to end of the Variable value:
;C:\WinPython27\WinPython-64bit32bit-2.7.5.1xxx\scripts
In any folder, hold "Shift" and right click, "Open command window here". Write:
<source lang="powershell">
Then copy '''C:\WinPython27\qtgrace_windows_binary\bin\qtgrace.exe''' to '''C:\WinPython27\qtgrace_windows_binary\bin\xmgrace.exe'''
Modify '''C:\WinPython27\WinPython-64bit32bit-2.7.5.1xxx\scripts\env.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-64bit32bit-2.7.5.1xxx\scripts\cmd.bat''', and write
<source lang="powershell">
xmgrace

Navigation menu