Skip to content

Commit 435436f

Browse files
committed
configure: work around ImportError: cannot import name 'main'
1 parent f75673e commit 435436f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ if "$qemu"; then
100100
fi
101101
if "$gem5"; then
102102
# Generate graphs of config.ini under m5out.
103-
pip install --user pydot
103+
# Not with pip directly:
104+
# https://stackoverflow.com/questions/49836676/error-after-upgrading-pip-cannot-import-name-main/51846054#51846054
105+
python -m pip install --user pydot
104106
fi
105107

106108
## Submodules

0 commit comments

Comments
 (0)