Problem while installing random in Python [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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






share|improve this question














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
If this question can be reworded to fit the rules in the help center, please edit the question.








  • 3




    Those look like Windows file paths - are you using Ubuntu at all?
    – steeldriver
    May 16 at 11:17














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






share|improve this question














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
If this question can be reworded to fit the rules in the help center, please edit the question.








  • 3




    Those look like Windows file paths - are you using Ubuntu at all?
    – steeldriver
    May 16 at 11:17












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






share|improve this question














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








share|improve this question













share|improve this question




share|improve this question








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
If this question can be reworded to fit the rules in the help center, please edit the question.




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
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 3




    Those look like Windows file paths - are you using Ubuntu at all?
    – steeldriver
    May 16 at 11:17












  • 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










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





share|improve this answer
















  • 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 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





share|improve this answer
















  • 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















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





share|improve this answer
















  • 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













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





share|improve this answer












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






share|improve this answer












share|improve this answer



share|improve this answer










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













  • 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



Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491