Skip to content

Windows Installation Guide

tintinmovie edited this page Dec 3, 2017 · 18 revisions

#Windows Installation Guide

##Prerequisites

Installation

  1. Download Repository (https://github.com/scorelab/Bassa/tree/windows) to local storage. This can be done by clicking the green button labelled "Clone or download", followed by clicking on the "Download ZIP" on the menu that just appeared. Once downloaded unzip file in desired directory.

  2. Navigate to folder 'Bassa-windows' (which should of been created when unzipping the zip file downloaded.) Right click inside the folder, and on the menu, click 'Git Bash here'. If it's not there then you haven't or incorrectly, installed Git (refer to prerequisites).

  3. In the Git Bash terminal, type sh setup.sh.

  4. Navigate (in file explorer or CMD) to the folder 'components', then 'core'.

  5. Open CMD in that directory (one way to do that is Shift + right click, click 'Open command prompt here')

  6. Type and run the command python setup.py develop . NOTE If you get an error either you haven't installed python or it hasn't been installed correctly. If you get the error 'python is not recognized as an internal or external command', generally you must add python to PATH (tutorial here: https://superuser.com/questions/143119/how-to-add-python-to-the-windows-path)

If you get this error: "Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat)." You must install Microsoft C++ 10.0 from (https://www.microsoft.com/en-nz/download/details.aspx?id=5555. If this still doesn't work follow this solution on Stack Overflow https://stackoverflow.com/a/34048443/8625593

🎉 Congratulations you have installed Bassa for Windows! 🎉