Hi Tom,
That fixed PyQwt. Then did a cmake, make, sudo make install of all gnuradio
sucessfully.
When I try to run a flowgraph, the error in the GRC console window is:
Traceback (most recent call last):
File "/home/tom/Desktop/top_block.py", line 16, in <module>
import PyQt4.Qwt5 as Qwt
ImportError: No module named Qwt5
looking at the packages *qwt*
$ dpkg -l '*qwt*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii libqwt-dev 6.0.0-1.2 amd64 Qt widgets library for technical
rc libqwt5-qt4 5.2.3-1 amd64 Qt4 widgets library for technical
un libqwt5-qt4-de <none> (no description available)
ii libqwt6 6.0.0-1.2 amd64 Qt widgets library for technical
un libqwtplot3d-q <none> (no description available)
ii libqwtplot3d-q 0.2.7+svn191 amd64 3D plotting library based on Qt4/
ii libqwtplot3d-q 0.2.7+svn191 amd64 3D plotting library based on Qt4/
un python-qwt3d-q <none> (no description available)
un python-qwt5-qt <none> (no description available)
-- Tom
________________________________
From: Tom Rondeau <t...@trondeau.com>
To: Tom McDermott <tom.mcdermo...@yahoo.com>
Cc: "discuss-gnuradio@gnu.org" <discuss-gnuradio@gnu.org>
Sent: Thursday, November 7, 2013 12:35 PM
Subject: Re: [Discuss-gnuradio] Ubuntu 13.10 (Saucy Salamander)
On Thu, Nov 7, 2013 at 3:31 PM, Tom McDermott <tom.mcdermo...@yahoo.com> wrote:
> Hi Tom - OK, that got PyQt to install...
>
> Now install of PyQwt fails:
>
> ./configure.py -Q ../qwt-5.2
> --module-install-path=/opt/qt/lib/python2.7/dist-packages/PyQt4/Qwt5
>
> produces
>
> sip: Deprecation warning: ../sip/qwt5qt4/QwtModule.sip:32: %Module version
> number should be specified using the 'version' argument
> sip: Unable to find file "QtCore/QtCoremod.sip"
> SIP failed to generate the C++ code.
>
> -- Tpm
Ah, ok. This is why we have to install PyQT ourselves and can't rely
on the Ubuntu-installed code. That QtCoremod.sip file is installed
when we install PyQT. My guess is that you have to set up the
environmental variables before trying to configure PyQWT. I updated
the webpage to do this before anything else, so go and look at the new
order of instructions and see if that helps.
I think I did this myself and then wrote up the description out of
order because I thought it made more logical sense. Hopefully this
does it for you.
Tom
> ________________________________
> From: Tom Rondeau <t...@trondeau.com>
> To: Tom McDermott <tom.mcdermo...@yahoo.com>
> Cc: GNURadio Discussion List <discuss-gnuradio@gnu.org>
> Sent: Thursday, November 7, 2013 12:11 PM
> Subject: Re: [Discuss-gnuradio] Ubuntu 13.10 (Saucy Salamander)
>
> On Thu, Nov 7, 2013 at 3:07 PM, Tom Rondeau <t...@trondeau.com> wrote:
>> On Thu, Nov 7, 2013 at 3:01 PM, Tom McDermott <tom.mcdermo...@yahoo.com>
>> wrote:
>>> Hi Tom, thanks for your effort.
>>>
>>> At the step where PyQt 4.10.3 is installed,
>>>
>>> python configure.py -b /opt/qt/bin -d /opt/qt/lib/python2.7/dist-packages
>>> -v
>>> /opt/qt/share/sip
>>>
>>>
>>> The command does many steps then errors out with:
>>> sh: 1: /usr/bin/sip: not found
>>> Error: Unable to create the C++ code.
>>>
>>> -- Tom
>>
>> Ah, kind of a formatting flaw on my part. I snuck this package into
>> the apt-get line above acting like everyone would start from scratch.
>>
>> You have to install the python-sip package:
>> $ sudo apt-get install python-sip
>>
>> I've updated the webpage to make this clear.
>>
>> Tom
>
> Just to be on the safe side, I also added the package "python-sip-dev"
> which might be the one that actually installs the sip binary. I have
> both on all of the instances that I tried this on.
>
>
> Tom
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio