Impossible d’installer les modules pour anaconda

abhigenie92@ubuntu:~/Desktop/pygame-1.9.1release$ which python /home/abhigenie92/anaconda/bin/python abhigenie92@ubuntu:~/Desktop/pygame-1.9.1release$ sudo apt-get install python-pygame Reading package lists... Done Building dependency tree Reading state information... Done python-pygame is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 224 not upgraded. abhigenie92@ubuntu:~/Desktop/pygame-1.9.1release$ python Python 2.7.10 |Anaconda 2.3.0 (64-bit)| (default, May 28 2015, 17:02:03) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. Anaconda is brought to you by Continuum Analytics. Please check out: http://continuum.io/thanks and https://binstar.org >>> import pygame Traceback (most recent call last): File "", line 1, in  ImportError: No module named pygame 

Qu’est-ce qui se passe au dessus? Il semble ne pas installer pour anaconda. Mais il se dirige vers la droite du chemin.

Vous installez des choses dans le système Python. Vous devez installer dans Python Anaconda, en utilisant pip install pygame (notez que sudo pip va probablement utiliser le système Python à nouveau, et l’utilisation de sudo avec l’Anaconda Python n’est pas recommandée).