httpie / cli

🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
https://httpie.io
BSD 3-Clause "New" or "Revised" License
33.89k stars 3.68k forks source link

Cannot find command 'http' #484

Closed nitin88 closed 8 years ago

nitin88 commented 8 years ago
C:\Users\Nitin> pip install --upgrade https://github.com/jkbrzt/httpie/archive/master.tar.gz
Collecting https://github.com/jkbrzt/httpie/archive/master.tar.gz
  Downloading https://github.com/jkbrzt/httpie/archive/master.tar.gz (262kB)
    100% |################################| 266kB 1.3MB/s
Requirement already up-to-date: requests>=2.3.0 in c:\programdata\chocolatey\lib\python3\tools\lib\site-packages (from httpie==1.0.0.dev0)
Requirement already up-to-date: Pygments>=1.5 in c:\programdata\chocolatey\lib\python3\tools\lib\site-packages (from httpie==1.0.0.dev0)
Requirement already up-to-date: colorama>=0.2.4 in c:\programdata\chocolatey\lib\python3\tools\lib\site-packages (from httpie==1.0.0.dev0)
Installing collected packages: httpie
  Found existing installation: httpie 1.0.0.dev0
    Uninstalling httpie-1.0.0.dev0:
      Successfully uninstalled httpie-1.0.0.dev0
  Running setup.py install for httpie ... done
Successfully installed httpie-1.0.0.dev0

Do I need to add something to path?

C:\Users\Nitin> http
http : The term 'http' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
+ http
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (http:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
sigmavirus24 commented 8 years ago

Did you try http.exe?

nitin88 commented 8 years ago

Same error

Get Outlook for iOS

On Thu, Jun 23, 2016 at 9:57 PM +0530, "Ian Cordasco" notifications@github.com wrote:

Did you try http.exe?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

sigmavirus24 commented 8 years ago

I'm not a Windows user, but others might be able to help you better if you provide the following:

I see chocolatey there and I don't know where that version of pip would install certain scripts.

nitin88 commented 8 years ago

Figured it out. Installed via chocolatey and found C:\ProgramData\chocolatey\lib\python3\tools\Scripts

AhmadMujtaba200210 commented 4 months ago

@nitin88 can you explain how you did it?