On 11/07/2014 11:47 AM, Diego Fernandez wrote:
Have you had any success with this?

I'm trying to install Spyder from within pyenv but I can't get pyqt or
pyside to build...


You probably need to have sip and the Qt dev libraries installed.

On Thursday, October 23, 2014 11:01:59 AM UTC-4, Ghislain Vaillant wrote:

    Hello everyone,

    Anyone finding success using Spyder with Pyenv [1] ?

    I can make my system-wide spyder (v2.3.0 on Ubuntu 14.04) use
    the Python interpreter installed via Pyenv, but Spyder will still use
    the system-wide system-site packages rather than the one local to the
    pyenv version.



Why not do something like:

import sys

virt_dir = "/home/aklaver/py_virt/hplc_py27_django16/lib/python2.7/site-packages/"

sys.path.insert(0, virt_dir)

import psycopg2

help(psycopg2)

Help on package psycopg2:

NAME
    psycopg2 - A Python driver for PostgreSQL

FILE

/home/aklaver/py_virt/hplc_py27_django16/lib/python2.7/site-packages/psycopg2/__init__.py




    Can this be done, or must I install spyder from the pyenv and run this
    local spyder instead ?

    Cheers,
    Ghis


    [1] https://github.com/yyuu/pyenv#basic-github-checkout
    <https://github.com/yyuu/pyenv#basic-github-checkout>

--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.


--
Adrian Klaver
[email protected]

--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to