Re: ImportError: No module named 'PyQt5.sip'
Gabriele Bulfon <[email protected]> Tue, 28 Apr 2020 10:34:48 +0200 (CEST)
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <814622423.5096.1588062888319@www> |
Hi, my setuptools are 41.0.1, I also have setuptools_scm 3.3.3. Do you think I may simply deliver them on dist-info instead of egg-info? Or should I update setuptools to a newer version? Gabriele Sonicle S.r.l. : http://www.sonicle.com Music: http://www.gabrielebulfon.com Quantum Mechanics : http://www.cdbaby.com/cd/gabrielebulfon ---------------------------------------------------------------------------------- Da: Phil Thompson A: Gabriele Bulfon Cc: [email protected] Data: 27 aprile 2020 23.33.45 CEST Oggetto: Re: ImportError: No module named 'PyQt5.sip' On 27/04/2020 22:19, Gabriele Bulfon wrote: Great Phil, that's where I pulled sources for both of them. I have built and packaged PyQt5-sip and PyQt5 from those sources, after building and packaging sip5 and PyQt-builder. Maybe there's something wrong in what I'm delivering to the system with PyQt5-sip? Here's a brief of the files delivered by my package, as in the package definition file (pkg, solaris). I derived this from the prototype area generated by the build/install on the prototype install root. I bet something is wrong with the sip.cpython-35m.so file...I still don't understand how these cpython so files are looked up, but that is what the build system created in the prototype area. dir path=usr dir path=usr/lib dir path=usr/lib/python$(PYVER) dir path=usr/lib/python$(PYVER)/vendor-packages dir path=usr/lib/python$(PYVER)/vendor-packages/PyQt5 dir path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info file usr/lib/python$(PYVER)/vendor-packages/PyQt5/sip.cpython-35m.so path=usr/lib/python$(PYVER)/vendor-packages/PyQt5/sip.cpython-35m.so file path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/PKG-INFO file path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/SOURCES.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/dependency_links.txt file path=usr/lib/python$(PYVER)/vendor-packages/PyQt5_sip-12.7.2-py$(PYVER).egg-info/top_level.txt I would expect to see .dist-info rather than .egg-info. Maybe your setuptools is too old. Phil