====== Setting up Python Environment ====== {{ :setup:python.sh-600x600.png?nolink&100 |}} Here, you can find the tools you need to download to your PC to start programming in Python language. After your installation is complete, check [[setup:easy_install|Easy_Install]] for downloading packages. ===== Windows ===== There are multiple software available for Windows. Here we give a list of tools you need to download for programming using [[software:eclipse|Eclipse software]]. Download and install following packages in order: * [[http://www.eclipse.org/downloads/ | Eclipse]] * [[https://www.python.org/download/ | Python]]((There are two versions of Python, be sure that you are downloading the correct version)) * PyDev * [[http://pydev.org/manual_101_install.html#installing-with-the-update-site|(Suggested) PyDev over Eclipse]] * [[http://pydev.org/download.html|PyDev from website]]((Read the [[http://pydev.org/manual_101_root.html|Getting Started]] document first)) ==== Common Problems ==== === PATH Variable === To use ''python'' command in cmd.exe terminal, you may need to add Python directory to your environment path. To do this, add your Python installation folder (like ''C:\Python27'') to your PATH variable under Environment Variables. Follow these instructions: - Hold Windows and press Pause button at the same time. - Click Advanced System Settings. - Click Environment Variables. - Add \\ '';C:\python27'' \\ (or whatever your Python directory is) to the ''PATH'' variable. - Restart your command prompt/terminal. ==== Alternatives ==== You can install [[http://www.easyeclipse.org/site/distributions/python.html|EasyEclipse distribution]], which is a bundle of Eclipse and PyDev. ===== Linux ===== [[setup:pythonvirtual|Python Virtual Environment On Linux and COR@L]] ===== MAC OS ===== - Download Python for Mac with respect to 32 bit or 64 bit option from [[http://pydev.org/manual_101_install.html#installing-with-the-update-site|here]] - Download Eclipse for Mac from [[http://www.eclipse.org/downloads/|here]] - Download PyDev either from Eclipse or PyDev website. Guide to download from Eclipse is [[http://pydev.org/manual_101_install.html#installing-with-the-update-site|here]]