Jupyter QtConsole 4.6.0
Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.12.0 -- An enhanced Interactive Python. Type '?' for help.
sys.path
Out[3]:
['C:\\Users\\kdpan\\OneDrive\\Documents\\0_Projects',
'C:\\Users\\kdpan\\Anaconda3\\python37.zip',
'C:\\Users\\kdpan\\Anaconda3\\DLLs',
'C:\\Users\\kdpan\\Anaconda3\\lib',
'C:\\Users\\kdpan\\Anaconda3',
'',
'C:\\Users\\kdpan\\AppData\\Roaming\\Python\\Python37\\site-packages',
'C:\\Users\\kdpan\\Anaconda3\\lib\\site-packages',
'C:\\Users\\kdpan\\Anaconda3\\lib\\site-packages\\win32',
'C:\\Users\\kdpan\\Anaconda3\\lib\\site-packages\\win32\\lib',
'C:\\Users\\kdpan\\Anaconda3\\lib\\site-packages\\Pythonwin',
'C:\\Users\\kdpan\\Anaconda3\\lib\\site-packages\\IPython\\extensions',
'C:\\Users\\kdpan\\.ipython']
import ortools.sat.python as ort
help(ort)
Help on package ortools.sat.python in ortools.sat:
NAME
ortools.sat.python
PACKAGE CONTENTS
cp_model
cp_model_helper
visualization
FILE
c:\users\kdpan\anaconda3\lib\site-packages\ortools\sat\python\__init__.py
from ortools.linear_solver import pywraplp
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-6-b7aff4ea2913> in <module>
----> 1 from ortools.linear_solver import pywraplp
~\Anaconda3\lib\site-packages\ortools\linear_solver\pywraplp.py in <module>
11 # Import the low-level C/C++ module
12 if __package__ or "." in __name__:
---> 13 from . import _pywraplp
14 else:
15 import _pywraplp
ImportError: DLL load failed: The specified module could not be found.