jkbr/httpie — Issue #7: Missing dependency argparse
Author: r1chardj0n3s
Created: 2012-02-28 23:58:24+00:00
State: open

I installed under Python 2.6:

Traceback (most recent call last):
File "/usr/local/bin/http", line 9, in
load_entry_point('httpie==0.1.4', 'console_scripts', 'http')()
File "/Library/Python/2.6/site-packages/pkg_resources.py", line 337, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/Library/Python/2.6/site-packages/pkg_resources.py", line 2279, in load_entry_point
return ep.load()
File "/Library/Python/2.6/site-packages/pkg_resources.py", line 1989, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/Library/Python/2.6/site-packages/httpie/httpie.py", line 5, in
import argparse
ImportError: No module named argparse

I manually installed argparse and all was well.