[pyar] PYTHONPATH y sys.path

Roberto Alsina ralsina en netmanagers.com.ar
Lun Mar 28 22:16:14 ART 2011


On 3/28/2011 10:03 PM, Manuel Kaufmann wrote:
> ¿Porqué no aparece la ruta del virtualenvwrapper en el servidor?
$ PYTHONPATH=/tmp
$ echo $PYTHONPATH
/tmp
$ python -c "import sys; print sys.path[:1]"
['','/usr/lib/python2.7']

$ export PYTHONPATH=/tmp
$ echo $PYTHONPATH
/tmp
$ python -c "import sys; print sys.path[:1]"
['','/tmp']

Saludos!



More information about the pyar mailing list