'I have installed ipython ,but could not open it
'ipython' is not recognized as an internal or external command, operable program or batch file.
I have tried reinstalling python with add python to path optin .But that didn't work either.
'ipython' input
'ipython' is not recognized as an internal or external command, operable program or batch file.
Solution 1:[1]
just install ipython from terminal
pip install ipython
after that run this in terminal
ipython
Solution 2:[2]
Uninstalling and installing ipython
worked for me (add --user
in case you are using Linux), the following was run on MacOS:
pip3 uninstall ipython
pip3 install ipython
If the above doesn't work for you, the solution mentioned (here)[https://blog.karatos.in/a?ID=00750-d6f5f14c-60f3-443d-b038-9356723547ef] might be of some help: -
- Check IPython version (
python3 -m IPython --version
) to see if IPython has been installed correctly. - Check if running
python3 -m IPython
opens the python shell for you. - Set an alias for the command
python3 -m IPython
in your.bash_profile
file.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Razia Khan |
Solution 2 |