Installing SteelScript core packages has been covered at our support site very well. This document will just cover some tricks about installing SteelScript packages related with Application Framework and SteelHead on Windows Systems.
Dependencies with c-extension modules
Both SteelScript Application Framework and SteelScript SteelHead are dependent upon third-party libraries with portions written in C. Therefore, we either have to compile the source of those libraries or download pre-compiled distributions from Internet.
Compile Using Visual C++
The compiling approach is straightforward for Linux and Mac system as general developer tools (gcc/g++ or the like) are sufficient for compiling the source of the libraries, but for Windows systems it can be tricky as the compiler has to be Visual Studio 2008, the same compiler with which Python was built, which can be costly in terms of both computer resources and license. Luckily, Microsoft has released a small compiler package for Python 2.7 to make it easier for people to build and distribute their C extension modules on Windows. The Microsoft Visual C++ Compiler for Python 2.7 (a.k.a. VC9) is available from: http://aka.ms/vcpython27. Once the compiler is installed, open up control panel -> Programs and Features, you should see the compiler in the view as below. Afterwards, running "steel install --appfwk" or "steel install --steelhead" in Windows command line console will install all related SteelScript packages smoothly.
Download Pre-Compiled Binaries
Alternatively, you can download and install pre-compiled libraries to satisfy dependency requirements. The table below shows the download links for the dependencies with c-extension modules. After installing pre-compiled libraries, "steel install --appfwk" and "steel install --steelhead" will install the corresponding set of SteelScript packages.
|Package||Download Link||Required by|
|Numpy||http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy||SteelScript Application Framework|
|Pandas||pandas 0.15.2 : Python Package Index||SteelScript Application Framework|
"Steel" Command Failure
Another issue is when using "steel" command to install steelscript packages on Windows system, you might see an error as follows.
The reason for this error is that the installed SteelScript package is older version than what is required by steelscript.appfwk or steelscript.steelhead. Thus the python package manager tries to replace the SteelScript package, which will fail, as steel.exe is being used. The solution to this problem is to simply upgrade the SteelScript package to the latest by running command "pip install -U steelscript".