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.
* 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:
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:
Winkey and press the
;C:\python27to the "Path" variable.
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:
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:
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.
Type all the below into a command line window to install the rest.
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.
When it's downloaded, unzip it somewhere and open a command line window at the same folder and type:
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)