Upgrading pip.
KianAlford (6)

I cannot upgrade my pip. I'm trying to install the random package but it tells me to upgrade my pip.
Here is my error:
"Could not find a version that satisfies the requirement Random (from versions: )
No matching distribution found for Random
You are using pip version 9.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command"

You are viewing a single comment. View All
TheDrone7 (549)
  • random package is built-in, you don't have to install it.
  • older version of pip is just a warning but still do a it's job perfectly fine.
KianAlford (6)

@TheDrone7 I tried it without it but it did not work. When I don't import random it says Random.Random is not defined.

TheDrone7 (549)

@KianAlford it's true, there's just a little error with your code, python is case sensitive.

KianAlford (6)

@TheDrone7 I tried it both cases. It does not work either way. If that was the issue I would not be asking these questions.

TheDrone7 (549)

@KianAlford can I get a link to your repl?

KianAlford (6)

@TheDrone7 https://repl.it/@KianAlford/War is that the link or do i need to invite you to it??

TheDrone7 (549)

@KianAlford it seems like you just don't know how to use the random package, here's a link that might help - https://docs.python.org/3.7/library/random.html

KianAlford (6)

@TheDrone7 ok ive been using random for so long and this never happened when I did this in code before. This is why I don't ask questions. Just stop.

KianAlford (6)

@TheDrone7 you also don't know how to answer my question either now do you.

TheDrone7 (549)

@KianAlford it's pretty clear from your code you're new to this, unless you've been using some other language, there's no point in arguing.

KianAlford (6)

@TheDrone7 im not as new to this as much as you think. I don't think you know how to answer my questions so your using other "issues". don't even try acting like you know what your doing ok.

TheDrone7 (549)

@KianAlford I've been using python for 2 years now and random package hasn't changed since. It's even the she in v2.7, if you're really trying to prove a point here? Put it forward more clearly.

KianAlford (6)

@TheDrone7 Or is it that you don't understand my point. Actually open your mind to smeones errors. If you really think you can help. Then listen.

TheDrone7 (549)

@KianAlford I saw the problem in your code and found that you weren't using the proper functions, so I sent a link to the official documentation for the package so you may pick the function that suits your purposes. By it seems like you just don't know how to use the package I didn't mean to offend you. It was just a bad choice of words on my side, also you can see that even this message took me an hour to prepare so I don't end up increasing the problem.

KianAlford (6)

@TheDrone7 sorry. i'm frustrated with this code and I just took it out on you. thank you