News:

Scarica subito LibreOffice 24.2 ancora più compatibile con la nota suite per ufficio commerciale.

Menu principale
+-

+-Utente

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

Problema con installazione pygame

Aperto da Andre99, Giovedì 17 Aprile 2014, 14:04:12

Discussione precedente - Discussione successiva

Andre99

ciao, sto tentando di installare pygame su linux mint 16, ma non ci riesco... :bonk:
ho gia installato python 3.3, ma quando avvio il file setup.py dalla cartella di pygame ho questo output:


No Arguments Given, Perform Default Install? [Y/n]y
running install
running build
running build_py
running build_ext
building 'pygame._numericsurfarray' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_REENTRANT -I/usr/X11R6/include -I/usr/include/SDL -I/usr/include/python2.7 -c src/_numericsurfarray.c -o build/temp.linux-x86_64-2.7/src/_numericsurfarray.o
In file included from src/_numericsurfarray.c:23:0:
src/pygame.h:75:20: fatal error: Python.h: File o directory non esistente
#include <Python.h>
                    ^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1




cosa devo fare? qual' è il problema?

Andre99

ho risolto usando
sudo apt-get install python-pygame

ciao

Powered by EzPortal