File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 18
18
)
19
19
del _hard_dependencies , _dependency , _missing_dependencies
20
20
21
- # numpy compat
22
- from pandas .compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401
23
-
24
21
try :
25
- from pandas ._libs import hashtable as _hashtable , lib as _lib , tslib as _tslib
22
+ # numpy compat
23
+ from pandas .compat import (
24
+ is_numpy_dev as _is_numpy_dev , # pyright: ignore # noqa:F401
25
+ )
26
26
except ImportError as _err : # pragma: no cover
27
27
_module = _err .name
28
28
raise ImportError (
29
29
f"C extension: { _module } not built. If you want to import "
30
30
"pandas from the source directory, you may need to run "
31
- "'python setup.py build_ext --force ' to build the C extensions first."
31
+ "'python setup.py build_ext' to build the C extensions first."
32
32
) from _err
33
- else :
34
- del _tslib , _lib , _hashtable
35
33
36
34
from pandas ._config import (
37
35
get_option ,
You can’t perform that action at this time.
0 commit comments