Skip to content

after venv activation "which python3" and sys.path both give base installation instead of venv #87384

@neeltennis

Description

@neeltennis
BPO 43218
Nosy @ronaldoussoren, @ericvsmith, @ned-deily, @dtrodrigues
PRs
  • bpo-43218: Prevent venv creation when the target directory contains a PATH separator. (GH-24530) #24530
  • Files
  • Screen Shot 2021-02-13 at 8.31.20 PM.png: Screenshot of terminal commands
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-02-14.23:23:18.247>
    created_at = <Date 2021-02-14.04:36:16.542>
    labels = ['OS-mac', 'type-bug', '3.9']
    title = 'after venv activation "which python3" and sys.path both give base installation instead of venv'
    updated_at = <Date 2021-02-15.02:15:39.687>
    user = 'https://bugs.python.org/neeltennis'

    bugs.python.org fields:

    activity = <Date 2021-02-15.02:15:39.687>
    actor = 'dtrodrigues'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-02-14.23:23:18.247>
    closer = 'ned.deily'
    components = ['macOS']
    creation = <Date 2021-02-14.04:36:16.542>
    creator = 'neeltennis'
    dependencies = []
    files = ['49807']
    hgrepos = []
    issue_num = 43218
    keywords = []
    message_count = 14.0
    messages = ['386931', '386956', '386962', '386964', '386965', '386966', '386969', '386970', '386971', '386972', '386973', '386974', '386975', '386976']
    nosy_count = 5.0
    nosy_names = ['ronaldoussoren', 'eric.smith', 'ned.deily', 'dtrodrigues', 'neeltennis']
    pr_nums = ['24530']
    priority = 'normal'
    resolution = 'works for me'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43218'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9only security fixesOS-mactype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions