[Tutor] Help with pip

Owen Davies owendavies00 at gmail.com
Mon Apr 13 16:14:12 EDT 2020


Hi,

I have recently started learning python and really nejoying it.

I got to a tutorial where they were showing how to install modules through
pip.

However when i put this into terminal i cannot install docx :

$ python3

Python 3.8.2 (v3.8.2:7b3ab5921f, Feb 24 2020, 17:52:18)

[Clang 6.0 (clang-600.0.57)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

>>> pip install python-docx

  File "<stdin>", line 1

    pip install python-docx

        ^

SyntaxError: invalid syntax

>>>


Please can you give me any tips on why pip isn't working? I have installed
GCC and Homebrew too? I am on a Mac V10.14.6


Thanks,
Owen


More information about the Tutor mailing list