[Eric] error running eric

Detlev Offenbach detlev at die-offenbachs.de
Sun Sep 13 10:49:38 BST 2009


On Sonntag, 13. September 2009, Alexei Gilchrist wrote:
> >> # sudo make install
> >>
> >> cp -f Qsci.so /usr/lib/python2.6/dist-packages/PyQt4/Qsci.so
> >
> > This should be "/usr/lib/python2.6/site-packages/PyQt4/Qsci.so".
> >                                   ^^^^
> 
> Ubuntu switched away from using 'site-package' to using 'dist-package', see
> https://lists.ubuntu.com/archives/ubuntu-devel/2009-February/027439.html

I didn't realize that but it is the same on my system. However, my Kubuntu 
9.04 properly imports Qsci and all the other PyQt4 stuff.

> 
> In any case, I've tried
> /usr/lib/python2.6/dist-packages/PyQt4/
> /usr/lib/python2.6/site-packages/PyQt4/
> /usr/local/lib/python2.6/dist-packages/PyQt4/
> 
> without avail.
> 
> Finally adding a path config file by hand:
> # cat /usr/lib/python2.6/dist-packages/Qsci.pth
> PyQt4
> 
> means python can now find the module but now I get
> 
> # python
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> 
> >>> import Qsci
> 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> SystemError: dynamic module not initialized properly
> 
> Is there some other path I need to set?
> 
> cheers,
> 
> Alexei
> 


-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list