source activate does not activate python venv environment

258 Views Asked by At

I am using python 3.10, and create a virtual environment using

python -m venv .venv

seems bin folder generated in proper way, however when I use

source .venv/bin/activate

(venv) not showing up

tried:

  1. export $PATH='usr/local/python3.10/bin'
  2. create virtual environment using pycharm / vs code
  3. /usr/local/python3.10 -m venv .venv
  4. It's not zsh profile settings issue as well the, zshrc setting doesn't work for me none of above solved the problem
0

There are 0 best solutions below