How to solve the error in installing external module in jupyter notebook

Question:

pip install termcolor

I have jupyter notebook installed through anaconda, whenever i try to install termcolor, it gives me this error and i have no idea how to tackle it.

Error image
Note: you may need to restart the kernel to use updated packages.
‘C:UsersMY’ is not recognized as an internal or external command,
operable program or batch file.

Asked By: Ali a

||

Answers:

To execute a command in the command line via jupyter use !

!pip install termcolor

Answered By: Nathan McCoy
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.