what is the meaning of error 'the following command must be run outside of the IPython shell:' code example
Example: The Python package manager (pip) can only be used from outside of IPython.
For installing packages in Ipython just always type "!" before command:
!pip install packagename