Issue installing Pygal

767 Views Asked by At

I downloaded Python 3.8.5 and have been trying to install the module pygal. It doesn't work from the Python shell, but I tried it on my command prompt. I use Windows 10. What I got below is what keeps coming up. I've tried pip install pygal and install pygal. Any help is greatly appreciated. Thanks!

>>> pip install pygal
  File "<stdin>", line 1
    pip install pygal
        ^
SyntaxError: invalid syntax
1

There are 1 best solutions below

7
On

You are running Python on your command prompt before entering the pip command. Just open a command prompt window and type in

pip install pygal

and press enter.