[issue43218] after venv activation "which python3" and sys.path both give base installation instead of venv

2021-02-14 Thread Neel Gore
Neel Gore added the comment: Ah in hindsight I see why this was troublesome; the directory name was "Project 4/5", and zsh was displaying the / with a :. Renaming the directory to "Project 4_5" fixed the problem. Thanks everyone! -- __

[issue43218] after venv activation "which python3" and sys.path both give base installation instead of venv

2021-02-14 Thread Neel Gore
Neel Gore added the comment: This is Python 3.9.1 from the normal python.org download. Before venv activation, "echo $PATH" gives: /Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Pub

[issue43218] after venv activation "which python3" and sys.path both give base installation instead of venv

2021-02-14 Thread Neel Gore
Neel Gore added the comment: (sorry for double message) update: Just created a venv in Desktop and another in a directory in Documents and got the correct behavior both times. Seems like the issue is isolated to the certain directory

[issue43218] after venv activation "which python3" and sys.path both give base installation instead of venv

2021-02-14 Thread Neel Gore
Neel Gore added the comment: Just ran: neelgore@Neels-MacBook-Pro Project 4:5 % rm -r .venv neelgore@Neels-MacBook-Pro Project 4:5 % which python3 /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 neelgore@Neels-MacBook-Pro Project 4:5 % python3 -m venv .venv neelgore@Neels

[issue43218] after venv activation "which python3" and sys.path both give base installation instead of venv

2021-02-14 Thread Neel Gore
Neel Gore added the comment: zsh 5.8 (x86_64-apple-darwin20.0) and macOS Big Sur 11.2.1 This was the normal python dot org installation. -- ___ Python tracker <https://bugs.python.org/issue43

[issue43218] after venv activation "which python3" and sys.path both give base installation instead of venv

2021-02-13 Thread Neel Gore
New submission from Neel Gore : Fresh python 3.9.1 installation on macOS, shell is zsh activated a venv with "python3 -m venv .venv" activated with "source .venv/bin./activate" "which python3" and "which pip3" both show my base installation ---