Wie installiere ich Python-docx mit PIP?Python

Python-Programme
Anonymous
 Wie installiere ich Python-docx mit PIP?

Post by Anonymous »

Ich habe den folgenden Befehl in das Terminal auf meinem Mac eingegeben: sudo pip install python-docx --user. Es passieren Dinge und Dinge tauchen im Terminal auf und ab. Plötzlich... erscheint ein Fehler:

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/
Ich möchte nur, dass docx in meiner Lib-Datei in Pycharm angezeigt wird.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post