moh80s
moh80s

Reputation: 761

cant run pipenv install django==2.1 in powershell(cmd either), why?

As you can see the terminal in pycharm easily lays the foundation for creating a django project.

as you can see it's making it in pycharm terminal

but in powershell(cmd either) I see this....

They give me an error

so how should i run the command to make it work in powershell or cmd either ?

is there any other way to make me able (not to be confined in pycharm terminal) to do the same with powershell and cmd ?

Upvotes: 0

Views: 364

Answers (1)

tocode
tocode

Reputation: 125

It is your python path is not in the MS terminal that you got the pipenv error. To see that behaviour in your pycharm, type: #which python The pycharm screen should show full path for your python in pycharm.

To fix the problem in your powershell terminal, you must add the full path for your python to your environment of that terminal. If you want to use the same python path as in your pycharm, you can add the python path from the pycharm 'which python' output to your powershell - For powershell path, See Setting Windows PowerShell environment variables

Upvotes: 1

Related Questions