[MacPorts] #31375: py27-pyqwt does not work anymore
#31375: py27-pyqwt does not work anymore ----------------------------------+----------------------------------------- Reporter: arne.schmitz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-pyqwt ----------------------------------+----------------------------------------- I cannot use pyqwt anymore. When I run my program, I get this: Traceback (most recent call last): File "./myprogram.py", line 20, in <module> from PyQt4 import QtCore, QtGui, QtOpenGL, uic, Qwt5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/PyQt4/Qwt5/__init__.py", line 32, in <module> from Qwt import * RuntimeError: the PyQt4.QtCore module is version 1 but the PyQt4.Qwt5.Qwt module requires version -1 -- Ticket URL: <https://trac.macports.org/ticket/31375> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31375: py27-pyqwt does not work anymore ----------------------------------+----------------------------------------- Reporter: arne.schmitz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-pyqwt ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * cc: macsforever2000@…, michaelld@… (added) Old description:
I cannot use pyqwt anymore. When I run my program, I get this:
Traceback (most recent call last): File "./myprogram.py", line 20, in <module> from PyQt4 import QtCore, QtGui, QtOpenGL, uic, Qwt5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/PyQt4/Qwt5/__init__.py", line 32, in <module> from Qwt import * RuntimeError: the PyQt4.QtCore module is version 1 but the PyQt4.Qwt5.Qwt module requires version -1
New description: I cannot use pyqwt anymore. When I run my program, I get this: {{{ Traceback (most recent call last): File "./myprogram.py", line 20, in <module> from PyQt4 import QtCore, QtGui, QtOpenGL, uic, Qwt5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/PyQt4/Qwt5/__init__.py", line 32, in <module> from Qwt import * RuntimeError: the PyQt4.QtCore module is version 1 but the PyQt4.Qwt5.Qwt module requires version -1 }}} -- Comment: In the future, please Cc the maintainer(s) and use WikiFormatting. What is the output of the following? {{{ port installed qt4-mac py27-pyqwt }}} What version of Mac OS X and Xcode are you running? -- Ticket URL: <https://trac.macports.org/ticket/31375#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31375: py27-pyqwt does not work anymore ----------------------------------+----------------------------------------- Reporter: arne.schmitz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-pyqwt ----------------------------------+----------------------------------------- Comment(by arne.schmitz@…): Thanks, WikiFormatting is a good idea. Also, I would have assumed that the owners are automatically added, since I provided a port name. Concerning: ''What is the output of the following?'' {{{ port installed qt4-mac py27-pyqwt }}} {{{ $ port installed qt4-mac py27-pyqwt The following ports are currently installed: py27-pyqwt @5.2.0_1+qwt52 (active) qt4-mac @4.7.3_0+quartz qt4-mac @4.7.4_0+quartz qt4-mac @4.7.4_1+quartz (active) }}} OS X 10.7.1, XCode 4.1 -- Ticket URL: <https://trac.macports.org/ticket/31375#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31375: py27-pyqwt does not work anymore ----------------------------------+----------------------------------------- Reporter: arne.schmitz@… | Owner: macsforever2000@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-pyqwt ----------------------------------+----------------------------------------- Changes (by jmr@…): * cc: macsforever2000@… (removed) * owner: macports-tickets@… => macsforever2000@… -- Ticket URL: <https://trac.macports.org/ticket/31375#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31375: py27-pyqwt does not work anymore ----------------------------------+----------------------------------------- Reporter: arne.schmitz@… | Owner: macsforever2000@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-pyqwt ----------------------------------+----------------------------------------- Comment(by michaelld@…): In my experience, this error generally means that a dependent library (e.g., qwt) was upgraded but the Python bindings were not recompiled. I find that Python bindings generally need to be rebuilt when a dependent library is modified. I would suggest that you uninstall qwt52 and py27-pyqwt and then (re)install them & see if that works. I have these exact ports installed on 10.6 and they do work (for me), so it's also possible this is a 10.7 build issue. -- Ticket URL: <https://trac.macports.org/ticket/31375#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31375: py27-pyqwt does not work anymore ----------------------------------+----------------------------------------- Reporter: arne.schmitz@… | Owner: macsforever2000@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-pyqwt ----------------------------------+----------------------------------------- Comment(by michaelld@…): There's a new qt4-mac and py27-pyqt4 out, which should fix this issue. Please do a "port selfupdate" and then "upgrade outdated" and then try again. -- Ticket URL: <https://trac.macports.org/ticket/31375#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31375: py27-pyqwt does not work anymore -----------------------------+------------------------------- Reporter: arne.schmitz@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: py27-pyqwt | -----------------------------+------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => fixed Comment: This works for me, so I'm calling this fixed. -- Ticket URL: <https://trac.macports.org/ticket/31375#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts