New submission from Nils Lindemann <nilsherolindem...@googlemail.com>:

Windows 7, Python 3.7.1:260ec2c36a

after doing

    C:\python\python -m venv C:\myvenv

and then

    C:\>myvenv\Scripts\activate.bat

it prints

    parameter format not correct - 65001

However, it activates the venv - the prompt shows

    (myvenv) C:\>

and

    C:\myvenv\Scripts;

gets prepended to PATH.

When i outcomment

    for /f "tokens=2 delims=:" %%a in ('"%SystemRoot%\System32\chcp.com"') do (
        set "_OLD_CODEPAGE=%%a"
    )

in the activate.bat then the message wont show up.

related: 
https://stackoverflow.com/questions/51358202/python-3-7-activate-venv-error-parameter-format-not-correct-65001-windows

----------
messages: 332320
nosy: Nils-Hero
priority: normal
severity: normal
status: open
title: venv: running activate.bat gives ' parameter format not correct - 65001'
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35558>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to