Python code on Windows¶
Install Python 2.7 (this step is already done if you are following the instructions above),
Add Python to the
PATHenvironmental variablehttp://stackoverflow.com/questions/6318156/adding-python-path-on-windows-7
Follow the instructions in
READMEfile in directory$(BIGARTM_ROOT)/3rdparty/protobuf/python/. In brief, this instructions ask you to run the following commands:python setup.py build python setup.py test python setup.py installOn second step you fill see two failing tests:
Ran 216 tests in 1.252s FAILED (failures=2)
This 2 failures are OK to ignore.
At this point you should be able to run BigARTM tests for Python, located under $(BIGARTM_ROOT)/python/tests/.
- [Optional] Download and add to MSVS Python Tools 2.0.
All necessary instructions can be found at https://pytools.codeplex.com/.
This will allow you debug you Python scripts using Visual Studio.
You may start with the following solution:
$(BIGARTM_ROOT)/src/artm_vs2012.sln.