With IPython:
!pip install -U pip
Or, with Python:
>> subprocess.check_call(['./pip', 'install'])
>> subprocess.check_call('pip install', shell=True) #*
https://docs.python.org/3/library/subprocess.html#security-considerations
... http://sarge.readthedocs.io/en/latest/tutorial.html
On Wednesd
On 4 October 2017 at 05:27, Milind Rangnekar wrote:
> However, PIP is not recognized in Python 3.4.3 Shell.
>
pip install
> SyntaxError: invalid syntax
pip
> Traceback (most recent call last):
> File "", line 1, in
> pip
> NameError: name 'pip' is not defined
python -m pip
Hello,
>From window's 10 command prompt, I can install pip and other packages:
C:\>pip
Usage:
pip [options]
Commands:
install Install packages.
uninstall Uninstall packages.
freeze Output installed packages in requirements
form