Re: SIP and PyQt5 Installation

2016-12-22 Thread Mirage Web Studio
me back an >import error saying, "No module named PyQt5". Could someone provide me >with the steps for not only the installation/configuring of SIP/PyQt >but also the steps needed to integrate it to the eclipse IDE? >-- >https://mail.python.org/mailman/listinfo/python-li

Re: SIP and PyQt5 Installation

2016-12-22 Thread jladasky
le sends me back an import error saying, > "No module named PyQt5". Could someone provide me with the steps for not only > the installation/configuring of SIP/PyQt but also the steps needed to > integrate it to the eclipse IDE? You need to specify your operating system. I foun

SIP and PyQt5 Installation

2016-12-22 Thread churros . studios
de me with the steps for not only the installation/configuring of SIP/PyQt but also the steps needed to integrate it to the eclipse IDE? -- https://mail.python.org/mailman/listinfo/python-list

Re: SIP install error on windows

2016-12-12 Thread Phil Thompson
On 12 Dec 2016, at 7:29 pm, Xristos Xristoou wrote: > > > hello i want to install sip on windows bit using python > 32 bit. > i download sip from this link https://www.riverbankcomputing.com > i try to install from cmd line : > > C:\WINDOWS\system32>cd C:\User

Re: SIP install error on windows

2016-12-12 Thread Xristos Xristoou
Τη Δευτέρα, 12 Δεκεμβρίου 2016 - 9:29:38 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: > hello i want to install sip on windows bit using python > 32 bit. > i download sip from this link https://www.riverbankcomputing.com > i try to install from cmd line : > > C:\WINDOWS\sy

Re: SIP install error on windows

2016-12-12 Thread Phil Thompson
On 12 Dec 2016, at 7:38 pm, Bob Gailer wrote: > > On Dec 12, 2016 2:30 PM, "Xristos Xristoou" wrote: >> >> >> hello i want to install sip on windows bit using python >> 32 bit. >> i download sip from this link https://www.riverbankcomputing.co

Re: SIP install error on windows

2016-12-12 Thread Bob Gailer
On Dec 12, 2016 2:30 PM, "Xristos Xristoou" wrote: > > > hello i want to install sip on windows bit using python > 32 bit. > i download sip from this link https://www.riverbankcomputing.com > i try to install from cmd line : > > C:\WINDOWS\system32>cd C:\

SIP install error on windows

2016-12-12 Thread Xristos Xristoou
hello i want to install sip on windows bit using python 32 bit. i download sip from this link https://www.riverbankcomputing.com i try to install from cmd line : C:\WINDOWS\system32>cd C:\Users\username\Desktop\sip-4.17 C:\Users\username\Desktop\sip-4.17>python configure.py install an

Re: Couldn't load SIP module.

2016-11-20 Thread Xristos Xristoou
Τη Σάββατο, 19 Νοεμβρίου 2016 - 10:45:16 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: > hello > i using python 2.7.12 on ubuntu 16.04 and i have that error with SIP : > > Couldn't load SIP module. > > > Traceback (most recent call last): > File "", li

Re: Couldn't load SIP module.

2016-11-19 Thread Michael Torrie
On 11/19/2016 01:44 PM, Xristos Xristoou wrote: > hello > i using python 2.7.12 on ubuntu 16.04 and i have that error with SIP : > > Couldn't load SIP module. > > > Traceback (most recent call last): > File "", line 1, in > ImportError: /us

Couldn't load SIP module.

2016-11-19 Thread Xristos Xristoou
hello i using python 2.7.12 on ubuntu 16.04 and i have that error with SIP : Couldn't load SIP module. Traceback (most recent call last): File "", line 1, in ImportError: /usr/local/lib/python2.7/site-packages/sip.so: undefined symbol: PyUnicodeUCS2_AsUTF8String ('

Re: SIP Libraries?

2010-10-28 Thread Godson Gera
There were some attempts to build SIP libraries in python, I am giving a list of the libs that I know - Twisted - http://twistedmatrix.com/documents/8.1.0/api/twisted.protocols.sip.html - Shtoom - a dead project by anthony baxter made some enhancements to twisted's sip library -

