【python报错】ModuleNotFoundError: No module named 'ortools.constraint_solver'
毕业设计
1
python3.8 pip 20.0.2
-
已经安装setuptools;用命令 python -m pip install --upgrade --user ortools 成功安装ortools-7.5.7466
-
project interpreter中配置如图所示
-
在程序中导入模块
from __future__ import print_function
from ortools.constraint_solver import pywrapcp
from ortools.constraint_solver import routing_enums_pb2
【报错】ModuleNotFoundError: No module named 'ortools.constraint_solver'
求大神指点,非常感谢!!
发表回复