[Qgis-developer] Force QGIS to use a different version of Python in Snow Leopard

2013-08-06 Thread Jorge Arevalo
Hello, I'm using QGIS 1.8.0 for Snow Leopard, downloaded from KingChaos wiki (http://www.kyngchaos.com/software/qgis). Once I open QGIS plugin console, I can see QGIS is using Snow Leopard's default Python (2.6.1). At the same time, I've installed Python 2.7.5 and some packages I need, like

Re: [Qgis-developer] Force QGIS to use a different version of Python in Snow Leopard

2013-08-06 Thread William Kyngesburye
You can't. QGIS includes its own python interpreter and links directly to the Python framework. This ties it to a specific version and distribution (ie system Python 2.6). You either need to compile your own QGIS to use the other python, or install scipy for the system python. I'm working

Re: [Qgis-developer] Force QGIS to use a different version of Python in Snow Leopard

2013-08-06 Thread Jorge Arevalo
Many thanks for your response, William. It's curious, because I've installed scipy 0.12 for system Python from command line, but QGIS can't detect it. So, if I execute this from command line: python2.6 import scipy scipy.version.version I see 0.12 as version number. But from QGIS plugins --

Re: [Qgis-developer] Force QGIS to use a different version of Python in Snow Leopard

2013-08-06 Thread William Kyngesburye
Where did you get this Scipy? If it's from Scipy, then it is NOT for the system Python, and you probably installed Python 2.6 (as well as 2.7) from Python.org. I don't know of anyone else building a Scipy for the system python, or I wouldn't bother myself. Same version of Python does not

Re: [Qgis-developer] Force QGIS to use a different version of Python in Snow Leopard

2013-08-06 Thread Jorge Arevalo
On Tue, Aug 6, 2013 at 8:23 PM, William Kyngesburye wokl...@kyngchaos.com wrote: Where did you get this Scipy? If it's from Scipy, then it is NOT for the system Python, and you probably installed Python 2.6 (as well as 2.7) from Python.org. I don't know of anyone else building a Scipy for

Re: [Qgis-developer] Force QGIS to use a different version of Python in Snow Leopard

2013-08-06 Thread William Kyngesburye
On Aug 6, 2013, at 2:10 PM, Jorge Arevalo wrote: On Tue, Aug 6, 2013 at 8:23 PM, William Kyngesburye wokl...@kyngchaos.com wrote: Where did you get this Scipy? If it's from Scipy, then it is NOT for the system Python, and you probably installed Python 2.6 (as well as 2.7) from Python.org.

Re: [Qgis-developer] Force QGIS to use a different version of Python in Snow Leopard

2013-08-06 Thread Jorge Arevalo
On Tue, Aug 6, 2013 at 9:27 PM, William Kyngesburye wokl...@kyngchaos.com wrote: On Aug 6, 2013, at 2:10 PM, Jorge Arevalo wrote: On Tue, Aug 6, 2013 at 8:23 PM, William Kyngesburye wokl...@kyngchaos.com wrote: Where did you get this Scipy? If it's from Scipy, then it is NOT for the system