Type setup_test.Directions for setting up Anaconda Python and P圜harm IDE New project setup windowĬreate a new Python file by right-clicking (control-click if you only have one button) on the cs1110 folder in the Project pane on the left side of the window, then pick New → Python File New file menu OS X: /Users/ your-user-name-on-your-computer /Desktop/cs1110Įxpand the “Project Interpreter” with the little triangle and pick the “Existing Interpreter” option, with Python 3.6 as the interpreter.Windows: C:\Users\ your-user-name-on-your-computer \Desktop\cs1110.Set the Location to some place you can find in your OS’s file browser suggested: Wait until an “installation successful” message appearsĬlick “Apply” and “OK” in each window until back in the welcome screen Welcome screen In the pop-up window, type pygame in the search bar, select “Pygame” in the left-hand list, and click “Install Package” PyGame installation Project interpreter selectionĬlick the green + either to the top right or bottom left of the list of packages Project interpreter options In the drop-down, pick python3.6 if it is present if not, click the “…” button and find where you installed Python. In the pop-up window, on the left chose “System Interpreter”.Click the gear icon beside the drop-down (top-right corner of the window) and select “Add Local…” from the menu.If the “Project Interpreter” drop-down on the top of the screen has a “Python 3” of some kind, select it and skip the indented steps below otherwise
Go to the “Project Interpreter” option on the left of the screen. In the “configuration” menu (gear icon), select “Settings”. Set up PyGame and how Pycharm interacts with Python doing the following: When you reach the welcome screen, P圜harm welcome screen These should only appear the first time you run P圜harm. There’s a fair bit of set-up, but you should only have to do this once.Īccept the default options in the various screens that pop up asking you to set up various aspects of P圜harm.
#Pycharm windows install mac#
If you are using a system other than Windows or Mac (Linux, FreeBSD, Haiku, etc.), first off, good for you! In general, installing Python, PyGame, and P圜harm is pretty straightforward on these systems (download the Linux version of P圜harm even if you are using a BSD or the like), but if you have trouble post what system you are using on Piazza and we’ll help get you set up.
#Pycharm windows install install#
In the Finder, open /Applications → Python 3.6 and double-click on the icon for Install mand brew install sdl_mixer -with-libvorbis.brew install sdl sdl_image sdl_ttf smpeg portmidi libogg libvorbis.In the terminal window, paste the following commands in one at a time and run them individually: Open a Terminal window ( /Applications → Utilities → Terminal). Set up P圜harm and PyGame see the cross-platform information below.ĭownload the dmg disk image from .ĭrag the icon to the Applications folder. If asked, check “Create associations” - “.py” leave all other options at their default values. Install P圜harm Community Edition 2017.3.2:ĭownload the executable installer from. If asked, check “Add Python to environment variables” and “Install for all users” leave all other options at their default values. So, if you have any doubts, come on down to lab, meet some of the TAs, and make sure you’re laptop is setup and ready to go! 1 Installing 1.1 on Windowsĭownload the executable x86-64 installer from. If you do not come to lab, we will assume you have taken care of this yourself and you are ready to go when we start coding in lecture next week.
However, this is an opportunity to come to ensure that you have Python, P圜harm, and PyGame installed and working properly on your laptops. Lab this week is optional in that we will not be taking roll. This page does not represent the most current semester of this course it is present merely as an archive.