![]() Getting the right compiler is especially confusing for Windows users. It is strongly recommended to use 64-bit Python if possible. More than likely, it is already installed. If you are using Linux, we assume that you are savvy enough to install gcc onyour own. ![]() The advantage of this is thatedited modules will immediately be re-interpreted when the python interpreterrestarts without having to re-install statsmodels. Statsmodels can also be installed in develop mode which installs statsmodelsinto the current python environment in-place. If you do not have pip installed or want to do the installation more manually,you can also type: If your system is already set up with pip, a compiler, and git, you can try: You can follow the instructions below to get a C compiler setup forWindows. If you are buildingfrom the github source and not a source release, then you will also needCython. You will need a C compiler installed to build statsmodels. If you want to keep up to date with the source on github just periodically do: You can get the latest source from ourgithub repository. We do not release very often but the main branch of our source code isusually fine for everyday use. To obtain the latest released version of statsmodels using pip:įollow this link to our PyPI page to directlydownload wheels or source.įor Windows users, unofficial recent binaries (wheels) are occasionallyavailable here. The latest release canbe installed using: PyPI (pip)¶ Statsmodels is available through conda provided byAnaconda. Statsmodels supports Python 3.7, 3.8, and 3.9. Instructions for installing from PyPI, source or a development version are also provided. ![]() This is the recommended installation method for most users. The easiest way to install statsmodels is to install it as part of the Anacondadistribution, a cross-platform distribution for data analysis and scientificcomputing. I’ve only tested this on 10.7 (Lion) but I suspect it will also work with 10.6. ![]() If you don’t already have pip, you can install it with easyinstall (which comes with OS X): sudo easyinstall pip. Installing Matplotlib on your Mac or Windows Laptop First install Python 3.x: Even if you have an older version of Python, e.g., Python 3.2, on your laptop, you can still install a newer version, e.g., 3.5 or 3.6. Just go to the EPD site and download and install the latest stable version for your OS. Installing matplotlib on Mac OS X The easiest way to get matplotlib on Mac OS X is to use prepackaged python distributions such as Enthought Python Distribution ( EPD ). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |