'Installation of pycodestyle on Mac

I am having an issue in installing pycodestyle on my Mac. Every time I try to install it on my mac terminal like so pip3 install pycodestyle , the terminal responses with a syntax error with the ^ right under the 'i' in 'install'. I do not know what I am missing or if i should try to install it in a different way? I would appreciate any advice!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source