简体   繁体   中英

zsh: command not found: virtualenv

I am trying to install virtualenv on Mac Terminal for Django but its showing me - zsh: command not found: virtualenv and i also tried following command

@macbook-air trydjango % virtualenv-p python3.

zsh: command not found: virtualenv -p

@macbook-air trydjango % pip install virtualenv

zsh: command not found: pip

I also tried to run the commands ad per this article https://opensource.com/article/19/5/python-3-default-mac#what-to-do

$ brew install pyenv

but not working

How can i install this.

I have no idea where to begin researching this.

Try installing in the right directory with this command: sudo /usr/bin/easy_install virtualenv

Also check this link for other variants to solve the problem: https://appuals.com/how-to-fix-command-not-found-error-on-virtualenv/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM