You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For my version of PyQt5 == 5.14.1, the if self.pyqtconfig check failed, so the code got the directory from sipconfig. Thus, the value of the directory was set to:
I figured this was because pyqt_sip_dir was possibly incorrect; manually checking that path revealed there was no such folder! Instead, I had to supply manually a path, with the cmdline argument:
, and this was the only change needed for setup.py build to successfully build the library.
I wonder if this is an issue with the install for sip itself, installation of PyQt5, or if the way pyqt_sip_dir is set;
Is it possible to change the default from the sipconfig way to this /lib/python/... way?
I did not delete setup.py/setup.cfg files, they can be still used to
build with SIP v4. However installations from PyPI should now work fine.
Fixesfrescobaldi#38, frescobaldi#34.
I did not delete setup.py/setup.cfg files, they can be still used to
build with SIP v4. However installations from PyPI should now work fine.
Fixes#38, #34.
(Environment instructions at the end of this post)
When performing
setup.py build_ext
without any additional options, the script uses this code to determinepyqt_sip_dir
:python-poppler-qt5/setup.py
Lines 205 to 211 in 22e0f8b
For my version of
PyQt5 == 5.14.1
, theif self.pyqtconfig
check failed, so the code got the directory fromsipconfig
. Thus, the value of the directory was set to:which caused an error in the build process:
I figured this was because
pyqt_sip_dir
was possibly incorrect; manually checking that path revealed there was no such folder! Instead, I had to supply manually a path, with the cmdline argument:, and this was the only change needed for
setup.py build
to successfully build the library.I wonder if this is an issue with the install for
sip
itself, installation of PyQt5, or if the waypyqt_sip_dir
is set;Is it possible to change the default from the
sipconfig
way to this/lib/python/...
way?My Environment:
Using
pipenv
:python==3.7.6
sip==4.19.20
(Installed manually, not throughpipenv
, as per Can't install, error with Sip #29 (comment))pyqt5==5.14.1
Poppler==0.84.0
The text was updated successfully, but these errors were encountered: