[Tutor] Using pip
alan.gauld at yahoo.co.uk
Thu Jul 5 13:08:38 EDT 2018
On 05/07/18 17:03, Hlavin, Matthew (GSFC-5460)[GSFC INTERNS] wrote:
> install the library using the line:
> $ pip install -U pyvisa
> When I type this line, I get a syntax error
The most common reason is that you are trying to type it
at the Python >>> prompt.
It should be typed at the OS prompt.
The $ is the traditional *nix prompt.
In Windows it will be something like
It's not at all obvious that pip is an OS level tool, they
need to improve/clarify the docs to make that clear - as
does every site that uses pip! Its a very common error.
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:
More information about the Tutor