[MacPorts] #38342: py-pyside: cannot import PySide module

MacPorts noreply at macports.org
Sat Mar 9 17:21:04 PST 2013


#38342: py-pyside: cannot import PySide module
------------------------+---------------------
  Reporter:  tim@…      |      Owner:  mmoll@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.3
Resolution:             |   Keywords:
      Port:  py-pyside  |
------------------------+---------------------

Comment (by tim@…):

 Hi.
 It is my intention and belief that I am using MacPorts python v2.7
 Other modules I've added work fine as far as I can tell.

 However, I am not using the the binary in /opt/local/bin/python2.7

 I have relied on port --select

 Am I doing something wrong? Apart from pyside, python works fine.

 For example

 {{{

 import sip
 }}}


 gives no errors; the module loads. It seems to me there is something
 broken specifically for pyside.




 here are some diagnostics


 {{{
 churchill:doc tim$ which python
 /Library/Frameworks/Python.framework/Versions/2.7/bin/python
 churchill:doc tim$ port select --list python
 Available versions for python:
         none
         python25-apple
         python26-apple
         python27 (active)
         python27-apple

 churchill:doc tim$ sudo port install python27
 Password:
 --->  Computing dependencies for python27
 --->  Cleaning python27
 --->  Scanning binaries for linking errors: 100.0%
 --->  No broken files found.

 and an extract from port list instaled

 py-pyside                      @1.1.2          python/py-pyside
 py27-cairo                     @1.10.0         python/py-cairo
 py27-distribute                @0.6.35         python/py-distribute
 py27-distribute                @0.6.35         python/py-distribute
 py27-gobject                   @2.28.6         python/py27-gobject
 py27-libxml2                   @2.8.0          python/py-libxml2
 py27-lxml                      @2.3.2          python/py-lxml
 py27-nose                      @1.2.1          python/py-nose
 py27-numpy                     @1.6.2          python/py-numpy
 py27-pygtk                     @2.24.0         python/py-pygtk
 py27-pyqt4                     @4.10.0         python/py-pyqt4
 py27-pyside                    @1.1.2          python/py-pyside
 py27-shiboken                  @1.1.2          python/py-shiboken
 py27-sip                       @4.14.4         python/py-sip
 python27                       @2.7.3          lang/python27
 python_select                  @0.3            sysutils/python_select
 qt4-mac                        @4.8.4          aqua/qt4-mac
 qt4-mac                        @4.8.4          aqua/qt4-mac
 rarian                         @0.8.1          textproc/rarian
 readline                       @6.2.000        devel/readline

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/38342#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list