Re: [Solved] SIP installation and usage on windows

2010-04-12 Thread omnia neo
.path > > import siptest > > ### > > > again same error: > > ImportError: No module named siptest. > > Make sure the extension module must is called siptest.pyd, not > siptest.dllhttp://docs.python.org/extending/windows.html > (I'd expect SIP to take

Re: SIP

2010-04-09 Thread Gabriel Genellina
using sys.path on the fly in my python script as > follows: > > ### > import sys > sys.path.append("") > print sys.path > import siptest > ### > > again same error: > ImportError: No module named siptest. Make sure the extension mod

Re: SIP

2010-04-09 Thread CHEN Guang
PythoidC ( http://pythoidc.sf.net ) provides some examples and templates for writing and importing C modules (.c or .exe) into Python environment, may be of some help. - Original Message - From: "omnia neo" To: Sent: Friday, April 09, 2010 1:51 PM Subject: Re: SIP On Ap

Re: SIP

2010-04-08 Thread omnia neo
On Apr 9, 10:42 am, omnia neo wrote: > On Apr 9, 10:30 am, Stefan Behnel wrote: > > > omnia neo, 09.04.2010 07:01: > > > > import siptest > > > > I get following error : > > > import error : no module named siptest > > > Is the directory where your siptest.dll lies in your PYTHONPATH (sys.path)?

Re: SIP

2010-04-08 Thread omnia neo
On Apr 9, 10:30 am, Stefan Behnel wrote: > omnia neo, 09.04.2010 07:01: > > > import siptest > > > I get following error : > > import error : no module named siptest > > Is the directory where your siptest.dll lies in your PYTHONPATH (sys.path)? > > Otherwise, Python can't find it. > > Stefan tha

Re: SIP

2010-04-08 Thread Stefan Behnel
omnia neo, 09.04.2010 07:01: import siptest I get following error : import error : no module named siptest Is the directory where your siptest.dll lies in your PYTHONPATH (sys.path)? Otherwise, Python can't find it. Stefan -- http://mail.python.org/mailman/listinfo/python-list

SIP

2010-04-08 Thread omnia neo
Hi All, I was looking at the SIP tool to create a C extensions for python to call. Here is what I tried: 1. I created a simple c file and .h file 2. Then I created a corresponding testfunc.sip file ### %CModule siptest 0 %UnitCode #include"testfunc.h" %End v

SIP v4.10 Released (Python Bindings Generator)

2010-01-21 Thread Phil Thompson
SIP v4.10 has been released and can be downloaded from http://www.riverbankcomputing.com/software/sip/. SIP is a tool for generating Python modules that wrap C or C++ libraries. It is similar to SWIG. It is used to generate PyQt and PyKDE. The SIP license is similar to the Python License and is

ANN: SIP v4.9 Released (Python Bindings Generator)

2009-09-27 Thread Phil Thompson
SIP v4.9 has been released and can be downloaded from http://www.riverbankcomputing.com/software/sip/. SIP is a tool for generating Python modules that wrap C or C++ libraries. It is similar to SWIG. It is used to generate PyQt and PyKDE. The SIP license is similar to the Python License and is

Re: SIP v4.8.1 Released

2009-06-16 Thread Lawrence D'Oliveiro
In message , Phil Thompson wrote: > SIP is a tool for generating Python modules that wrap C or C++ libraries. > It is similar to SWIG. It is used to generate PyQt and PyKDE. I find the name confusing. Every time I hear it I think "Session Initiation Protocol". OK, so I'

SIP v4.8.1 Released

2009-06-16 Thread Phil Thompson
SIP v4.8.1 has been released and can be downloaded from http://www.riverbankcomputing.com/software/sip/. SIP is a tool for generating Python modules that wrap C or C++ libraries. It is similar to SWIG. It is used to generate PyQt and PyKDE. SIP is licensed under the Python License and runs on

Re: SIP won't compile on OSX 10.3

2007-11-05 Thread D.Hering
On Nov 5, 10:41 pm, Benjamin <[EMAIL PROTECTED]> wrote: > Hi! I'm trying to install SIP on my Mac with the eventual aim of > installing PyQt. The "python configure.py" stage works fine, but when > I type make this is what I see: > cc -c -pipe -Os -w -I. -o main.o m

SIP won't compile on OSX 10.3

2007-11-05 Thread Benjamin
Hi! I'm trying to install SIP on my Mac with the eventual aim of installing PyQt. The "python configure.py" stage works fine, but when I type make this is what I see: cc -c -pipe -Os -w -I. -o main.o main.c cc -c -pipe -Os -w -I. -o transform.o transform.c cc -c -pipe -Os -w -

Re: SIP examples

2007-09-12 Thread Diez B. Roggisch
Srijit Kumar Bhadra wrote: > I am trying to learn SIP (http://www.riverbankcomputing.co.uk/sip/) > these days. I do not see any examples similar to SWIG. > http://www.swig.org/doc.html has lots of examples. But for SIP, all I see > is a reference guide > (http://www.riverbankcom

SIP examples

2007-09-12 Thread Srijit Kumar Bhadra
I am trying to learn SIP (http://www.riverbankcomputing.co.uk/sip/) these days. I do not see any examples similar to SWIG. http://www.swig.org/doc.html has lots of examples. But for SIP, all I see is a reference guide (http://www.riverbankcomputing.com/Docs/sip4/sipref.html). Examples help. Where

Re: compiling sip on vista

2007-07-26 Thread Phil Thompson
On Thursday 26 July 2007 8:42 am, boriq wrote: > Hi, > > I'm trying to compile sip 4.6 on windows vista. > I have Python 2.5 installed in c:\Python25. > I have Qt 4.3.0 installed in c:\Qt\4.3.0 together with MinGW in c: > \MinGW. > I have environment variable PATH set t

compiling sip on vista

2007-07-26 Thread boriq
Hi, I'm trying to compile sip 4.6 on windows vista. I have Python 2.5 installed in c:\Python25. I have Qt 4.3.0 installed in c:\Qt\4.3.0 together with MinGW in c: \MinGW. I have environment variable PATH set to c:\Qt\4.3.0\bin;c:\MinGW\bin And here is what I did: C:\sip-4.6>configure.py

Re: Looking for python SIP/MGCP stacks

2007-01-02 Thread Anthony Baxter
On 1/3/07, Jenny Zhao (zhzhao) <[EMAIL PROTECTED]> wrote: > Thanks Anthony. > > I am wondering where I can get Divmod Sine and Shtoom. Are they open > source ? > > Thanks again > Jenny http://www.google.com/search?q=divmod+sine http://www.google.com/search?q=shtoom -- http://mail.python.org/mailm

RE: Looking for python SIP/MGCP stacks

2007-01-02 Thread Jean-Paul Calderone
On Tue, 2 Jan 2007 09:02:17 -0800, "Jenny Zhao \(zhzhao\)" <[EMAIL PROTECTED]> wrote: >Thanks Anthony. > >I am wondering where I can get Divmod Sine and Shtoom. Are they open >source ? > http://divmod.org/trac/wiki/DivmodSine http://divmod.org/trac/wiki/ShtoomProject Shtoom is LGPL. Sine borro

RE: Looking for python SIP/MGCP stacks

2007-01-02 Thread Jenny Zhao (zhzhao)
: Looking for python SIP/MGCP stacks > I am using python to write a testing tools, currently this tool only > supports skinny protocol. I am planning to add SIP and MGCP support as > well, wondering if you have written these protocol stacks before which > can be leveraged from. There&

Re: Looking for python SIP/MGCP stacks

2006-12-30 Thread Anthony Baxter
> I am using python to write a testing tools, currently this tool only > supports skinny protocol. I am planning to add SIP and MGCP support as well, > wondering if you have written these protocol stacks before which can be > leveraged from. There's two I know of - shtoom and

Looking for python SIP/MGCP stacks

2006-12-29 Thread Jenny Zhao (zhzhao)
Hi Python users, I am using python to write a testing tools, currently this tool only supports skinny protocol. I am planning to add SIP and MGCP support as well, wondering if you have written these protocol stacks before which can be leveraged from. thanks Jenny -- http://mail.python.org

Re: Which one is better for me , SIP or SWIG ?

2006-11-18 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb: > Hi all, > > I am going to generate a python wrapper of a C library, and I am > wondering which one is a better tool for me, SIP or SWIG ? > > SWIG supports many scripting languages such as python, ruby, and perl, > while SIP is specific to pyt

Which one is better for me , SIP or SWIG ?

2006-11-17 Thread [EMAIL PROTECTED]
Hi all, I am going to generate a python wrapper of a C library, and I am wondering which one is a better tool for me, SIP or SWIG ? SWIG supports many scripting languages such as python, ruby, and perl, while SIP is specific to python, so I think maybe SIP is more suitable to generate better

ANN: SIP v4.5 Released

2006-11-05 Thread Phil Thompson
Riverbank Computing is pleased to announce the release of SIP v4.5 available from http://www.riverbankcomputing.co.uk/sip/. SIP is a tool for generating Python modules that wrap C or C++ libraries. It is similar to SWIG. It is used to generate PyQt and PyKDE. Full documentation is available

ANN: SIP v4.4 Released

2006-03-25 Thread Phil Thompson
Riverbank Computing is pleased to announce the release of SIP v4.4 available from http://www.riverbankcomputing.co.uk/sip/. SIP is a tool for generating Python modules that wrap C or C++ libraries. It is similar to SWIG. It is used to generate PyQt and PyKDE. Full documentation is available

ANN: SIP v4.3 Released

2005-09-04 Thread Phil Thompson
Riverbank Computing is pleased to announce the release of SIP v4.3 available from http://www.riverbankcomputing.co.uk/sip/. SIP is a tool for generating Python modules that wrap C or C++ libraries. It is similar to SWIG. It is used to generate PyQt and PyKDE. Full documentation is available

Re: [PyKDE] Static (why?) PyDateTimeAPI and SIP

2005-06-18 Thread Gerard Vermeulen
On Sat, 18 Jun 2005 19:52:20 +0400 "Denis S. Otkidach" <[EMAIL PROTECTED]> wrote: > I use datetime C API in extension module generated with SIP. But SIP > break the code into several .cpp files compiled separately and > PyDateTimeAPI used by all macros constituting publi

Static (why?) PyDateTimeAPI and SIP

2005-06-18 Thread Denis S. Otkidach
I use datetime C API in extension module generated with SIP. But SIP break the code into several .cpp files compiled separately and PyDateTimeAPI used by all macros constituting public interface is declared static. The current solution is to define my own functions in main module as workaround

Re: Newbie: SWIG or SIP?

2005-02-10 Thread Grant Edwards
On 2005-02-10, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Phil Thompson wrote: >>> I have a third-party DLL and it's associated .h file. The DLL >>> was written in C. I have neither the associated .c files nor >>> the .obj files for the DLL. Can I us

Re: Newbie: SWIG or SIP?

2005-02-10 Thread suryaprakashg
t; > DLL. Can I use SWIG or SIP to build something that will allow me to use > > the > > DLL with Python? And what is that something, an .obj file, another DLL or > > what? > > Yes, you can use either SWIG or SIP. C (as opposed to C++) support was > added with SIP v4.

Re: Newbie: SWIG or SIP?

2005-02-10 Thread Phil Thompson
> I have a third-party DLL and it's associated .h file. The DLL was written > in C. I have neither the associated .c files nor the .obj files for the > DLL. Can I use SWIG or SIP to build something that will allow me to use > the > DLL with Python? And what is that som

Re: Newbie: SWIG or SIP?

2005-02-09 Thread Peter Hansen
Larry Bates wrote: You can call the .DLL file by using a solution I wrote (and donated) some time ago. It is located here: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146847 You will need calldll.pyd available here: http://www.nightmare.com/software.html While calldll works for this (a

Re: Newbie: SWIG or SIP?

2005-02-09 Thread Caleb Hattingh
he .obj files for the DLL. Can I use SWIG or SIP to build something that will allow me to use the DLL with Python? And what is that something, an .obj file, another DLL or what? Brent -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie: SWIG or SIP?

2005-02-09 Thread Larry Bates
as written in C. I have neither the associated .c files nor the .obj files for the DLL. Can I use SWIG or SIP to build something that will allow me to use the DLL with Python? And what is that something, an .obj file, another DLL or what? Brent -- http://mail.python.org/mailman/listinfo/python-list

Newbie: SWIG or SIP?

2005-02-09 Thread Brent W. Hughes
I have a third-party DLL and it's associated .h file. The DLL was written in C. I have neither the associated .c files nor the .obj files for the DLL. Can I use SWIG or SIP to build something that will allow me to use the DLL with Python? And what is that something, an .obj file, an

Re: example needed: sip + Qt

2005-01-28 Thread Phil Thompson
So have you created the library you are trying to wrap? The documentation is describing how to wrap a library and describes a fictional library as the basis for the example. Phil On Friday 28 January 2005 11:02 pm, Uwe Mayer wrote: > Friday 28 January 2005 23:39 pm Uwe Mayer wrote: > > Friday 2

Re: example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
Saturday 29 January 2005 00:23 am Phil Thompson wrote: > So have you created the library you are trying to wrap? The documentation > is describing how to wrap a library and describes a fictional library as > the basis for the example. No, the extracts from before are from the code example of the

Re: example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
Friday 28 January 2005 23:39 pm Uwe Mayer wrote: > Friday 28 January 2005 23:18 pm Uwe Mayer wrote: >> Traceback (most recent call last): >> File "", line 1, in ? >> ImportError: ./hello.so: undefined symbol: _ZTV5Hello >> >> $ c++filt _ZTV5Hello >> vtable for Hello >> >> The compilation did n

Re: example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
Friday 28 January 2005 23:18 pm Uwe Mayer wrote: > Traceback (most recent call last): > File "", line 1, in ? > ImportError: ./hello.so: undefined symbol: _ZTV5Hello > > $ c++filt _ZTV5Hello > vtable for Hello > > The compilation did not give any warnings or error messages. Any ideas? $ ldd -d

Re: example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
On Friday 28 January 2005 14:24 pm, Craig Ringer wrote: > Out of curiosity, would this be for an extension module used in an > embedded Python interpreter, or for plain extension module for use with > a standalone interpreter? I am writing an application program using Python and PyQt: https://sava

Re: example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
On Friday 28 January 2005 14:47 pm, Phil Thompson wrote: > > The QLabel example in the SIP reference manual yields syntax errors for > > me. > > What syntax errors? If there is a documentation bug then I'll fix it. I'll come to that a little later, that happened in

Re: example needed: sip + Qt

2005-01-28 Thread Phil Thompson
> Hi, > > can someone provide me with a running example for subclassing QWidget (or > something similarly simple) in C++ and then creating SIP (4.x+) bindings > for in for Python (2.3+)? > > I am looking for something I can start of with and work my way towards > more >

Re: example needed: sip + Qt

2005-01-28 Thread Craig Ringer
On Fri, 2005-01-28 at 13:30 +0100, Uwe Mayer wrote: > Hi, > > can someone provide me with a running example for subclassing QWidget (or > something similarly simple) in C++ and then creating SIP (4.x+) bindings > for in for Python (2.3+)? Out of curiosity, would this be for an e

example needed: sip + Qt

2005-01-28 Thread Uwe Mayer
Hi, can someone provide me with a running example for subclassing QWidget (or something similarly simple) in C++ and then creating SIP (4.x+) bindings for in for Python (2.3+)? I am looking for something I can start of with and work my way towards more complicated stuff (with Qt). The QLabel