Skip to content

Commit dbe39f1

Browse files
committed
Remove pre-emptive loading of cython modules
1 parent 8bc0832 commit dbe39f1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

pandas/__init__.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,6 @@
2121
# numpy compat
2222
from pandas.compat import is_numpy_dev as _is_numpy_dev
2323

24-
try:
25-
from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib
26-
except ImportError as err: # pragma: no cover
27-
module = err.name
28-
raise ImportError(
29-
f"C extension: {module} not built. If you want to import "
30-
"pandas from the source directory, you may need to run "
31-
"'python setup.py build_ext --force' to build the C extensions first."
32-
) from err
33-
else:
34-
del _tslib, _lib, _hashtable
35-
3624
from pandas._config import (
3725
get_option,
3826
set_option,

0 commit comments

Comments
 (0)