Having the same problem here:

D:\Python>python go-pylons.py --no-site-packages devenv
New python executable in devenv\Scripts\python.exe
Installing setuptools...............................done.
Traceback (most recent call last):
  File "go-pylons.py", line 836, in <module>
    main()
  File "go-pylons.py", line 341, in main
    after_install(options, home_dir)
  File "go-pylons.py", line 628, in after_install
    '-f', 'http://pylonshq.com/download/0.9.7', 'Pylons'])
  File "C:\Bin\Python\lib\subprocess.py", line 444, in call
    return Popen(*popenargs, **kwargs).wait()
  File "C:\Bin\Python\lib\subprocess.py", line 594, in __init__
    errread, errwrite)
  File "C:\Bin\Python\lib\subprocess.py", line 816, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified


After changing line 627 to "subprocess.call([join(home_dir, 'Scripts',
'easy_install')," it works fine.




On Jun 11, 6:29 pm, joep <[EMAIL PROTECTED]> wrote:
> I was trying out the bootstrap script on WindowsXP with Python2.4
>
> I used the command
> go-pylons.py --no-site-packages mydevenv
>
> and had several problems with the ``after_install``:
>
> * ``join(home_dir, 'bin')`` is wrong on windows (``Scripts`` instead
> of ``bin`) ,
>   the docstring example in the original virtualenv.py for
> ``create_bootstrap_script`` is wrong for Windows
>   changes: used bin_dir instead (conditional definition as in rest of
> virtualenv.py)
> {{{
>     if sys.platform == 'win32':
>         lib_dir = join(home_dir, 'Lib')
>         bin_dir = join(home_dir, 'Scripts')
>     else:
>         lib_dir = join(home_dir, 'lib', py_version)
>         bin_dir = join(home_dir, 'bin')}}}
>
> * compiling extensions does not work in virtualenv, mingw does not
> find ``-lpython24``
>   - jinja: C extension for speedup is not installed
>   - simplejson: C extension for speedup is not installed
> * Mercurial does not install correctly, cannot be compiled
>   - checkout with hg of virtualenv fails
>   - Solution:
>      - do not install mercurial, use system ``hg`` instead, I have hg
> in standard python installation
>      - in subprocess call replace local hg by system hg
> {{{
>         subprocess.call(['hg',
>             'clone', 'https://www.knowledgetap.com/hg/%s'% name,
>             join(home_dir, name)])
>
> }}}
>
> * after this it finishes without any further error messages
>
> I haven't done yet any testing or projects to see if everything in
> this virtual environment works correctly, but previously, without any
> bootstrap script, I didn't have any problems once the installation
> finished successfully.
> Josef
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to