On 03Feb2018 14:10, Kevin Doney <kevindon...@gmail.com> wrote:
*pip3 install --upgrade tensorflow-gpu*

When I try the above command I get
SyntaxError: invalid syntax

Please help.

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 message.

Cheers,
Cameron Simpson <c...@cskk.id.au> (formerly c...@zip.com.au)
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to