Page 1 of 1

Wie benutze ich Pip, um Python-docx zu installieren?

Posted: 14 Apr 2025, 11:36
by Anonymous
Ich habe den folgenden Befehl in das Terminal auf meinem Mac eingetragen: sudo pip install python-docx --user . Dinge passieren und Sachen tauchen im Terminal auf und ab. Plötzlich ... ein Fehler erscheint: < /p>

Code: Select all

error: can't copy 'docx/templates/default-docx-template': doesn't exist or not a regular file

----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-install-NbCMpP/python-docx/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/tmp/pip-record-rulxzG/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /private/tmp/pip-install-NbCMpP/python-docx/
Alles, was ich möchte, ist, dass docx in meiner Lib -Datei in Pycharm angezeigt wird.