<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="color:rgb(80,0,80)">> </span>  Is that the same python you're running test1.py with?  <br>Yes<div><br></div><div><span style="color:rgb(80,0,80)">> </span>  What paths did that install to?<br></div><div>Here is a part of the installation log:</div><div><br></div><div><div>d:\qt5_32\bin\qmake.exe -install qinstall D:\opencv\PyQt5_gpl-5.11.3.dev1809141810\sip\QtPositioning\qgeorectangle.sip C:\Users\FiFo\AppData\Local\Programs\Python\Python27\sip\PyQt5\QtPositioning\qgeorectangle.sip</div><div>        d:\qt5_32\bin\qmake.exe -install qinstall D:\opencv\PyQt5_gpl-5.11.3.dev1809141810\sip\QtPositioning\qgeosatelliteinfo.sip C:\Users\FiFo\AppData\Local\Programs\Python\Python27\sip\PyQt5\QtPositioning\qgeosatelliteinfo.sip</div><div>        d:\qt5_32\bin\qmake.exe -install qinstall D:\opencv\PyQt5_gpl-5.11.3.dev1809141810\sip\QtPositioning\qgeosatelliteinfosource.sip C:\Users\FiFo\AppData\Local\Programs\Python\Python27\sip\PyQt5\QtPositioning\qgeosatelliteinfosource.sip</div><div>        d:\qt5_32\bin\qmake.exe -install qinstall D:\opencv\PyQt5_gpl-5.11.3.dev1809141810\sip\QtPositioning\qgeoshape.sip C:\Users\FiFo\AppData\Local\Programs\Python\Python27\sip\PyQt5\QtPositioning\qgeoshape.sip</div><div>        d:\qt5_32\bin\qmake.exe -install qinstall D:\opencv\PyQt5_gpl-5.11.3.dev1809141810\sip\QtPositioning\qnmeapositioninfosource.sip C:\Users\FiFo\AppData\Local\Programs\Python\Python27\sip\PyQt5\QtPositioning\qnmeapositioninfosource.sip</div><div>        C:\Users\FiFo\AppData\Local\Programs\Python\Python27\python.exe D:\opencv\PyQt5_gpl-5.11.3.dev1809141810\mk_distinfo.py "" C:\Users\FiFo\AppData\Local\Programs\Python\Python27\Lib\site-packages\PyQt5-5.11.3.dev1809141810.dist-info installed.txt</div></div><div><br></div><div><span style="color:rgb(80,0,80)">> </span>  Try running with "python -v" and then check the paths it prints<br><span style="color:rgb(80,0,80)">> </span>    (probably something like C:\Python27\site-packages\PyQt5 from memory).<br><span style="color:rgb(80,0,80)">> </span>    Is there really a PyQt installed there?  <br></div><div><br></div><div><div>D:\opencv\resources>python -v</div><div># installing zipimport hook</div><div>import zipimport # builtin</div><div># installed zipimport hook</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\site.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\site.py</div><div>import site # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\site.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\os.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\os.py</div><div>import os # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\os.pyc</div><div>import errno # builtin</div><div>import nt # builtin</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\ntpath.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\ntpath.py</div><div>import ntpath # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\ntpath.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\stat.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\stat.py</div><div>import stat # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\stat.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\genericpath.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\genericpath.py</div><div>import genericpath # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\genericpath.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\warnings.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\warnings.py</div><div>import warnings # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\warnings.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\linecache.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\linecache.py</div><div>import linecache # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\linecache.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\types.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\types.py</div><div>import types # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\types.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\UserDict.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\UserDict.py</div><div>import UserDict # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\UserDict.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_abcoll.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_abcoll.py</div><div>import _abcoll # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_abcoll.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\abc.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\abc.py</div><div>import abc # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\abc.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_weakrefset.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_weakrefset.py</div><div>import _weakrefset # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_weakrefset.pyc</div><div>import _weakref # builtin</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\copy_reg.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\copy_reg.py</div><div>import copy_reg # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\copy_reg.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\traceback.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\traceback.py</div><div>import traceback # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\traceback.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sysconfig.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sysconfig.py</div><div>import sysconfig # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sysconfig.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\re.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\re.py</div><div>import re # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\re.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_compile.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_compile.py</div><div>import sre_compile # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_compile.pyc</div><div>import _sre # builtin</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_parse.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_parse.py</div><div>import sre_parse # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_parse.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_constants.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_constants.py</div><div>import sre_constants # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_constants.pyc</div><div>import _locale # builtin</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\locale.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\locale.py</div><div>import locale # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\locale.pyc</div><div>import encodings # directory C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\__init__.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\__init__.py</div><div>import encodings # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\__init__.pyc</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\codecs.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\codecs.py</div><div>import codecs # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\codecs.pyc</div><div>import _codecs # builtin</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\aliases.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\aliases.py</div><div>import encodings.aliases # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\aliases.pyc</div><div>import operator # builtin</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\functools.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\functools.py</div><div>import functools # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\functools.pyc</div><div>import _functools # builtin</div><div># C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\cp1252.pyc matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\cp1252.py</div><div>import encodings.cp1252 # precompiled from C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\cp1252.pyc</div><div>Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:22:17) [MSC v.1500 32 bit (Intel)] on win32</div><div>Type "help", "copyright", "credits" or "license" for more information.</div></div><div><br></div><div><div>D:\opencv\resources>pip freeze</div><div>backports.functools-lru-cache==1.5</div><div>cycler==0.10.0</div><div>enum34==1.1.6</div><div>kiwisolver==1.0.1</div><div>matplotlib==2.2.3</div><div>numpy==1.15.1</div><div>Pillow==5.2.0</div><div>pynaoqi==2.1.4.13</div><div>pyodbc==4.0.24</div><div>pyparsing==2.2.0</div><div>PyQt5==5.11.3.dev1809141810</div><div>PyQt5-sip==4.19.13.dev1809111822</div><div>python-dateutil==2.7.3</div><div>pytz==2018.5</div><div>six==1.11.0</div></div></div></div></div></div>