PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Monday the 7th of July, 2014

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[04:59:21] <glyph> kgadek: You want pyenv, not virtualenv
[04:59:23] <glyph> Or maybe both.
[12:36:06] <mitsuhiko> wtf is cheesecake_code_kwalitee_id?
[12:36:27] <mitsuhiko> worse. when you google it you find a tweet of mine from 4 years ago which asks the same question
[12:40:39] <xafer> soon you'll also find it in this channel's log history
[13:09:13] <hashar> grep the code! https://github.com/search?p=3&q=cheesecake_code_kwalitee_id&ref=simplesearch&type=Code
[13:22:47] <Somelauw> Hi, I'm trying "pip install oauth2" in a virtual environment, however it tells me "error: could not create '/usr/local/lib/python2.7/dist-packages/oauth2': Permission denied"
[13:23:09] <Somelauw> But I'm running pip in a virtual environment so it shouldn't even touch /usr or anything
[13:25:39] <Naoki> What is output of `pip -V` ?
[13:29:05] <Somelauw> zsh: /home/somelauw/projects/Science Projects/fist_project/bin/pip: bad interpreter: "/home/somelauw/projects/Science: no such file or directory
[13:29:24] <Somelauw> the space is the problem
[13:31:08] <Naoki> $ pip -V
[13:31:36] <Somelauw> and it prints "pip 1.3.1 from /usr/local/lib/python2.7/dist-packages/pip-1.3.1-py2.7.egg (python 2.7)"
[13:31:54] <Naoki> So, your pip is not for virtualenv.
[13:33:24] <Somelauw> I removed the space from the directory name. Now it prints just "pip 1.3.1 from /usr/local/lib/python2.7/dist-packages/pip-1.3.1-py2.7.egg (python 2.7)"
[13:34:04] <Somelauw> So how do i get pip in virtualenv? I thought that was done automatically
[13:34:48] <pf_moore> Somelauw: pip is in the virtualenv, but you need the virtualenv/bin directory on your PATH (before /usr/local)
[13:35:13] <pf_moore> Either set your path manually, or source venv/bin/activate.sh
[13:40:09] <Somelauw> pf_moore: I tried that.
[13:40:25] <Naoki> When using zsh, rehashing may be required
[13:40:32] <Somelauw> It did work, but I had to create my virtual environment again, because virtualenv works with absolute path
[13:40:58] <Naoki> http://virtualenvwrapper.readthedocs.org/en/latest/tips.html#updating-cached-path-entries
[13:41:30] <Naoki> rehash is not required when using bash.
[13:42:29] <Somelauw> Naoki: okay, thanks
[14:51:41] <DanielHolth> anyone get a chance to try wheel 0.24.0 and its support for setuptools conditional dependencies?
[15:35:50] <dstufft> mitsuhiko: so a long time ago (before my time) cheesecake was a thing that was supposed to judge the quality of python code
[15:36:15] <dstufft> mitsuhiko: http://pycheesecake.org/
[15:36:36] <dstufft> those things in PyPI like that are left over fro when that was integrated into PyPI
[15:36:57] <mitsuhiko> cool stuff :D