Re: How to create development Python environment on Linux.

2016-06-02 Thread Marc Brooks
I am pretty sure (but not 100%) that the pip that virtualenv installs when it first creates the virtualenv is the version of pip installed on the system. Here's the process I used to bootstrap a new Python 2.7 dev environment. 1. Download and install the latest version of pip as sudo so it's syst

Re: How to create development Python environment on Linux.

2016-06-01 Thread Lawrence D’Oliveiro
On Tuesday, May 17, 2016 at 4:26:23 AM UTC+12, Zachary Ware wrote: > Not what you asked for, but I would encourage you to look into whether > it's possible for you to use Python 3 instead of Python 2 for what > you're doing. If it's possible, starting with Python 3 will save you > several headache

Re: How to create development Python environment on Linux.

2016-05-17 Thread Zachary Ware
On Mon, May 16, 2016 at 4:28 PM, wrote: > Thanks Zach, that's a big help. The only reason I want to get a Python 2.7 > environment working first is because I'll be working on third party code and > that's the platform it uses. For any new projects I would use Python 3. Fair enough :) > After

Re: How to create development Python environment on Linux.

2016-05-16 Thread Michael Selik
On Mon, May 16, 2016 at 5:31 PM wrote: > After considering your guidance I think what I will do is install > virtualenv using apt-get and then use that to create a dev environment. Is > it ok to run get-pip.py in a virtual environment? > Recent versions of the virtualenv application create virtu

Re: How to create development Python environment on Linux.

2016-05-16 Thread redirect . null
Thanks Zach, that's a big help. The only reason I want to get a Python 2.7 environment working first is because I'll be working on third party code and that's the platform it uses. For any new projects I would use Python 3. After considering your guidance I think what I will do is install virtua

Re: How to create development Python environment on Linux.

2016-05-16 Thread Zachary Ware
On Mon, May 16, 2016 at 6:22 AM, wrote: > I have a Linux system (Mint 17.3 based in Ubuntu 14.04) on which I wish to do > some Python development. The system has Python 2.7.6 installed already (there > is a Python 3 installation too but I won't be needing to use that to start > with). Not wha

Re: How to create development Python environment on Linux.

2016-05-16 Thread redirect . null
Rereading this through I notice I'm a bit vague on one point. In Point 2. User install site.py behaviour confusing, one of the things that confuses me is that the documentation for site.py here https://docs.python.org/2/library/site.html ...states (in bold) that 'This module is automatically im

How to create development Python environment on Linux.

2016-05-16 Thread redirect . null
I have a Linux system (Mint 17.3 based in Ubuntu 14.04) on which I wish to do some Python development. The system has Python 2.7.6 installed already (there is a Python 3 installation too but I won't be needing to use that to start with). I need to install various Python modules for the work I'm