Unverified Commit f4dab9f7 authored by Yifan Xiong's avatar Yifan Xiong Committed by GitHub
Browse files

Update error message in setup (#538)

Update error message in setup, require wheel for pip>=23.1.
parent a1cd3c94
......@@ -20,7 +20,10 @@
try:
pkg_resources.require(['pip>=18', 'setuptools>=45, <66'])
except (pkg_resources.VersionConflict, pkg_resources.DistributionNotFound):
print('Try update pip/setuptools versions, for example, python3 -m pip install --upgrade pip setuptools==65.7')
print(
'\033[93mTry update pip/setuptools versions, for example, '
'python3 -m pip install --upgrade pip wheel setuptools==65.7\033[0m'
)
raise
here = pathlib.Path(__file__).parent.resolve()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment