Re: [Distutils] PIP not recognized in python shell

2017-10-04 Thread Wes Turner
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

Re: [Distutils] PIP not recognized in python shell

2017-10-04 Thread Nick Coghlan
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

[Distutils] PIP not recognized in python shell

2017-10-04 Thread Milind Rangnekar
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