Skip to content

Commit ff309bc

Browse files
committed
bug refix for python3.10 install pysdf crash
1 parent b853ace commit ff309bc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ wget
88
scipy
99
visualdl
1010
pyvista==0.37.0
11-
pysdf
1211
pyyaml
1312
scikit-optimize
1413
h5py

test_tipc/prepare.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ lines=(${dataline})
1818
download_dataset=$(func_parser_value "${lines[61]}")
1919
python=$(func_parser_value "${lines[2]}")
2020
export pip=$(func_parser_value "${lines[62]}")
21-
21+
${pip} install --upgrade pip
2222
${pip} install -r requirements.txt
2323

24-
if [ ! -n ${download_dataset}] ; then
24+
if [ -n ${download_dataset} ] ; then
2525
${python} ${PDSC_DIR}${download_dataset}
2626
fi

0 commit comments

Comments
 (0)