[pypy-dev] Crash starting pypy on XP

Edward K. Ream edreamleo at charter.net
Wed Nov 29 02:59:15 CET 2006


Hello all,

Excellent documentation at:

http://codespeak.net/pypy/dist/pypy/doc/getting-started.html#downloading-running-the-pypy-0-9-release

Alas, when I execute python pypy/bin/py.py from C:\pypy-0.9.0 on XP I get:

C:\pypy-0.9.0>python pypy/bin/py.py
Traceback (most recent call last):
  File "pypy/bin/py.py", line 207, in <module>
    sys.exit(main_(sys.argv))
  File "pypy/bin/py.py", line 78, in main_
    space = make_objspace(Options)
  File "pypy/bin/py.py", line 66, in make_objspace
    compiler = cmdlineopt.compiler,
  File "C:\pypy-0.9.0\pypy\interpreter\baseobjspace.py", line 164, in 
__init__
    self.initialize()
  File "C:\pypy-0.9.0\pypy\objspace\std\objspace.py", line 98, in initialize
    w_mod = self.setup_exceptions()
  File "C:\pypy-0.9.0\pypy\objspace\std\objspace.py", line 219, in 
setup_exceptions
    mod, w_dic = self.create_builtin_module('_exceptions.py', 'exceptions')
  File "C:\pypy-0.9.0\pypy\objspace\std\objspace.py", line 164, in 
create_builtin_module
    w_dic = PyPyCacheDir.build_applevelinterp_dict(fake, self)
  File "C:\pypy-0.9.0\pypy\interpreter\gateway.py", line 840, in 
build_applevelinterp_dict
    cls._setup()
  File "C:\pypy-0.9.0\pypy\interpreter\gateway.py", line 895, in _setup
    p = lp(pypy.__file__).new(basename='_cache').ensure(dir=1)
  File "C:\pypy-0.9.0\py\path\local\local.py", line 276, in ensure
    return p._ensuredirs()
  File "C:\pypy-0.9.0\py\path\local\local.py", line 265, in _ensuredirs
    if self.check(dir=0):
  File "C:\pypy-0.9.0\py\path\common.py", line 102, in check
    return self.Checkers(self)._evaluate(kw)
  File "C:\pypy-0.9.0\py\path\common.py", line 75, in _evaluate
    if bool(value) ^ bool(meth()) ^ invert:
  File "C:\pypy-0.9.0\py\path\local\local.py", line 35, in dir
    return stat.S_ISDIR(self._stat().mode)
  File "C:\pypy-0.9.0\py\path\local\local.py", line 29, in _stat
    self._statcache = self.path.stat()
  File "C:\pypy-0.9.0\py\path\local\local.py", line 285, in stat
    stat = self._callex(os.stat, self.strpath)
  File "C:\pypy-0.9.0\py\path\common.py", line 205, in _callex
    return func(*args)
WindowsError: [Error 2] The system cannot find the file specified: 
'C:\\pypy-0.9.0\\pypy\\_cache'

Any help getting started would be appreciated.  Thanks.

Edward
--------------------------------------------------------------------
Edward K. Ream   email:  edreamleo at charter.net
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------






More information about the Pypy-dev mailing list