2020-12-28

Why does ubuntu end up with different versions of python and pip and django gets installed globally instead of in the virtualenv?

I'm trying to learn Django and I installed ubuntu bash on Windows to use it there. As ubuntu comes with Python preinstalled but not pip, I installed pip and updated it. However, when I use pip3 -V it shows the past version of pip. There are two pip installs and I can't figure out how to upgrade the one that Python uses. I also installed Django when I was already inside the virtualenv but it was installed globally, so I guess this is because of the same problem.

Does anyone know how can I have just one python and one pip installed to avoid those issues? I reinstalled ubuntu because I got really annoyed...



from Recent Questions - Stack Overflow https://ift.tt/2WPvLjm
https://ift.tt/eA8V8J

No comments:

Post a Comment