Skip to content

Commit 39968b4

Browse files
committed
try installing the quick ones, first
1 parent da11ac7 commit 39968b4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

graalpython/lib-graalpython/modules/ginstall.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -387,13 +387,6 @@ def pytz(**kwargs):
387387

388388

389389
def pandas(**kwargs):
390-
try:
391-
import numpy as np
392-
except ImportError:
393-
print("Installing required dependency: numpy")
394-
numpy(**kwargs)
395-
396-
397390
try:
398391
import pytz as _dummy_pytz
399392
except ImportError:
@@ -412,6 +405,12 @@ def pandas(**kwargs):
412405
print("Installing required dependency: dateutil")
413406
dateutil(**kwargs)
414407

408+
try:
409+
import numpy as np
410+
except ImportError:
411+
print("Installing required dependency: numpy")
412+
numpy(**kwargs)
413+
415414
# download pandas-0.20.3
416415
patch = """diff --git a/pandas/_libs/src/period_helper.c b/pandas/_libs/src/period_helper.c
417416
index 19f810e..2f01238 100644

0 commit comments

Comments
 (0)