简体   繁体   中英

How do i install python3 threading module in linux ubuntu

When i try to install to threading module in python3 that error occurs:

  Could not find a version that satisfies the requirement threading (from versions: )

No matching distribution found for threading I have been tried these for installing :

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

I've been tried these.And first four occurs that:

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

and last two

Reading package lists... Done
Building dependency tree
Reading state information... Done E: Unable to locate package python3-threading(or thread)
what could i do for install that module.

You can run:

pip install thread6

pip is a package manager for python and is used for installing python packages or modules. Be aware that you might have python2.x also on your system and pip v2 might be invoked with this command. To be safe, run:

pip3 install thread6

如果您安装 thread6,您将能够导入线程

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