kennethreitz/tablib — Issue #52: ImportError: No module named xlrd with github HEAD version
Author: davidthewatson
Created: 2012-02-03 20:48:25+00:00
State: open

If I install into my virtualenv using the github head version:

pip install git+git://github.com/kennethreitz/tablib.git

Then python can't find xlrd:

(env)[watson@watson-thinkpad latte2 (master)]$ python
Python 2.7.2 (default, Oct 27 2011, 01:40:22)
[GCC 4.6.1 20111003 (Red Hat 4.6.1-10)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tablib
Traceback (most recent call last):
File "", line 1, in
File "/home/watson/git/latte2/env/lib/python2.7/site-packages/tablib/__init__.py", line 3, in
from tablib.core import (
File "/home/watson/git/latte2/env/lib/python2.7/site-packages/tablib/core.py", line 15, in
from tablib import formats
File "/home/watson/git/latte2/env/lib/python2.7/site-packages/tablib/formats/__init__.py", line 6, in
from . import _csv as csv
File "/home/watson/git/latte2/env/lib/python2.7/site-packages/tablib/formats/_csv.py", line 6, in
from tablib.compat import is_py3, csv, StringIO
File "/home/watson/git/latte2/env/lib/python2.7/site-packages/tablib/compat.py", line 42, in
import tablib.packages.xlrd as xlrd
ImportError: No module named xlrd

This works fine with the the normal pip install version.