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

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Wie benutze ich Pip, um Python-docx zu installieren?

by Anonymous » 10 Apr 2025, 14:07

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 wie verrückt auf und ab. Plötzlich ... ein Fehler! Es ist irgendwie ärgert. Das Folgende 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 verdammten Lib -Datei in Pycharm angezeigt wird.

Top