From 5fb0d649345b21968109198b778149abfbdc5671 Mon Sep 17 00:00:00 2001 From: "Bernt R. Brenna" Date: Thu, 6 Sep 2012 09:17:45 +0300 Subject: [PATCH] Update pandas/__init__.py Removed try/except around import pandas.lib The try/except hid a dateutil import error. --- pandas/__init__.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/pandas/__init__.py b/pandas/__init__.py index 11a0b4274aa8e..15e29509187da 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -6,18 +6,7 @@ import numpy as np -try: - import pandas.lib as lib -except Exception: # pragma: no cover - import sys - e = sys.exc_info()[1] # Py25 and Py3 current exception syntax conflict - if 'No module named' in str(e): - raise ImportError('C extensions not built: if you installed already ' - 'verify that you are not importing from the source ' - 'directory') - else: - raise - +import pandas.lib as lib from pandas.version import version as __version__ from pandas.info import __doc__