Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python版本判断错误 #28

Closed
wanf3ng opened this issue Jun 22, 2022 · 1 comment
Closed

python版本判断错误 #28

wanf3ng opened this issue Jun 22, 2022 · 1 comment

Comments

@wanf3ng
Copy link

wanf3ng commented Jun 22, 2022

具体在lib\checkenv.py的第23行

if self.pyVersion < "3.6":
    logging.error("此Python版本 ('{0}') 不兼容,成功运行程序你必须使用版本 >= 3.6 (访问 ‘https://www.python.org/downloads/".format(self.pyVersion))

当python版本为3.10时,3.10<3.6为True,而实际上3.10是更大的版本号,故判断错误

@huaiyi255
Copy link

可以试试3.6<=python<=3.9的版本,可运行成功

@EASY233 EASY233 closed this as completed Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants