[PyQt] ImportError
FiFo
fifothekid at gmail.com
Tue Sep 18 21:43:15 BST 2018
> Is that the same python you're running test1.py with?
Yes
> What paths did that install to?
Here is a part of the installation log:
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
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
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
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
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
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
> Try running with "python -v" and then check the paths it prints
> (probably something like C:\Python27\site-packages\PyQt5 from memory).
> Is there really a PyQt installed there?
D:\opencv\resources>python -v
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\site.pyc matches
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\site.py
import site # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\site.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\os.pyc matches
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\os.py
import os # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\os.pyc
import errno # builtin
import nt # builtin
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\ntpath.pyc
matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\ntpath.py
import ntpath # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\ntpath.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\stat.pyc matches
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\stat.py
import stat # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\stat.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\genericpath.pyc
matches
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\genericpath.py
import genericpath # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\genericpath.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\warnings.pyc
matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\warnings.py
import warnings # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\warnings.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\linecache.pyc
matches
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\linecache.py
import linecache # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\linecache.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\types.pyc
matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\types.py
import types # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\types.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\UserDict.pyc
matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\UserDict.py
import UserDict # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\UserDict.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_abcoll.pyc
matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_abcoll.py
import _abcoll # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_abcoll.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\abc.pyc matches
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\abc.py
import abc # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\abc.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_weakrefset.pyc
matches
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_weakrefset.py
import _weakrefset # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\_weakrefset.pyc
import _weakref # builtin
# 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
import copy_reg # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\copy_reg.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\traceback.pyc
matches
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\traceback.py
import traceback # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\traceback.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sysconfig.pyc
matches
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sysconfig.py
import sysconfig # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sysconfig.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\re.pyc matches
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\re.py
import re # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\re.pyc
# 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
import sre_compile # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_compile.pyc
import _sre # builtin
# 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
import sre_parse # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_parse.pyc
#
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
import sre_constants # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\sre_constants.pyc
import _locale # builtin
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\locale.pyc
matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\locale.py
import locale # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\locale.pyc
import encodings # directory
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings
#
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
import encodings # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\__init__.pyc
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\codecs.pyc
matches C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\codecs.py
import codecs # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\codecs.pyc
import _codecs # builtin
#
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
import encodings.aliases # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\aliases.pyc
import operator # builtin
# C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\functools.pyc
matches
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\functools.py
import functools # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\functools.pyc
import _functools # builtin
#
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
import encodings.cp1252 # precompiled from
C:\Users\FiFo\AppData\Local\Programs\Python\Python27\lib\encodings\cp1252.pyc
Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:22:17) [MSC v.1500 32
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
D:\opencv\resources>pip freeze
backports.functools-lru-cache==1.5
cycler==0.10.0
enum34==1.1.6
kiwisolver==1.0.1
matplotlib==2.2.3
numpy==1.15.1
Pillow==5.2.0
pynaoqi==2.1.4.13
pyodbc==4.0.24
pyparsing==2.2.0
PyQt5==5.11.3.dev1809141810
PyQt5-sip==4.19.13.dev1809111822
python-dateutil==2.7.3
pytz==2018.5
six==1.11.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180918/d33f55fe/attachment-0001.html>
More information about the PyQt
mailing list