pipare included with the default install on Windows. You can use them right out of the box. Using Powershell to create a virtual enviornment and the subsequent directories if needed would look like this (check here for your regular CMD.exe commands):
PS C:\> python.exe -m venv C:\Projects\temp PS C:\> &.\Projects\temp\Scripts\Activate.ps1 (temp) PS C:\>deactivate PS C:\>
To upgrade pip:
PS C:\> python.exe -m pip install --upgrade pip Collecting pip Downloading pip-20.2.3-py2.py3-none-any.whl (1.5 MB) |████████████████████████████████| 1.5 MB 1.6 MB/s Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.2.1 Uninstalling pip-20.2.1: Successfully uninstalled pip-20.2.1 Successfully installed pip-20.2.3
- Leave the generic shebang, Windows doesn't care. Having
#!/bin/bin/env pythonor whatever works for you will just be ignored by windows, no point in removing it.