[MacPorts] #59708: Kate 4.14.3_5.darwin_19.x86_64: compile error: No module named 'PyQt4'
MacPorts
noreply at macports.org
Sat Nov 16 17:32:28 UTC 2019
#59708: Kate 4.14.3_5.darwin_19.x86_64: compile error: No module named 'PyQt4'
-----------------------+--------------------
Reporter: TheLord45 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: kate | Port:
-----------------------+--------------------
Hi,
i tried to install kate on OSX 10.15.1 (Catalina) and got the following
errors during compile:
{{{
:info:configure -- Python system site-packages directory:
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages
:info:configure -- The Python files will be installed to
/opt/local/lib/python3.7/site-packages. Make sure to add them to the
Python search path (e.g. by setting PYTHONPATH)
:info:configure -- Found PythonLibrary:
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7m.dylib
:info:configure -- Found SIP version: 4.19.19
:info:configure Traceback (most recent call last):
:info:configure File
"/Volumes/Storage/local/share/apps/cmake/modules/FindPyQt.py", line 6, in
<module>
:info:configure import PyQt4.QtCore
:info:configure ModuleNotFoundError: No module named 'PyQt4'
:info:configure Traceback (most recent call last):
:info:configure File
"/Volumes/Storage/local/share/apps/cmake/modules/FindPyKDE4.py", line 5,
in <module>
:info:configure import PyKDE4.kdecore
:info:configure ModuleNotFoundError: No module named 'PyKDE4'
:info:configure CMake Warning at addons/kate/pate/CMakeLists.txt:52
(message):
:info:configure Pate plugin needs the PyQt4 development sip file
QtCoremod.sip
:info:configure -- Found PkgConfig: /opt/local/bin/pkg-config (found
version "0.29.2")
:info:configure -- Checking for module 'QJson>=0.5'
:info:configure -- Found QJson, version 0.9.0
:info:configure -- Found QJSON: /opt/local/lib/libqjson.dylib
:info:configure
-----------------------------------------------------------------------------
:info:configure -- The following external packages were located on your
system.
:info:configure -- This installation will have the extra features provided
by these packages.
:info:configure
-----------------------------------------------------------------------------
:info:configure * KActivities - Activities interface library
:info:configure * PythonLibrary - Python Library
:info:configure * SIP - Support for SIP Python bindings
:info:configure * QJSON - Json parser for Qt
}}}
I installed PyQT4 with the command {{{sudo port install py-pyqt4}}}
successfully, but this didn't change anything. I tried to clean kate and
reinstall it, but the error stays. Have I forgotten something to install?
Attached to this message is the whole log file from compiling kate.
A.T.
--
Ticket URL: <https://trac.macports.org/ticket/59708>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list