jkbr/httpie — Issue #1: ImportError: No module named pygments
Author: nwjlyons
Created: 2012-02-28 09:30:54+00:00
State: open

I got this import error when installing on Ubuntu 11.10. Installing pygments first and installing httpie fixed this error.

sudo pip install httpie
[sudo] password for neil:
Downloading/unpacking httpie
Downloading httpie-0.1.3.tar.gz
Running setup.py egg_info for package httpie
Traceback (most recent call last):
File "", line 14, in
File "/home/neil/Desktop/build/httpie/setup.py", line 2, in
from httpie import httpie
File "httpie/httpie.py", line 13, in
from . import pretty
File "httpie/pretty.py", line 3, in
import pygments
ImportError: No module named pygments
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 14, in

File "/home/neil/Desktop/build/httpie/setup.py", line 2, in

from httpie import httpie

File "httpie/httpie.py", line 13, in

from . import pretty

File "httpie/pretty.py", line 3, in

import pygments

ImportError: No module named pygments

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /home/neil/.pip/pip.log