Fwd: Syntax error
On 03Feb2018 14:10, Kevin Doney <kevindoney5 at gmail.com> wrote:
>*pip3 install --upgrade tensorflow-gpu*
>When I try the above command I get
>SyntaxError: invalid syntax
It looks like you typed that command to the Python prompt, based on the
distinctively Python "SyntaxError" response.
That command is supposed to be typed to a shell prompt. It is not Python code,
it is a command line to install a package.
But as with the other responders, it is always helpful if you post the entire
text, including the prompt you're using (which with show whether this was
Python or a command shell etc) and if you've got a Python error, the full
traceback. I suspect some people think this is noisy verbiage that would make
their question hard to read, but it is usually vital context for the error
Cameron Simpson <cs at cskk.id.au> (formerly cs at zip.com.au)