From 6f2d9e2449f152c64483653fbffca79c715b2da2 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Thu, 5 May 2016 13:30:51 -0400 Subject: [PATCH] add --force to pandas build error message --- pandas/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/__init__.py b/pandas/__init__.py index c26785d87bba0..53642fdcfeb31 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -27,8 +27,8 @@ module = str(e).lstrip('cannot import name ') # hack but overkill to use re raise ImportError("C extension: {0} not built. If you want to import " "pandas from the source directory, you may need to run " - "'python setup.py build_ext --inplace' to build the C " - "extensions first.".format(module)) + "'python setup.py build_ext --inplace --force' to build " + "the C extensions first.".format(module)) from datetime import datetime from pandas.info import __doc__