Skip to content Skip to sidebar Skip to footer

How To Use Pip To Install Python-docx?

I entered the following command into the terminal on my Mac: sudo pip install python-docx --user . Things happen, and stuff pops up and down like crazy in the terminal. All of a su

Solution 1:

When you run pip install with the --user flag, the package is installed in your user directory (as explained here). Because of that, you don't need superuser privileges and don't need to use sudo.

You can run just:

pip install python-docx --user

And probably will work fine (I tested in my Mac and worked well).

Post a Comment for "How To Use Pip To Install Python-docx?"