We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b5f718 commit b82f986Copy full SHA for b82f986
pandas/__init__.py
@@ -28,7 +28,7 @@
28
tslib as _tslib)
29
except ImportError as e: # pragma: no cover
30
# hack but overkill to use re
31
- module = str(e).lstrip('cannot import name ')
+ module = str(e).replace('cannot import name ', '')
32
raise ImportError("C extension: {0} not built. If you want to import "
33
"pandas from the source directory, you may need to run "
34
"'python setup.py build_ext --inplace --force' to build "
0 commit comments