Problem while installing random in Python [closed]


up vote
0
down vote
favorite
I am using python 2.7.4 and having a problem while running pip install random
. It comes up with this error:
Collecting random
Could not find a version that satisfies the requirement random (from versions: )
No matching distribution found for random
Can anyone help me out in this matter?
Results of pip install -vvv random # verbose output
:
File "c:userssupport-ihsanapplibsite-packagespip_internalreqreq_install.py", line 307, in populate_link self.link = finder.find_requirement(self, upgrade)
File "c:userssupport-ihsanapplibsite-packagespip_internalindex.py", line 533, in find_requirement 'No matching distribution found for %s' % req DistributionNotFound: No matching distribution found for random
software-installation pip python-2.7
closed as off-topic by Zanna, edwinksl, N0rbert, Fabby, David Foerster May 17 at 13:28
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." â N0rbert, Fabby, David Foerster
add a comment |Â
up vote
0
down vote
favorite
I am using python 2.7.4 and having a problem while running pip install random
. It comes up with this error:
Collecting random
Could not find a version that satisfies the requirement random (from versions: )
No matching distribution found for random
Can anyone help me out in this matter?
Results of pip install -vvv random # verbose output
:
File "c:userssupport-ihsanapplibsite-packagespip_internalreqreq_install.py", line 307, in populate_link self.link = finder.find_requirement(self, upgrade)
File "c:userssupport-ihsanapplibsite-packagespip_internalindex.py", line 533, in find_requirement 'No matching distribution found for %s' % req DistributionNotFound: No matching distribution found for random
software-installation pip python-2.7
closed as off-topic by Zanna, edwinksl, N0rbert, Fabby, David Foerster May 17 at 13:28
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." â N0rbert, Fabby, David Foerster
3
Those look like Windows file paths - are you using Ubuntu at all?
â steeldriver
May 16 at 11:17
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using python 2.7.4 and having a problem while running pip install random
. It comes up with this error:
Collecting random
Could not find a version that satisfies the requirement random (from versions: )
No matching distribution found for random
Can anyone help me out in this matter?
Results of pip install -vvv random # verbose output
:
File "c:userssupport-ihsanapplibsite-packagespip_internalreqreq_install.py", line 307, in populate_link self.link = finder.find_requirement(self, upgrade)
File "c:userssupport-ihsanapplibsite-packagespip_internalindex.py", line 533, in find_requirement 'No matching distribution found for %s' % req DistributionNotFound: No matching distribution found for random
software-installation pip python-2.7
I am using python 2.7.4 and having a problem while running pip install random
. It comes up with this error:
Collecting random
Could not find a version that satisfies the requirement random (from versions: )
No matching distribution found for random
Can anyone help me out in this matter?
Results of pip install -vvv random # verbose output
:
File "c:userssupport-ihsanapplibsite-packagespip_internalreqreq_install.py", line 307, in populate_link self.link = finder.find_requirement(self, upgrade)
File "c:userssupport-ihsanapplibsite-packagespip_internalindex.py", line 533, in find_requirement 'No matching distribution found for %s' % req DistributionNotFound: No matching distribution found for random
software-installation pip python-2.7
edited May 16 at 18:13


Zanna
47.9k13117227
47.9k13117227
asked May 16 at 10:08


ihsan saleem
62
62
closed as off-topic by Zanna, edwinksl, N0rbert, Fabby, David Foerster May 17 at 13:28
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." â N0rbert, Fabby, David Foerster
closed as off-topic by Zanna, edwinksl, N0rbert, Fabby, David Foerster May 17 at 13:28
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." â N0rbert, Fabby, David Foerster
3
Those look like Windows file paths - are you using Ubuntu at all?
â steeldriver
May 16 at 11:17
add a comment |Â
3
Those look like Windows file paths - are you using Ubuntu at all?
â steeldriver
May 16 at 11:17
3
3
Those look like Windows file paths - are you using Ubuntu at all?
â steeldriver
May 16 at 11:17
Those look like Windows file paths - are you using Ubuntu at all?
â steeldriver
May 16 at 11:17
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
This mean that there no package with name random .
Also random module should be present by default . Cause this code works fine on machine with python2
import random
num = random.randint(10,20)
print (num)
And I am too getting the same error when I type this command
pip install random
1
what should i do to rectify this error
â ihsan saleem
May 16 at 10:42
Your code works on my computer without installing anything first.
â karel
May 16 at 10:45
@karel That is my point . There no need to install anything
â noone
May 16 at 10:54
@ihsansaleem There in nothing to do. just import random in your code and start coding .
â noone
May 16 at 10:55
@ SmitTheLastFirefoxUser do i need to downgrade my python version?
â ihsan saleem
May 16 at 10:55
 |Â
