1

I ran the command 'pip install -U httpie' and it went fine:

Windows Command Prompt saying "Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in c:\users'NAME'\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (from requests[socks]>=2.22.0->httpie) (1.7.1)" (click to view image)

But when I try to use the http command in Windows command prompt, it is unable to find the command.

Windows Command Prompt saying " http GET http://www.example.com 'http' is not recognized as an internal or external command, operable program or batch file." (click to view image)

('http' is not recognized as an internal or external command, operable program or batch file.)

Alex Andra
  • 11
  • 1

1 Answers1

0

This might be due to the path that pip installs applications might not be in your PATH. Here is a possible answer for this problem.


Please also note that, HTTPie recommends usage of chocolatey for Windows based installations:

$ choco install httpie

Also please take a look at the documentation for Installation Methods on Windows.