Broken Python 2.7 GAE Installation Raising ImportError

Gae sdk worked without errors (using 2.7 and webapp2), but suddenly stopped. Now I can’t even get an example from the get started page .

I did a clean install of both python and gae, without cubes. I tried different versions of python 2.7 (2.7.3, activestate 2.7.2) and gae (1.6.4, 1.6.5, 1.6.6), but I still get ImportError below.

Additional Information:

  • I can import the _socket module into cmd or python shell without errors.
  • I have the same problem on my laptop.
  • My girlfriend Vista machine works great with sample code.
  • I do not have Python 2.5 installed, I assume that GAE refers to the python25.dll file in T: \ Program Files (x86) \ Google \ google_appengine \
>     2012-05-22 12:56:59 Running command: "['T:\\Python27\\pythonw.exe', 'T:\\Program Files
> (x86)\\Google\\google_appengine\\dev_appserver.py',
> '--admin_console_server=', '--port=8080',
> u'T:\\Users\\Wyatt\\Desktop\\helloworld']"
>     Traceback (most recent call last):
>       File "T:\Program Files (x86)\Google\google_appengine\dev_appserver.py", line 126, in <module>
>         run_file(__file__, globals())
>       File "T:\Program Files (x86)\Google\google_appengine\dev_appserver.py", line 122, in run_file
>         execfile(script_path, globals_)
>       File "T:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver_main.py",
> line 157, in <module>
>         from google.appengine.tools import appcfg
>       File "T:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line
> 41, in <module>
>         import mimetypes
>       File "T:\Python27\lib\mimetypes.py", line 29, in <module>
>         import urllib
>       File "T:\Python27\lib\urllib.py", line 26, in <module>
>         import socket
>       File "T:\Python27\lib\socket.py", line 47, in <module>
>         import _socket
>     ImportError: Module use of python25.dll conflicts with this version of Python.
>     2012-05-22 12:56:59 (Process exited with code 1)
+3
1

, PYTHONPATH . SimpleCV, .

System = > Advanced System Parameters = > , PYTHONPATH . Google AppEngine .

-1

All Articles