I\'m using virtualenv and the virtualenvwrapper. I can switch between virtualenv\'s just fine using the workon command.
workon
me@mymachine:~$ workon
I found that when within a Miniconda3 environment I had to run:
conda deactivate
Neither deactivate nor source deactivate worked for me.
deactivate
source deactivate