[MacPorts] #28664: qgis @1.6.0: ImportError: No module named sipconfig

MacPorts noreply at macports.org
Mon Mar 7 07:09:52 PST 2011


#28664: qgis @1.6.0: ImportError: No module named sipconfig
----------------------------------+-----------------------------------------
 Reporter:  barthelemy@…          |       Owner:  vince@…           
     Type:  defect                |      Status:  new               
 Priority:  Normal                |   Milestone:                    
Component:  ports                 |     Version:  1.9.2             
 Keywords:                        |        Port:  qgis              
----------------------------------+-----------------------------------------

Comment(by barthelemy@…):

 Replying to [comment:8 vince@…]:
 > What is wrong is that {{{ /opt/local/bin/python }}}
 > should not be pointing to {{{ /usr/bin/python }}},
 > but {{{ /opt/local/bin/python2.6 }}}. Try using
 > {{{ python_select python2.6 }}}, it should clean up
 > and give you a correct configuration.

 I think this would be a workaround, but not a solution.

 Have you some authoritative documentation supporting that
 my current setup is wrong or incorrect? (I could not find
 any).

 My current setup is python_select's default so I doubt it
 is wrong.

 Moreover, the point of python_select is to choose the current,
 system-wide python version. I may prefer or need python32 or
 python25, and qgis would then fail again.

 I think the problem lies within qgis which should
 1) build-depend on py26-sip (why is not sip a dependency?)
 2) call the good python version without relying on users' tastes

 Does it sound ok to you?

-- 
Ticket URL: <https://trac.macports.org/ticket/28664#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list