pythonipython

can't run ipython on cmd


I successfully installed ipython via pip. I wanted then to use it by launching it through windows 10 command prompt but am getting the following error

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

I have gone through many questions on stackoverflow but cannot get a relevant solution. I tried pip install ipython to confirm the ipython is installed and following on the instruction on my tutorial, i typed ipython on cmd to launch the program and it has never worked. This is slowing down my learning, please help!


Solution

  • Search in your machine the ipython application (directory in which it is installled) and the add the path to PATH environment variables. For example in my case location was C:\Users\DELL\AppData\Local\Programs\Python\Python37\Scripts Add this path to PATH environment variable (see here) and your problem is solved.