It's already there just use it by typing import random
Answer from حسين العراقي on Stack Overflow
» pip install random2
Videos
Every time I go into command prompt, I type "pip3 install random" and I get the error "Could not a find a version that satisfies the requirement random (from versions:...) No matching distribution for random"
Any help is appreciated thank you.
Just type in:
pip install random
It should work fine ! But the random module should be present by default with anaconda. Make sure you are importing it right by typing (without a capital letter):
import random
If using python3, it will simply be
pip3 install random
as @Remi stated.
» pip install random-number
» pip install RandomWords
ERROR:
Could not find a version that satisfies the requirement random
ERROR:
No matching distribution found for random
if the above one is your error
then follow these steps-
Press
ctrl+f
in the following website,to search module https://www.lfd.uci.edu/~gohlke/pythonlibs
NOTE-
check your python version before installing any module
After installing module copy and paste in your pip folder.
follow this path to paste your module in pip folder.
[C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\Scripts]
HOPE IT HELPS!
Try pip install random2
You can search library before installing here https://pypi.org/project/random2/
» pip install random-profile