0

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 ?

moh80s
  • 695
  • 4
  • 21

1 Answers1

1

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

tocode
  • 105
  • 1
  • 9
  • i did it.. but it shows me this error `'which' is not recognized as an internal or external command, operable program or batch file.` – moh80s Oct 06 '19 at 06:24
  • I found the way, i should have installed pipenv by `pip install pipenv` in powershell, cmd either to then be able to do the same with powershell and cmd. Now i tried it and it worked , thank you . – moh80s Oct 06 '19 at 06:33
  • I don't have Windows to verify on your 'which' problem, but you can open "Python console" in pycharm to check for your python path (i.e. it may show full path to your python at the beginning of your 'python console' in pycharm - mine does that.) – tocode Oct 06 '19 at 06:35