简体   繁体   中英

How can I fix this linter Pylint install return error?

I use Visual Studio Code . I am switching from Python 2.7 to Python 3.8. When attempting to install the linter Pylint , I get the following error message:

Could not find a version that satisfies the requirement pylint<2.0.0 (from versions: )
No matching distribution found for pylint<2.0.0

What can I do to get Pylint to install?

Screenshot of the error message

It looks to me like versions of Pylint earlier than 2.0.0 ( pylint < 2.0.0 ) are not compatible with Python 3.8 . You might want to remove the <2.0.0 version constraint on Pylint , and try to install again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM