Installation of pygame with Anaconda

后端 未结 9 1382
执念已碎
执念已碎 2020-12-16 11:26

I have Anaconda 1.6.2, which uses Python 2.7.5, installed on a Windows 7 64-bit system.
I need to install Pygame 1.9.1

相关标签:
9条回答
  • 2020-12-16 12:04

    The easiest way to install Python using conda is:

    conda install -c https://conda.binstar.org/krisvanneste pygame

    Edit (03/2016):

    It seems like the package is unavailable, but you can use this instead:

    conda install -c https://conda.anaconda.org/tlatorre python

    Edit (01/2017)

    The command has changed, now you can use:

    conda install -c tlatorre pygame=1.9.2

    Edit (07/2018)

    tlatorre's repo is still valid but a little bit outdated, you can use cogsci repo if you want the latest version:

    conda install -c cogsci pygame

    0 讨论(0)
  • 2020-12-16 12:07

    With anaconda python 3 on MacOs 10.12 I followed the following procedure and it worked : http://florian-berger.de/en/articles/installing-pygame-for-python-3-on-os-x/

    I only skipped the following line since pip was already installed through anaconda:

    /usr/local/share/python3/easy_install pip
    
    0 讨论(0)
  • 2020-12-16 12:10

    In the Anaconda menu, choose Tools, then "open command prompt".

    The cmd window will open inside Anaconda. Now type "pip install pygame".

    0 讨论(0)
提交回复
热议问题