[MacPorts] #28664: qgis @1.6.0: ImportError: No module named sipconfig
MacPorts
noreply at macports.org
Mon Mar 7 01:44:33 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 vince@…):
{{{$ ls -l /opt/local/bin/python
lrwxr-xr-x 1 root admin 18B 2 jui 2010 /opt/local/bin/python ->
/usr/bin/python2.6
}}}
This is plain wrong. It means that one of your python has somehow been
installed not in the Macports tree, but in the system tree. As you see,
when you invoke python via {{{python}}} you get another version that when
you type {{{/opt/local/bin/python2.6}}}. Besides, there is no need to use
{{{sudo}}} to launch executables; on the contrary, it defeats the
superuser protection mechanism. You must clean that before going on.
--
Ticket URL: <https://trac.macports.org/ticket/28664#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list