Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can't run ipython on cmd

Tags:

python

ipython

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!

like image 517
R254 Avatar asked Jan 21 '26 18:01

R254


1 Answers

Found the solution: run python -m IPython (case sensitive).

To find that out, I ran pip show ipython and it showed me some info, including the path of the module (for me: c:\users\mathieures\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages). In there, a folder named IPython!

like image 158
mathieures Avatar answered Jan 23 '26 07:01

mathieures