Je suis en train d'installer Ubuntu sur mon Plone 14.04, mais le install.sh me donne l'erreur:ne pouvait Plone mettre en place instance Zope tout installer oreiller 1.7.8
Installing instance. Getting distribution for 'Pillow==1.7.8'.
warning: no previously-included files found matching '.hgignore'
warning: no previously-included files found matching '.hgtags'
warning: no previously-included files found matching 'BUILDME.bat'
warning: no previously-included files found matching
'make-manifest.py' warning: no previously-included files found
matching 'SHIP' warning: no previously-included files found matching
'SHIP.bat' warning: no previously-included files matching '*' found
under directory 'Tests' _imaging.c:3017:5: warning:
initialization from incompatible pointer type [enabled by default]
(inquiry) image_length, /*sq_length*/
^ _imaging.c:3017:5: warning: (near initialization for ‘image_as_sequence.sq_length’) [enabled by default]
_imaging.c:3077:5: warning: initialization from incompatible pointer type [enabled by default]
(inquiry) NULL, /*mp_length*/
^ _imaging.c:3077:5: warning: (near initialization for ‘pixel_access_as_mapping.mp_length’) [enabled by default]
_imaging.c: In function ‘_filter’: _imaging.c:842:8: warning: ‘kernelsize’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
if (kernelsize != xsize * ysize) {
^libImaging/Quant.c: In function ‘rehash_collide’: libImaging/Quant.c:154:10: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast] *valp=(void *)((*(int
*)valp)+(*(int *)&newval));
^ _imagingft.c:73:31: fatal error: freetype/fterrors.h: No such file or directory #include <freetype/fterrors.h>
^compilation terminated. error: Setup script exited with error: command 'gcc' failed with exit status 1 An
error occurred when trying to install Pillow 1.7.8. Look above this
message for any errors that were output by easy_install. While:
Installing instance. Getting distribution for 'Pillow==1.7.8'.
Error: Couldn't install: Pillow 1.7.8
Et voici ce que je faisais avec l'installateur unifié:
J'ai utilisé l'option --build-python
parce que j'utilise la version Enthought Canopy de Python, qui n'a pas le Python.h
dont Zope a besoin pour construire son instance. Donc, je viens de construire un nouveau python - honnêtement, je ne sais pas comment cela fonctionne, mais je suppose qu'il utilise virtualenv
pour isoler l'environnement d'installation, corrigez-moi si je me trompe. Est-ce que quelqu'un peut expliquer comment résoudre le problème avec Pillow et installer Plone sur mon ordinateur? Quelqu'un peut-il m'expliquer comment résoudre le problème avec Pillow? Merci beaucoup!
Probablement ce http://unix.stackexchange.com/questions/105265/install-pil-pillow-via-pip-in-debian-testing-jessie –
Peut-être pourriez-vous essayer une version plus récente de Plone - comme 4.3.7? – Danimal
Sur mon canopy Ubuntu Python.h peut être trouvé à "Accueil/Canopy/appdata/canopy-1.5.5.3123.rh5-x86_64/include/python2.7/Ce fichier n'est pas présent dans votre installation? –