简体   繁体   中英

When I try to install to thread module in python3 that error occurs:

ERROR: Could not find a version that satisfies the requirement thread ERROR: No matching distribution found for thread

The thread module has been changed to _thread . You don't need to pip install this module.

The thread module has been renamed to _thread in Python 3. The 2to3 tool will automatically adapt imports when converting your sources to Python 3; however, you should consider using the high-level threading module instead. for python install threading module:

pip3 install thread6

for more information go to thread6 · PyPI

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