• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

The Python Imaging Library installieren?

weltio

Member
Hallo,

ich möchte "The Python Imaging Library" (http://www.pythonware.com/products/pil/) installieren:

$ python setup.py install
running install
error: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)

Tut mir leid, aber was kann ich da machen?
Bzw. was muss ich machen?
 

oc2pus

Ultimate Guru
einfach python-imaging installieren :mrgreen:

ansonsten, wenn du esunbedingt selber compilieren willst: vorher python-devel ung evtl python-setuptools installieren.
 
OP
W

weltio

Member
Okeeee, danke ^^
Nun weiter beim pmw (Python Mega Widgets)

$ python setup.py install
running install
running build
running build_py
package init file '__init__.py' not found (or not a regular file)
error: package directory 'Pmw_1_3' does not exist

:(

Was muss ich DA machen?
 

tomm.fa

Administrator
Teammitglied
@weltio
Warum benutzt du nicht YaST dazu? Ist doch in den oss Quellen. Oder brauchst du unbedingt die Version 1.1.6 anstelle der 1.1.5?
:?
 
OP
W

weltio

Member
$python setup.py build
running build
running build_py
package init file '__init__.py' not found (or not a regular file)
error: package directory 'Pmw_1_3' does not exist

dort tritt leider der selbe Fehler auf :(
 
OP
W

weltio

Member
tomfa schrieb:
@weltio
Warum benutzt du nicht YaST dazu? Ist doch in den oss Quellen. Oder brauchst du unbedingt die Version 1.1.6 anstelle der 1.1.5?
:?

Die Mega Widgets finde ich aber nicht bei Yast/smart :(
Oder hast du eine Quelle dafür?
 
OP
W

weltio

Member
OP
W

weltio

Member
Soooo nun komme ich zum eigentlichen Installationsziel :D

Zwecks "Duo"-Installation (ein Uno-Spiel für Linux) gebe ich folgendes ein:

# python setup.py install
Traceback (most recent call last):
File "setup.py", line 3, in <module>
import py2exe
ImportError: No module named py2exe


In der Readme steht:
Duo requires the following packages:

* The Python programming language
http://www.python.org/

* Python Mega Widgets (PMW)
http://pmw.sourceforge.net/

* Python Imaging Library (PIL)
http://www.pythonware.com/products/pil/

* Duo classic playing cards images
http://prdownloads.sourceforge.net/duo/classic.zip?download

To install Duo, follow these steps:

* install the Python and PIL packages;
* extract the PMW files in the './Pmw/' directory;
* extract the playing cards files into the './classic/' directory;
* run the 'make-locale.py' script to create the locale packages.

Die Packages habe ich jetzt ja per Yast installiert und bei den anderen weiss ich nicht, wo die hin sollen. Könntet ihr mir helfen?
Ich gehe mal davon aus, dass die Fehlermeldung damit zusammenhängt.
 

bb1898

Newbie
weltio schrieb:
Soooo nun komme ich zum eigentlichen Installationsziel :D

Zwecks "Duo"-Installation (ein Uno-Spiel für Linux) gebe ich folgendes ein:

# python setup.py install
Traceback (most recent call last):
File "setup.py", line 3, in <module>
import py2exe
ImportError: No module named py2exe


In der Readme steht:
Duo requires the following packages:

* The Python programming language
http://www.python.org/

* Python Mega Widgets (PMW)
http://pmw.sourceforge.net/

* Python Imaging Library (PIL)
http://www.pythonware.com/products/pil/

* Duo classic playing cards images
http://prdownloads.sourceforge.net/duo/classic.zip?download

To install Duo, follow these steps:

* install the Python and PIL packages;
* extract the PMW files in the './Pmw/' directory;
* extract the playing cards files into the './classic/' directory;
* run the 'make-locale.py' script to create the locale packages.

Die Packages habe ich jetzt ja per Yast installiert und bei den anderen weiss ich nicht, wo die hin sollen. Könntet ihr mir helfen?
Ich gehe mal davon aus, dass die Fehlermeldung damit zusammenhängt.

Ich vermute stark, dass sowohl PMW als auch die Spielkarten in Verzeichnisse unterhalb von "site-packages" gehören. Guck mal nach /usr/lib/python2.5/site-packages o.Ä.
 
Oben