Message333075
On Windows 10, when I try to activate a venv in powershell where the name contains an apostrophe, I get the following error ("don't" is the name of the venv):
PS N:\projects\cpython\don't\Scripts> .\activate.ps1
At N:\projects\cpython\don't\Scripts\Activate.ps1:42 char:28
+ function global:prompt {
+ ~
Missing closing '}' in statement block or type definition.
At N:\projects\cpython\don't\Scripts\Activate.ps1:37 char:40
+ if (! $env:VIRTUAL_ENV_DISABLE_PROMPT) {
+ ~
Missing closing '}' in statement block or type definition.
At N:\projects\cpython\don't\Scripts\Activate.ps1:43 char:61
+ Write-Host -NoNewline -ForegroundColor Green '(don't) '
+ ~
Unexpected token ')' in expression or statement.
At N:\projects\cpython\don't\Scripts\Activate.ps1:43 char:63
+ Write-Host -NoNewline -ForegroundColor Green '(don't) '
+ ~
The string is missing the terminator: '.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : MissingEndCurlyBrace
This works OK in Command Prompt. |
|
Date |
User |
Action |
Args |
2019-01-05 21:34:33 | cheryl.sabella | set | recipients:
+ cheryl.sabella |
2019-01-05 21:34:29 | cheryl.sabella | set | messageid: <1546724069.06.0.00436819935865.issue35667@roundup.psfhosted.org> |
2019-01-05 21:34:29 | cheryl.sabella | link | issue35667 messages |
2019-01-05 21:34:28 | cheryl.sabella | create | |
|