appy/pod installieren

Probleme bei der Installation?
Antworten
joh#
User
Beiträge: 139
Registriert: Freitag 6. November 2009, 13:16

Hallo,
um ein .odt Dokument zu erzeugen habe ich pod installiert

Code: Alles auswählen

joh@laptop3:~/Python_work/xml/odfpy$ sudo pip install pod
Downloading/unpacking pod
  Running setup.py egg_info for package pod
    Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
    Extracting in /tmp/tmpCA76Kx
    Now working in /tmp/tmpCA76Kx/distribute-0.6.14
    Building a Distribute egg in /home/joh/Python_work/xml/odfpy/build/pod
    /home/joh/Python_work/xml/odfpy/build/pod/distribute-0.6.14-py2.6.egg
Installing collected packages: pod
  Running setup.py install for pod
Successfully installed pod
und dann versucht das zu importieren:

Code: Alles auswählen

import appy.pod.renderer
Traceback (most recent call last):
  File "<string>", line 1, in <fragment>
ImportError: No module named appy.pod.renderer
Das sollte aber lt. http://appyframework.org/pod.html funktionieren.
Bin ein wenig ratlos...
joh
BlackJack

Wo versuchst Du das denn? ``in <fragment>`` sieht mir nicht so aus, als wenn das ein normales Python-Programm wäre.
joh#
User
Beiträge: 139
Registriert: Freitag 6. November 2009, 13:16

BlackJack hat geschrieben:Wo versuchst Du das denn? ``in <fragment>`` sieht mir nicht so aus, als wenn das ein normales Python-Programm wäre.
...das habe ich so von der cmd-Zeile reinkopiert (Wing-IDE), gleicher Effekt aber auch
bei dem Beispiel Programm von http://appyframework.org/pod.html
joh
Antworten