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

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

Post 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 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.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post