Skip to content

Instantly share code, notes, and snippets.

@Industrial
Created May 11, 2012 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Industrial/7e427f59131223bc64c6 to your computer and use it in GitHub Desktop.
Save Industrial/7e427f59131223bc64c6 to your computer and use it in GitHub Desktop.
web315:industrial ~
$ python --version
Python 2.7.1
web315:industrial ~
$ pip --version
pip 1.1 from /home/industrial/lib/python2.4/pip-1.1-py2.4.egg (python 2.4)
web315:industrial ~
$ pip install django
Downloading/unpacking django
Running setup.py egg_info for package django
Traceback (most recent call last):
File "<string>", line 14, in ?
File "/home/industrial/build/django/setup.py", line 69, in ?
version = __import__('django').get_version()
File "django/__init__.py", line 15
parts = 2 if version[2] == 0 else 3
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in ?
File "/home/industrial/build/django/setup.py", line 69, in ?
version = __import__('django').get_version()
File "django/__init__.py", line 15
parts = 2 if version[2] == 0 else 3
^
SyntaxError: invalid syntax
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /home/industrial/build/django
Storing complete log in /home/industrial/.pip/pip.log
web315:industrial ~
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment