akpcyber.blogg.se

Powershell install python
Powershell install python








powershell install python

(myvenv) python -m pip install pip -upgrade `myvenv` is the name of the virtual environment (in this case). Hopefully you see the logic in the fact that if you use Python 2.7 to write a program it *might not* run on Python 3.10 simply because they are different versions.Īs a beginner, this step might *feel pointless* but I promise as your skills grow you will certainly come to appreciate this step.ĭo you see how we used `C:\Python310\python.exe -m` again? Yup, `venv` is a built-in package to Python. **If you write a program using a specific version of Python, it may or may not work using another version of Python.**

powershell install python

Technically speaking, this is *definitely* possible but it poses a new problem: Remember how in step 1 we installed the latest version of Python 3.10? What if we wanted our system to use Python 3.6? Or Python 3.8?










Powershell install python