python-sip Questions

4

Solved

I recently installed PyQt4 onto my system and started doing some basic tasks (course work), it worked fine. Then, after some days, I was trying to work with matplotlib. When I tried import matpl...
Waterless asked 20/10, 2016 at 16:4

5

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 f...
Disunion asked 29/4, 2010 at 23:53

2

Solved

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 --us...
Guzzle asked 17/1, 2020 at 2:11

1

Solved

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 pyqtwebe...
Canny asked 7/12, 2019 at 20:5

5

Solved

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): Fil...
Enchorial asked 5/8, 2018 at 11:40

3

Solved

I'm a newbie to Python environment & really struggling to install SIP & PyQt on my Win 7 machine. This is what I've done so far, I've downloaded SIP-4.16.9 and extracted files from the z...
Nissen asked 17/8, 2015 at 15:19

3

Short Version: How do I have PyQt4's configure.py use the SIP version installed in the Virtual Env? Long version: I know variations on this question have been asked like a million times here but I...
Tetrahedron asked 11/4, 2017 at 18:58

2

Solved

I'm am attempting to setup some import hooks through sys.meta_path, in a somewhat similar approach to this SO question. For this, I need to define two functions find_module and load_module as expla...
Vidavidal asked 19/4, 2016 at 23:40

3

Solved

I'm having some trouble in using PyQt/SIP. I guess the SIP is compiled into 64bit, but Python has some problem with finding it. File "qtdemo.py", line 46, in import sip ImportError: dlopen(/L...
Roberto asked 8/7, 2010 at 19:26

2

Solved

I do most of my work in Windows and have a good python27 set up like I like it. I recently installed virtualBox and got a Ubuntu Machine running on it and am trying to get PyQt4 installed on it. I ...
Hydranth asked 20/12, 2012 at 23:7

2

I'm new and my english is not very well, but here I go: I have the newest Arch Linux on my PC and yesterday I tried to install SIP, a Python code generator for wrapping C++ codes. I tried to instal...
Inhabitant asked 21/3, 2014 at 20:56

1

Basically I want to make a Python program call functions written in C. So (as far as I know) my options are: CTypes/CFFI Create a DLL/SO/DyLib containing the C functions and access them using ...
Annuity asked 19/7, 2013 at 21:21

2

Solved

I have been trying to install PyQt on my mac (OSX 10.6.8), but I still having this problem: When I try to install PyQt-mac-gpl-4.9.6, I get this Error: This version of PyQt requires SIP v4.14.2 ...
Lien asked 14/12, 2012 at 8:46

0

I have to choose PySide due to the license. But its Shiboken tool is so lack of documentations. I can't successfuly generate a binding for my Qt C++ libraries. Looks like SIP is more mature at le...
Alkalinity asked 10/1, 2013 at 6:49

1

Solved

I have a class similar to the following: class A { vector<double> v; double& x(int i) { return v[2*i]; } double& y(int i) { return v[2*i+1]; } double x(int i) const { return v[2*...
Dorree asked 12/7, 2012 at 15:45

1

I need to access the pixel data in a qimage object with PyQt4. The .pixel() is too slow so the docs say to use the scanline() method. In c++ I can get the pointer returned by the scanline() metho...
Webbing asked 6/7, 2012 at 9:58

3

Solved

I can't figure out why this program is failing. #!/usr/bin/env python from __future__ import division, print_function from future_builtins import * import types import libui as ui from PyQt4 impor...
Thump asked 7/5, 2011 at 19:58

7

Solved

I have been mulling over writing a peak-fitting library for a while. I know Python fairly well and plan on implementing everything in Python to begin with but envisage that I may have to re-impleme...
Skite asked 19/8, 2008 at 12:32
1

© 2022 - 2024 — McMap. All rights reserved.