| Installing Opus & UrbanSim > Python Packages | |
Some additional Python libraries are required, recommended, or optional for use with Opus. You must have the required libraries to run Opus. The recommended libraries are not necessary to run Opus, but certain functionality will be unavailable without them. The optional libraries are Python modules that are needed only in special cases.
Caution! The package you need depends on the version of python you are using (except when you are building the package from source). Be sure you have the right one. In most cases, the python version number will be part of the filename.
Most of these packages are available for download from the UrbanSim third-party software directory. (The advantage of getting the packages from the UrbanSim third-party directory is that we've tested the system with this particular set of versions.) We will also provide links to websites where they can be downloaded below.
In many cases, obtaining these packages is made simpler by the use of Easy Install, a python module that can help you download and build python packages. For more on Easy Install, visit the PEAK webpage.
Download ez_setup.py to your computer. Run it (from the directory it's in) by typing
$ python ez_setup.pyYou can use Easy Install to download and install a package, or to install a package (either a *.egg file or a *.tar.gz) already downloaded to your computer. To install downloaded package, type the following at the command prompt:
$ easy_install [filename]where [filename] is the path from your current location of the downloaded file.