[00:36:01] <suz> I have an Anaconda installation on Mac OS X 10.8 that I've been using for a couple of months. It's been fine. Now I want to install virtualenv. I downloaded version 1.9.1 (as recommended by my 'Flask Web Development' book) using curl, unpacked it, and ran 'python virtualenv-1.9.1/virtualenv proj1_env'. Unfortunately, I got a long error message that I can't really sort out.
[00:36:50] <glyph> dstufft: what the heck, man: https://asciinema.org/a/8692
[00:36:56] <suz> It gets as far as 'installing setuptools…..' then I get a long teaceback
[00:40:44] <dstufft> glyph: distutils is real bad, do you have a ~/.pydistutils.cfg or a distutils.cfg in the same folder as distutils.__init__.py
[00:41:00] <dstufft> suz: you're going to need to paste the traceback into a pastebin
[00:41:10] <suz> only it's actually a traceback, and seems to fail on: File "/Users/suz/programming/python/webenv/lib/python2.7/sre_constants.py", line 18, in <module>
[00:43:32] <suz> ok. here's the error http://pastebin.com/2siY6feY
[00:43:50] <dstufft> glyph: cuz my Homebrew has a distutils.cfg in the distutils folder
[00:44:08] <suz> might be something to do with older versions, bad path settings…
[00:44:18] <glyph> dstufft: okay you are going to have to imagine something right now
[00:44:39] <glyph> dstufft: just imagine me staring at you really hard, and there's a vein in my forehead, and it's visibly pulsing, and I'm vibrating a little bit, and my eyes are open as wide as they will go
[00:45:16] <dstufft> glyph: I'm not trying to be unhelpful :| I'm trying to make sure that I sort out the cause properly :|
[00:45:25] <glyph> dstufft: Oh, I'm not mad at _you)_
[00:45:42] <glyph> dstufft: just "why does everyone involved have to make this problem even worse"
[00:45:48] <glyph> dstufft: you're probably right about the cause.
[00:46:28] <glyph> The real problem here is that virtualenvwrapper no longer honors VIRTUALENVWRAPPER_HOOK_DIR on python 3. In fact the entire hook structure when you do -p python3 seems to be completely different, and possibly also completely undocumented?
[00:46:48] <glyph> just more of the quality python3 runtime experience
[00:49:47] <suz> OMG. I got my problems, but at least I'm not bursting a vein with the python3 experience.
[00:49:50] <dstufft> suz: I'm not sure, I don't see anything ther that would cause that, and I don't have an anaconda install handy to repreoduce it
[00:50:24] <dstufft> glyph: that might change if you do -ppython3 instead of -p python
[00:50:45] <dstufft> and if that's the case, you're going to hate the reason why
[00:52:12] <dstufft> glyph: but yea, homebrew sets the prefix option in it's distutils.cfg, and distutils doesn't let you use that with --user, probably we should tell distutils to fuck off and take control of the isntallation more
[00:54:08] <glyph> dstufft: no problem, thanks for your help troubleshooting
[00:56:06] <suz> Thanks for looking. I'll see if I can get some local help on Monday or ask on SO. There's already a nice long list of install / virtualenv questions over there….
[03:17:26] <truedon> I am trying to install Cryptography on Mac OSX and I keep getting this error cffi.ffiplatform.VerificationError: CompileError: command 'llvm-gcc-4.2' failed with exit status 1
[03:20:41] <Alex_Gaynor> truedon: I believe https://github.com/pyca/cryptography/issues/834 describes your issue, and there's a workaround in one of the comments
[03:20:55] <Alex_Gaynor> truedon: If you paste teh full traceback I can make sure it's teh same issue though
[03:21:10] <truedon> Alex_Gaynor: ok mate nice one, paste where?
[03:21:28] <Alex_Gaynor> The one in the topc (dpaste.de) works well enough
[03:22:17] <truedon> Alex_Gaynor: ah here http://pastebin.com/imRrQxWi
[03:22:46] <Alex_Gaynor> truedon: what version of OS X do you have?
[03:29:28] <Alex_Gaynor> truedon: I'm not sure what to tell you, other than this looks like somehow it's a pip bug that it's trying to instlal the oolder version, even after you get the newer one :/
[03:30:27] <truedon> Alex_Gaynor: so how can I get around this, I need to install Scrapy
[03:30:51] <reaperhulk> What version of pip are you running truedon? I'm trying to replicate here and haven't been able to
[03:34:03] <reaperhulk> In a clean venv with pip 1.5.4? :/
[03:34:51] <truedon> reaperhulk: yeh I updated in a clean venv, now checking the cryptography is installed with pip list and it doesn't show in the list...
[03:35:05] <Alex_Gaynor> I think we need dstufft for this :/
[03:35:12] <truedon> so looks like cryptography>=0.3 wasn't working an just exiting silently
[03:35:29] <reaperhulk> Yeah I'm out of my depth. Only other thing I could think to ask is what setuptools are you running
[03:35:36] <reaperhulk> That might be worth an upgrade
[10:46:02] <ronny> dstufft: is there any way to install wheels/packages into a custom named directory instead of the normal python prefix/virtualenv - im trying to figure a way to have soemthign like a folder full of eggs, and a pth in the virtualenv
[21:41:04] <ronny> jaraco: im pondering having something where i put multiple verisons of packages int oa direcory, then just have venvs refer to specific files for their imports
[21:41:51] <jaraco> sounds a lot like multi-installed eggs
[21:42:08] <jaraco> I imagine that would be useful.
[21:42:23] <ronny> jaraco: yeah, expect i dont wnat a dynamic/smart workingset, i jsut want a repo, and refer to specific packages in a specific env
[21:43:54] <jaraco> I don't grasp the distinction.
[21:44:36] <ronny> jaraco: with pkg_resources the workingset was dtnamically configurable including multiple versions for a python
[21:50:10] <ronny> dstufft: in my inderstanding it doesnt matter that much where a package is imported from as long as the set of packages per env cant change without user intervention
[21:50:30] <dstufft> ronny: because a signifcant portion of Wheels just won't work that way
[21:50:45] <dstufft> because they have C exts or because they use __file__ consructs
[21:51:24] <ronny> dstufft: well, im fine with them requiring a extra option which declares them importable
[21:53:07] <ronny> dstufft: and the unsafe ones could just be extracted to the repository instead of being stored there as whl
[21:55:55] <ronny> dstufft: but for stuff like a setup_requires those could be ideal
[21:56:05] <ronny> same goes for webapp deployments