Installation on Windows - a-hurst/klibs GitHub Wiki
As of version 0.7.1, KLibs finally runs on Windows! However, because Windows is not my primary OS, there might be some remaining Windows-specific bugs or quirks that I have yet to fix. If you encounter any, please report them on the project's Issues page.
Installation
Both Python 2.7 and Python 3.4+ (32-bit and 64-bit) are supported on Windows systems. If you are trying to replicate an existing KLibs experiment and don't know which version to choose, check its README file to see which version of Python it was written for. If a project supports both, Python 3 is preferable.
Dependencies
-
Install either Python 2.7 or Python 3.7 for Windows (download the 'x86-64' executable version if you're not sure which one to get). Make sure to select "Add python.exe to path" during installation as shown in this guide.
-
Install the latest version of Git for Windows.
Installing KLibs
-
Open a new Command Prompt from the Start Menu (can be found by typing
cmd
in the search bar). -
Run the command
pip install git+https://github.com/a-hurst/klibs.git
in the terminal window that appears.- If you receive an error saying that the command "pip" could not be found, it means that 'Add python.exe to path' was not selected during Python installation. If this is the case, you should re-run the Python installer with that option selected.
-
Try running
klibs --help
from the command line to test out your new KLibs install. If you see a help screen and no errors, everything should be working as intended!