show 12 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
This mean that there no package with name random .
Also random module should be present by default . Cause this code works fine on machine with python2
import random
num = random.randint(10,20)
print (num)
And I am too getting the same error when I type this command
pip install random
1
what should i do to rectify this error
â ihsan saleem
May 16 at 10:42
Your code works on my computer without installing anything first.
â karel
May 16 at 10:45
@karel That is my point . There no need to install anything
â noone
May 16 at 10:54
@ihsansaleem There in nothing to do. just import random in your code and start coding .
â noone
May 16 at 10:55
@ SmitTheLastFirefoxUser do i need to downgrade my python version?
â ihsan saleem
May 16 at 10:55
 |Â
show 12 more comments
up vote
1
down vote
This mean that there no package with name random .
Also random module should be present by default . Cause this code works fine on machine with python2
import random
num = random.randint(10,20)
print (num)
And I am too getting the same error when I type this command
pip install random
1
what should i do to rectify this error
â ihsan saleem
May 16 at 10:42
Your code works on my computer without installing anything first.
â karel
May 16 at 10:45
@karel That is my point . There no need to install anything
â noone
May 16 at 10:54
@ihsansaleem There in nothing to do. just import random in your code and start coding .
â noone
May 16 at 10:55
@ SmitTheLastFirefoxUser do i need to downgrade my python version?
â ihsan saleem
May 16 at 10:55
 |Â
show 12 more comments
up vote
1
down vote
up vote
1
down vote
This mean that there no package with name random .
Also random module should be present by default . Cause this code works fine on machine with python2
import random
num = random.randint(10,20)
print (num)
And I am too getting the same error when I type this command
pip install random
This mean that there no package with name random .
Also random module should be present by default . Cause this code works fine on machine with python2
import random
num = random.randint(10,20)
print (num)
And I am too getting the same error when I type this command
pip install random
answered May 16 at 10:31


noone
844420
844420
1
what should i do to rectify this error
â ihsan saleem
May 16 at 10:42
Your code works on my computer without installing anything first.
â karel
May 16 at 10:45
@karel That is my point . There no need to install anything
â noone
May 16 at 10:54
@ihsansaleem There in nothing to do. just import random in your code and start coding .
â noone
May 16 at 10:55
@ SmitTheLastFirefoxUser do i need to downgrade my python version?
â ihsan saleem
May 16 at 10:55
 |Â
show 12 more comments
1
what should i do to rectify this error
â ihsan saleem
May 16 at 10:42
Your code works on my computer without installing anything first.
â karel
May 16 at 10:45
@karel That is my point . There no need to install anything
â noone
May 16 at 10:54
@ihsansaleem There in nothing to do. just import random in your code and start coding .
â noone
May 16 at 10:55
@ SmitTheLastFirefoxUser do i need to downgrade my python version?
â ihsan saleem
May 16 at 10:55
1
1
what should i do to rectify this error
â ihsan saleem
May 16 at 10:42
what should i do to rectify this error
â ihsan saleem
May 16 at 10:42
Your code works on my computer without installing anything first.
â karel
May 16 at 10:45
Your code works on my computer without installing anything first.
â karel
May 16 at 10:45
@karel That is my point . There no need to install anything
â noone
May 16 at 10:54
@karel That is my point . There no need to install anything
â noone
May 16 at 10:54
@ihsansaleem There in nothing to do. just import random in your code and start coding .
â noone
May 16 at 10:55
@ihsansaleem There in nothing to do. just import random in your code and start coding .
â noone
May 16 at 10:55
@ SmitTheLastFirefoxUser do i need to downgrade my python version?
â ihsan saleem
May 16 at 10:55
@ SmitTheLastFirefoxUser do i need to downgrade my python version?
â ihsan saleem
May 16 at 10:55
 |Â
show 12 more comments
3
Those look like Windows file paths - are you using Ubuntu at all?
â steeldriver
May 16 at 11:17