Hi guys,
I am trying to get or-tools running with python.
I originally cloned & compiled for C++ and that solves perfectly fine.
I cloned the source code (version 7.5) again into a different directory, and ran:
tools\make third_party
tools\make python
without any errors.
But when running tools\make test_python, it solves the first 3 problems, then chucks:
set PYTHONPATH=C:\\Users\\jc321076\\Documents\\PhD\\github\\Autonomous_DSVRP\\or-tools;C:\\Users\\jc321076\\Documents\\PhD\\github\\Autonomous_DSVRP\\or-tools\\dependencies\\sources\\protobuf-3.11.2\\python && "C:\Users\jc321076\AppData\Local\Programs\Python\Python37\python.exe" ortools\\constraint_solver\\samples\\simple_routing_program.py
Traceback (most recent call last):
File "ortools\\constraint_solver\\samples\\simple_routing_program.py", line 18, in <module>
from ortools.constraint_solver import routing_enums_pb2
File "C:\Users\jc321076\Documents\PhD\github\Autonomous_DSVRP\or-tools\ortools\constraint_solver\..\gen\ortools\constraint_solver\routing_enums_pb2.py", line 5, in <module>
from google.protobuf import descriptor as _descriptor
File "C:\Users\jc321076\Documents\PhD\github\Autonomous_DSVRP\or-tools\dependencies\sources\protobuf-3.11.2\python\google\protobuf\descriptor.py", line 38, in <module>
import six
ModuleNotFoundError: No module named 'six'
tools\make: *** [rpy_simple_routing_program] Error 1
Any ideas on why it's doing this?
(I have all the up-to-date requirements:
Windows 10 64-bit
MS VS Community 2019
Git, CMake
I tested python requirements as per guide:
Python 3.7.2
64bit
pip 18.1 from C:\Users\jc321076\AppData\Local\Programs\Python\Python37\lib\site-packages\pip (python 3.7)
And I am using x64 Native Tools Command Prompt for VS 2019)
Thanks,
Tiria