<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I completely removed the Python25 bundled with GRASS and changed the
startup bat file to not look for the bundled python so this is how
it goes:<br>
<br>
C:\GRASS-70-SVN>set_shell_start_grass70svn.bat<br>
Cleaning up temporary files...<br>
Starting GRASS GIS...<br>
Traceback (most recent call last):<br>
File "C:\GRASS-70-SVN\etc\gui\wxpython\gis_set.py", line 38, in
<module><br>
import gui_modules.goutput<br>
File "C:\GRASS-70-SVN\etc\gui\wxpython\gui_modules\goutput.py",
line 35, in <module><br>
import gcmd<br>
File "C:\GRASS-70-SVN\etc\gui\wxpython\gui_modules\gcmd.py", line
44, in <module><br>
from win32file import ReadFile, WriteFile<br>
ImportError: No module named win32file<br>
Error in GUI startup. If necessary, please report this error to the
GRASS developers.<br>
Switching to text mode now.<br>
<br>
Hit RETURN to continue...<br>
<br>
Traceback (most recent call last):<br>
File "C:\GRASS-70-SVN\grass70.py", line 956, in <module><br>
set_data()<br>
File "C:\GRASS-70-SVN\grass70.py", line 497, in set_data<br>
gui_startup()<br>
File "C:\GRASS-70-SVN\grass70.py", line 519, in gui_startup<br>
os.execlp(cmd_name, "-text")<br>
File "C:\Python26\lib\os.py", line 327, in execlp<br>
execvp(file, args)<br>
File "C:\Python26\lib\os.py", line 344, in execvp<br>
_execvpe(file, args)<br>
File "C:\Python26\lib\os.py", line 380, in _execvpe<br>
func(fullname, *argrest)<br>
OSError: [Errno 2] No such file or directory<br>
<br>
I guess this is what you meant with <br>
"The only thing which may be problematic is the wxPython digitiser
module.
"<br>
<br>
for windows grass 7 comes bundled with python25 and now I use
python26 installed separately.<br>
Could you be more specific about how to remove the module ? I am
lost there.<br>
<br>
in the bundled \Python25\Lib\site-packages\wx-2.8-msw-unicode I see
that wxpython is<br>
Metadata-Version: 1.0<br>
Name: wxPython<br>
Version: 2.8.9.1 for python 2.5<br>
<br>
and the one in \Python26\Lib\site-packages\wx-2.8-msw-unicode is
version 2.8.11.0 for python 2.6<br>
<br>
thanks<br>
Onur<br>
<br>
<br>
On 10/14/2010 2:44 AM, Glynn Clements wrote:
<blockquote
cite="mid:19638.42721.973969.934111@cerise.gclements.plus.com"
type="cite">
<pre wrap="">
M.Onur Kurum wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Any ideas, suggestions ?
I just want to be able to launch the GUI when I have a .py of my own
under /scripts in grass6.4 or 7.0
</pre>
</blockquote>
<pre wrap="">
For 7.0, remove any version of Python which is bundled with GRASS, and
remove any reference to it from the startup scripts. Just use the
installed version of Python.
The only thing which may be problematic is the wxPython digitiser
module. That includes a binary component which will only work with the
exact versions of Python and wxPython for which it was compiled. If
this module is present, you may need to remove it in order to start
the GUI.
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<style>p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif"; }a:link, span.MsoHyperlink { color: blue; text-decoration: underline; }a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; }p { margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: "Times New Roman","serif"; }span.SpellE { }.MsoChpDefault { font-size: 10pt; }div.WordSection1 { page: WordSection1; }</style>
<div class="WordSection1">
<p style="margin: 0in 0in 0.0001pt;"><span class="SpellE">M.Onur</span>
Kurum<br>
Graduate Research Assistant<br>
Dept. of Civil, Construction, and Environmental Engineering<br>
North Carolina State University<br>
Campus Box 7908<br>
2501 Stinson Drive, 428 Mann Hall<br>
Raleigh, NC 27695-7908<br>
Office: (919) 515-1340<br>
Mobile: (919) 200-0665 <br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:mokurum@ncsu.edu">mokurum@ncsu.edu</a><br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:m.onur.kurum@gmail.com">m.onur.kurum@gmail.com</a></p>
</div>
</div>
</body>
</html>