Re: Python environment on mac

2016-07-27 Thread Crane Ugly
Yep, I agree. virtualenv is the best way to go so far. It solves my wishes to use python completely without root access too. Thank's a lot. Leonid -- https://mail.python.org/mailman/listinfo/python-list

Re: Python environment on mac

2016-07-26 Thread Cameron Simpson
On 26Jul2016 06:52, Crane Ugly wrote: Mac OS X comes with its own version of python and structure to support it. So far it was good enough for me. Then I started to use modules that distributed through MacPorts and this is where I get lost. I do not quite understand how Python environment is se

Re: Python environment on mac

2016-07-26 Thread CFK
There are two variables you will need to set; PATH and PYTHONPATH. You set your PYTHONPATH correctly, but for executables like pip, you need to set the PATH as well. You MUST do that for each account! The reason it didn't work as root is because once you su to root, it replaces your PYTHONPATH and