In this list you can select the package (here: python-pygame) and run sudo apt-get install the-package-name.įor more debugging of dependencies see Installing pygame with pip. Solarwolf - Collect the boxes and don't become mad Python-soya-doc - high level 3D engine for Python Python-soya-dbg - high level 3D engine for Python - debug extension Python-soya - high level 3D engine for Python Python-pyglet - cross-platform windowing and multimedia library Python-pygame - SDL bindings for games development in Python Pyntor - flexible and componentized presentation program Psychopy - environment for creating psychology stimuli in Python The output for apt-cache search pygame is lightyears - single player real-time strategy game with steampunk sci-fi Then you can see the packages (if they are in the repositories) and their names. Click on 'New' and then 'Terminal' in the browser tab. To install pygame in Jupyter Notebook: Open your terminal and type 'jupyter notebook'. Next time if you want to install a python package you can search whether it is in the repositories by running: apt-cache search pygame Click on the following article if you need to install a specific version of the package using Anaconda. It is easier to install python32 and pygame32 even if you are running a 64-bit version of Microsoft Windows.I can confirm Jobin's suggestion in his comment: sudo apt-get install python-pygame Installation notes for Microsoft Windows users Failure to do so may result in post removal. If you need to install Python 3, you can visit to install the latest Python 3 release. Procedure (Windows 10) Make sure to have the latest version of Python 3 installed on your computer. When posting links please provide a brief description in the comments of the thread. This guide provides the steps needed to install Pygame for Python 3.6 on Windows and macOS. For code that relies on external resources like images please create a repo on github or similar. If you have a large amount of code to share it would be best use a third party site for posting code. You can also place small amounts of code inline by surrounding it with ticks: `like this` You can indent the code in a text editor before pasting, or after pasting into reddit, highlight the text and press the editor button that looks like this. When posting code every line must be indented an additional four spaces. In Python indentation is part of the language syntax and as such is extremely important. The most work will involve compiling and installing all the pygame dependencies. Consider making a Github account if you don't have one already. Installing from source is fairly automated. If asking for help with your code, please provide a link to the entire code and resources if possible. Posting Guidelinesĭespite the name, content related to other Python game libraries (pyglet, panda3d, etc.) is also welcome. Pygame is highly portable and runs on nearly every platform and operating system. This allows you to create fully featured games and multimedia programs in the python language. To install this package run one of the following: conda install -c cogsci pygame. Pygame adds functionality on top of the excellent SDL library. Python library based on SDL for making games. Description None By data scientists, for data scientists. Pygame is a set of Python modules designed for writing games. win-64 v1.9.2a0 conda install Authentication Prerequisites: anaconda login To install this package run one of the following: conda install -c prkrekel pygame.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |