python-sip

can not build qtermwidget from source

北城余情 提交于 2021-01-27 21:31:51
问题 I'm trying to build qtermwidget from source, but it gives me error. I've successfully built lxqt-build-tools and then installed pyqt5 from both pip3 and apt: sudo -H pip3 install -U pyqt5 pyqtwebengine sudo apt install python3-sip-dev python3-pyqt5 and then I ran this: mkdir -p /tmp/EAF && cd /tmp/EAF git clone https://github.com/lxqt/qtermwidget cd qtermwidget mkdir build && cd build cmake .. -DQTERMWIDGET_BUILD_PYTHON_BINDING=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr and it

pip3 install PyQt5 --user fails [duplicate]

杀马特。学长 韩版系。学妹 提交于 2020-05-09 05:31:04
问题 This question already has answers here : Install PyQt5 5.14.1 on Linux (3 answers) Closed 4 months ago . Errors are present when trying to install PyQt5 via pip3. The automated message wants me to add more detail, but I don't have any. All the detail is in the code. ➜ ~ pip3 install PyQt5 --user Collecting PyQt5 Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection

Installing PyQt 4.9 on CentOS 6.0 Fails

拜拜、爱过 提交于 2020-01-11 12:02:28
问题 I'm totally fed up with this problem. I'm trying to install PyQt 4.9 on my server running on CentOS 6.0. When I install it, I get like this [root@myserver PyQt]# python3 configure.py -k Determining the layout of your Qt installation... This is the GPL version of PyQt 4.9 (licensed under the GNU General Public License) for Python 3.2.2 on linux2. Type '2' to view the GPL v2 license. Type '3' to view the GPL v3 license. Type 'yes' to accept the terms of the license. Type 'no' to decline the

Location of global libraries for Python on Mac?

时光毁灭记忆、已成空白 提交于 2020-01-09 09:05:27
问题 I'm fighting with installation SIP for Python on Mac OS X. Finally after compilation and installation when I run console form folder of SIP (locally) I can import sipconfig, but when I`m in other folder I cant - there is no module called sipconfig. My question is - Where is folder to which I have to copy modules if I want to have them available globally (like "import os"), or how I can check it, because location "/Library/Python/2.6/site-packages/" doesn`t work. 回答1: Try checking your python

Location of global libraries for Python on Mac?

爱⌒轻易说出口 提交于 2020-01-09 09:04:03
问题 I'm fighting with installation SIP for Python on Mac OS X. Finally after compilation and installation when I run console form folder of SIP (locally) I can import sipconfig, but when I`m in other folder I cant - there is no module called sipconfig. My question is - Where is folder to which I have to copy modules if I want to have them available globally (like "import os"), or how I can check it, because location "/Library/Python/2.6/site-packages/" doesn`t work. 回答1: Try checking your python

Location of global libraries for Python on Mac?

て烟熏妆下的殇ゞ 提交于 2020-01-09 09:03:33
问题 I'm fighting with installation SIP for Python on Mac OS X. Finally after compilation and installation when I run console form folder of SIP (locally) I can import sipconfig, but when I`m in other folder I cant - there is no module called sipconfig. My question is - Where is folder to which I have to copy modules if I want to have them available globally (like "import os"), or how I can check it, because location "/Library/Python/2.6/site-packages/" doesn`t work. 回答1: Try checking your python

PyQt configuration and installation error

旧街凉风 提交于 2020-01-05 04:42:45
问题 I'm trying to install PyQt for Maya on my Macbook pro. I've succesfully installed Qt and Sip and I'm failing to install PyQt. The versions I'm using are OSX 10.6.8, Qt 4.7.1 - modified Autodesk Qt, Sip 4.13.2, PyQt 4.9.1 When configuring pyqt it succeeds but when building it fails. I think it might have something to do with the directory /Users/warnold being used in the configuration. It's listed four times but the directory doesn't exist and I don't know where it came from. Qt is installed

PyQt5 error “PyCapsule_GetPointer called with incorrect name”

坚强是说给别人听的谎言 提交于 2020-01-02 06:50:47
问题 I've just built PyQt5 in a pyenv virtualenv with python 3.6.3 on OpenSUSE leap, the build went fine, but when I import >>> from PyQt5 import QtCore Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: PyCapsule_GetPointer called with incorrect name I can import PyQt5, but then I cannot use the modules under it >>> import PyQt5 >>> PyQt5.QtCore Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'PyQt5' has no attribute

How to force using 64 bit python on Mac OS X?

牧云@^-^@ 提交于 2020-01-02 06:07:34
问题 I got the following error when compiling sip with --arch x86_64 option. prosseek:siplib smcho$ python -c 'import sip; print sip' Traceback (most recent call last): File "", line 1, in ImportError: dlopen(./sip.so, 2): no suitable image found. Did find: ./sip.so: mach-o, but wrong architecture I found that the prebuilt Mac OS X python (snow leopard) is universal, and it doesn't get the 64 bit library. I guess it's running on 32bit mode. file /usr/bin/python /usr/bin/python: Mach-O universal

Is it a good idea for me to learn Python before C or some other Compiler language? [closed]

半城伤御伤魂 提交于 2019-12-31 21:37:40
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Right now I am going through MIT's introduction to Computer Science course via OpenCourseWare. As a part of this course I am learning