当我尝试在python3中安装线程模块时,出现了这个错误:
Could not find a version that satisfies the requirement threading (from versions: )没有找到与线程匹配的发行版,我已经尝试了以下安装:
pip3 install threading
pip3 install thread
python3 -m pip install threading
python3 -m pip install thread
sudo apt-get install python3-threading
sudo apt-get install python3-thread我已经尝试过these.And前四种情况:
Could not find a version that satisfies the requirement thread (from versions: )
No matching distribution found for thread
最后两个
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-threading(or thread)我可以做些什么来安装该模块。
发布于 2020-10-08 12:00:30
您可以运行:
pip install thread6pip是python的包管理器,用于安装python包或模块。请注意,您的系统上可能也安装了python2.x,并且可以使用此命令调用pip v2。为安全起见,请运行:
pip3 install thread6发布于 2021-11-03 04:32:18
如果您安装了thread6,您将能够导入线程
https://stackoverflow.com/questions/50918432
复制相似问题