Unable to install Colorama with Python

Lunamiou -  
 Anonymous user -
Hello,

I'm trying to install colorama (https://pypi.org/project/colorama/) on Python but I'm having trouble, and despite trying to find information, I can't find anything that works.

I have pip installed, but when I type
pip install colorama
in the Python command console, I get an error message
 File "<stdin>", line 1
pip install colorama
^
SyntaxError: invalid syntax<code python>

I don't know what to do anymore, so if you could help me, that would be great!

Thank you in advance.

3 answers

  1. yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   Ambassador 1 588
     
    Hello, does it work well for other packages than colorama?
    0
  2. Anonymous user
     
    Problem with Python versions?
    0