Skip to content

Instantly share code, notes, and snippets.

@offbyone
offbyone / gist:41bcd9d52cdb0bcbcd21
Last active August 29, 2015 14:14
Damned peculiar pip install error
~/projects/ideas • pip install -U pip
Collecting pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-6.0.8-py2.py3-none-any.whl#md5=41e73fae2c86ba2270ff51c1d86f7e09
Using cached pip-6.0.8-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 6.0.6
Uninstalling pip-6.0.6:
Successfully uninstalled pip-6.0.6
Rolling back uninstall of pip
Exception:
### Keybase proof
I hereby claim:
* I am offbyone on github.
* I am offby1 (https://keybase.io/offby1) on keybase.
* I have a public key whose fingerprint is ED93 1098 FE8B D192 1364 F4CB 2B2F 3374 EEC7 E866
To claim this, I am signing this object:
diff -u a/libexec/bin/jython b/libexec/bin/jython
--- a/libexec/bin/jython 2013-09-03 21:37:06.000000000 -0700
+++ b/libexec/bin/jython 2013-09-03 21:44:39.000000000 -0700
@@ -25,19 +25,8 @@
## resolve links - $0 may be a link to home
PRG=$0
-while [ -h "$PRG" ] ; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
#!/bin/zsh -w
# This hook is run after this virtualenv is activated.
# If the virtualenv has a .project file in it then check to see the
# path contained within it exists, and if so collect etags for .py
# files in that path. Also includes etags generated for the
# virtualenv itself—if it finds them. Virtualenv tags are generated
# with the `venvtags` function defined in .zshrc: which should be run
# manually after, for example, installing new requirements. The
# resulting TAGS file is then hooked into the virtualenv by a
[TOX] /Users/offline/projects/tox/tox$ .tox/py27/bin/py.test --junitxml=/Users/offline/projects/tox/tox/.tox/py27/log/junit-py27.xml
============================= test session starts ==============================
platform darwin -- Python 2.7.2 -- pytest-2.2.1
tox comes from: '/Users/offline/projects/tox/tox/tox/__init__.pyc'
collecting ... collected 104 items
tests/test_cmdline.py ....F...............
tests/test_config.py F.F.F.......................................................
tests/test_venv.py ........................
tests/test_cmdline.py ....F...............
tests/test_config.py F.F.F.......................................................
tests/test_venv.py ........................
=================================== FAILURES ===================================
__________________________ TestSession.test_log_pcall __________________________
self = <tests.test_cmdline.TestSession instance at 0x1015327e8>
initproj = <function initproj at 0x10152f230>
tmpdir = local('/tmp/pytest-18/test_log_pcall0')
(openmoo27) ☿ easy_install -U pygame
easy_install -U pygame
Searching for pygame
Reading http://pypi.python.org/simple/pygame/
Reading http://www.pygame.org/
Reading http://www.pygame.org/download.shtml
Best match: pygame 1.9.1release
Downloading http://www.pygame.org/ftp/pygame-1.9.1release.zip
Processing pygame-1.9.1release.zip
Running pygame-1.9.1release/setup.py -q bdist_egg --dist-dir /var/folders/qv/yn6prm294g799l1l52gr5p6r0000gn/T/easy_install-4xSR_i/pygame-1.9.1release/egg-dist-tmp-PIifpb
☿ python
python
Python 2.6.6 (r266:84292, Jun 16 2011, 16:59:16)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pygame.base import *
from pygame.base import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/offline/virtualenv/openmoo/lib/python2.6/site-packages/pygame-1.9.1release-py2.6-macosx-10.7-x86_64.egg/pygame/__init__.py", line 95, in <module>
@offbyone
offbyone / gist:1009054
Created June 5, 2011 15:29
QS crash report
Process: Quicksilver [64357]
Path: /Applications/Quicksilver.app/Contents/MacOS/Quicksilver
Identifier: com.blacktree.Quicksilver
Version: ß60 (3850)
Code Type: X86 (Native)
Parent Process: launchd [180]
Date/Time: 2011-06-05 08:23:40.566 -0700
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6
(clint) ± tox -e jython -- --pdb
_________________________________ [tox sdist] __________________________________
[TOX] ***creating sdist package
[TOX] /Users/offline/projects/PyHamcrest$ /Users/offline/virtualenv/clint/bin/python setup.py sdist --formats=zip --dist-dir .tox/dist >.tox/log/0.log
[TOX] ***copying new sdistfile to '/Users/offline/.tox/distshare/PyHamcrest-1.4.zip'
_____________________________ [tox testenv:jython] _____________________________
[TOX] ***reusing existing matching virtualenv jython
[TOX] /Users/offline/projects/PyHamcrest/.tox/jython/log$ ../bin/pip install --download-cache=/Users/offline/projects/PyHamcrest/.tox/_download ../../dist/PyHamcrest-1.4.zip >9.log
[TOX] /Users/offline/projects/PyHamcrest$ /Users/offline/projects/PyHamcrest/.tox/jython/bin/py.test-jython
Traceback (most recent call last):