Skip to content

[BUG] Certain environments in windows result in mangled prompts #367

@avasomething

Description

@avasomething

Software version info:

(anaconda-project version, conda version, etc.)
Anaconda=2021.11
conda=4.11.0
anaconda-project=0.10.1

Expected behavior is for the environment to activate and display the appropriate output or prompt. Actual behavior is a mangled prompt.

Relevant configuration files

anaconda-project.yml:

name: name
description: description
packages: [ python=3.6.3 ]
channels: [main]
platforms: [win-64]
env_specs:
  new_py36: {}

Complete, minimal, self-contained example code that reproduces the issue.

anaconda-project run conda list
# or alternatively
anaconda-project run python

Command output and/or screenshots of the bug in action

On one user's machine, running python ends up with a broken double-prompt, shown in screenshot below (with username/directory redacted.) On my test machine, python breaks in a different way, and conda list will output the installed packages and then proceed to overwrite the output with new lines as I hit enter.
double-prompt

Metadata

Metadata

Assignees

No one assigned

    Labels

    TRIAGEUncategorized issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions