Skip to content

Commit 6f2d9e2

Browse files
committed
add --force to pandas build error message
1 parent deb35c3 commit 6f2d9e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
module = str(e).lstrip('cannot import name ') # hack but overkill to use re
2828
raise ImportError("C extension: {0} not built. If you want to import "
2929
"pandas from the source directory, you may need to run "
30-
"'python setup.py build_ext --inplace' to build the C "
31-
"extensions first.".format(module))
30+
"'python setup.py build_ext --inplace --force' to build "
31+
"the C extensions first.".format(module))
3232

3333
from datetime import datetime
3434
from pandas.info import __doc__

0 commit comments

Comments
 (0)