Install, windows, libraries
To install Python from source code, you need to download an install a lot of other software first that Python uses. It's all free to download and use.
For those of you who are unfamiliar with the Python environment, skip down to full instructions below.
If you are familiar with Python, install these libraries if they aren't already:
Now download the Salstat source code itself.
Salstat (stable version from SourceForge) Salstat (latest version from GitHub. Likely to be better but more likely to also have errors somewhere)
* These are less common libraries but should be available via Setuptools (easy_install) or Pip.
Your first step is to install a program called Python if it's not already there. Download from Python.org for Windows. When selecting a version, 2.7 is fairly safe. We've not tried 3.0 or later but would like to hear from anyone who has.
Open a command line window and type:
python
If you see an error like, "python' is not recognised as an internal or external command", then Windows cannot find the Python program. To solve this:
Win
key and press the pause
key.;C:\python27
to the "Path" variable.python
again.And by now, you should have Python installed.
Setuptools really helps in downloading and installing a lot of the above software.
For Windows 7 or earlier, download ez_setup.py with a web browser and open a command line window where the file was downloaded and type:
python ez_setup.py
For Windows 8, open a Powershell windows and type:
(Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python -
Pip is another part of installing software and it's a good idea to install it.
Download get-pip.py and open a command line window where you downloaded it and type:
python get-pip.py
wxPython is a Python library that runs the interface. You must install version 3.0 or later. Version 2.8 just will not run.
Download wxPython and run the file by double-clicking on it.
Numpy handles a lot of the maths that Salstat needs to do.
Download Numpy and double-click on the file to install it.
SciPy handles more calculations. Download SciPy and double click on the file to install.
Type all the below into a command line window to install the rest.
easy_install requests
easy_install beautifulsoup
easy_install xlrd
easy_install xlwt
easy_install ezodf
easy_install sas7bdat
The Requests library helps Salstat download data tables from web pages; BeautifulSoup helps to parse HTML pages and tables; xlrd and xlwt help to read Excel spreadsheets and ezodf helps with Libre Office spreadsheets; and sas7bdat helps to read SAS files.
This is the actual program code. I'd probably recommend trying the GitHub version because it probably does run but is more likely to have newer stuff.
Salstat (stable version from SourceForge) Salstat (latest version from GitHub. Likely to be better but more likely to also have errors somewhere)
When it's downloaded, unzip it somewhere and open a command line window at the same folder and type:
python salstat.py
Salstat should now run. If it does not, come to the Salstat GitHub site and open a new issue to we can help you try to figure it out.
Download Salstat for free or sign up to be notified when Salstat is ready to buy
Salstat is an open source project fostered by Thought Into Design Ltd
Thought Into Design Ltd is registered in England and Wales (Companies House number 7367421)