[00:10:21] <elestud> hello -- does anyone know the recommended procedure for using pip to install modules that require the python development headers? I have Python installed on the system from source, but since pip installs it's own version, it won't read them
[00:11:33] <elestud> ack sorry -- pip under virtualenv, rather
[01:05:14] <tdsmith> elestud: of what does pip install its own version?
[01:09:27] <tdsmith> the shebangs that distutils and/or pip write point to the interpreter which was used to install the package
[01:10:12] <tdsmith> i'm guessing one of the commands you ran actually 'belonged' to the system python
[01:10:13] <tdsmith> you can always invoke pip like `/path/to/python -m pip install my_package` to be very specific about which interpreter should do the installing
[01:10:27] <elestud> so I'm trying to figure out which command that would have been
[01:10:36] <elestud> setuptools was installed with the new interpreter
[01:10:48] <elestud> and pip was installed with setuptools easy_install command
[01:11:05] <elestud> maybe easy_install defaults to the system version of python?
[01:12:34] <tdsmith> you can look at its shebang the same way we looked at virtualenv
[01:12:42] <elestud> ok, the easy_install shebang is correct
[01:14:25] <tdsmith> if you find yourself doing this in the future, you can download and execute https://bootstrap.pypa.io/get-pip.py to get pip and setuptools in one fell swoop. if you're building 2.7.9+, you can also run python -m ensurepip
[01:15:51] <elestud> ok, I've gone over everything again -- and the shebangs for easy_install and pip point to the old version of python
[01:16:07] <elestud> I'm trying to figure out how that's possible though, since I installed setuptools with the newer interpreter
[01:21:12] <tdsmith> dunno what happened then; how'd you install setuptools?
[01:22:33] <elestud> I installed setuptools from source, using the newer version of python to run setup.py install
[01:35:10] <tdsmith> if you just ran "python" maybe your shell didn't realize you had a new python earlier in the path and needed to be rehashed? ¯\_(ツ)_/¯ dunno, sorry
[01:53:44] <elestud> tdsmith: I'm retracing the install steps in a new VM now to try to discern where things went wrong
[12:56:28] <nedbat> requires.io will look for req*.txt files, or req*.pip files. I like the .pip extension, since these aren't actually text in the first place. Is there a reason (other than unfamiliarity) to not call my file requirements.pip ?