You need to run pip from a normal shell, e.g. bash/cmd.exe/PowerShell, not the Python REPL (read-eval print loop) "shell". On Sun, Feb 25, 2018 at 10:49 AM, <peter@mybetterlife.co.uk> wrote:
I am new to Python but would like to install to play with some Fast Artificial Neural Network Library routines.
However I ha a V.7 installed but could not access pip. I uninstalled 2.7 an then installed latest download which I understand should include pip.
However nothing appears to work.
Just need some poineters to get to first base.
Hope you can help.
The following is dialogue from Python Terminal
Python 3.7.0a4 (v3.7.0a4:07c9d85, Jan 9 2018, 07:07:02) [MSC v.1900 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
pip install wheel
SyntaxError: invalid syntax
=============================== RESTART: Shell ===============================
pip
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
pip
NameError: name 'pip' is not defined
python -m pip install SomePackage
SyntaxError: invalid syntax
python -m ensurepip --default-pip
SyntaxError: invalid syntax
*Regards*
*Peter H. Williams*
*Try **BULB <https://join.bulb.co.uk/refer/peter6806>** for great **GREEN <https://join.bulb.co.uk/refer/peter6806>** energy saving deals ~ a real alternative to the BIG six*
*113 Skelmorlie Castle Road*
*Skelmorlie*
*Ayrshire*
*PA17 5AL*
*TEL:- 01475 529946*
*Mobile:- 07773 348117*
*Skype:- peterhwuk*
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig