简体   繁体   中英

I can't run pipenv install django

Whenever I enter pipenv install django in the cmd an error appears:

" 'pipenv' is not recognized as an internal or external command, operable program or batch file. "

I can run: pip install pipenv and: pip install django

I solved it by re-installing python then checked the check box called " add python to PATH " and it worked perfect with no errors

Checking "add python to PATH" when installing Python will only work for Python and pip commands. However, while installing " pipenv " using " pip install pipenv " command, pipenv will be installed but it might not be added to the PATH environment variables and you have to do it manually. Doing this, most probably the error " pipenv is not recognized... " will disappear. I solved this issue when I realized pipenv is not added to the environment variables.

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