万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    prefixでPythonをインストールしたときのmkvirtualenvのバージョン指定コマンド

    Pythonのインストールを以下でやった場合

    ./configure  --prefix=/opt/python3.3.0

    このように指定

    mkvirtualenv --python=/opt/python3.3.0/bin/python3.3 django_app

    っと思ったらpython3.3にはeasy_installがないからできない??

    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/auth/management/__init__.py", line 57
        print "Adding permission '%s'" % obj
                                     ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/comments/views/comments.py", line 69
        except (ValueError, ValidationError), e:
                                            ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/contenttypes/management.py", line 42
        print "Adding content type '%s | %s'" % (ct.app_label, ct.model)
                                            ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/formtools/wizard/storage/__init__.py", line 13
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/db/backends/base.py", line 167
        except Exception, msg:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/db/backends/oracle/introspection.py", line 19
        except Exception, msg:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/db/backends/postgis/operations.py", line 110
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/db/backends/spatialite/base.py", line 59
        except Exception, msg:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/db/backends/spatialite/creation.py", line 27
        print "Creating test database for alias '%s'%s..." % (self.connection.alias, test_db_repr)
                                                         ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/db/backends/spatialite/operations.py", line 125
        except Exception, msg:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/gdal/tests/test_ds.py", line 62
        print "\nBEGIN - expecting out of range feature id error; safe to ignore.\n"
                                                                                   ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/gdal/tests/test_geom.py", line 237
        print "\nBEGIN - expecting IllegalArgumentException; safe to ignore.\n"
                                                                              ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/geometry/backend/__init__.py", line 9
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/geos/tests/test_geos.py", line 137
        print "\nBEGIN - expecting GEOS_ERROR; safe to ignore.\n"
                                                                ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/management/commands/ogrinspect.py", line 90
        except gdal.OGRException, msg:
                                ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/tests/test_measure.py", line 67
        except TypeError, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/utils/layermapping.py", line 433
        except Exception, msg:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/gis/utils/ogrinfo.py", line 25
        print "data source : %s" % data_source.name
                               ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/localflavor/hr/forms.py", line 22
        plate_re = re.compile(ur'^(?P<prefix>[A-ZČŠŽ]{2})' + \
                                                            ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/localflavor/mk/forms.py", line 25
        regex = ur'(^[A-Z]{1}\d{7}$)|(^\d{4,7}$)'
                                                ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/localflavor/mx/forms.py", line 69
        zip_code_re = ur'^(0[1-9]|[1][0-6]|[2-9]\d)(\d{3})$'
                                                           ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/markup/tests.py", line 90
        except AssertionError, e:
                             ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/messages/storage/__init__.py", line 18
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/sessions/backends/file.py", line 93
        except OSError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/sites/management.py", line 21
        print "Creating example.com Site object"
                                               ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/staticfiles/finders.py", line 263
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/contrib/staticfiles/handlers.py", line 59
        except Http404, e:
                      ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/cache/__init__.py", line 176
        except (AttributeError, ImportError), e:
                                            ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/files/move.py", line 82
        except OSError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/files/storage.py", line 169
        except OSError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/files/uploadedfile.py", line 78
        except OSError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/files/uploadhandler.py", line 207
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/handlers/base.py", line 46
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/mail/__init__.py", line 33
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/mail/backends/filebased.py", line 28
        except OSError, err:
                      ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/management/__init__.py", line 54
        except ImportError,e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/management/base.py", line 218
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/management/commands/createcachetable.py", line 57
        except DatabaseError, e:
                            ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/management/commands/dumpdata.py", line 114
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/management/commands/flush.py", line 58
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/management/commands/loaddata.py", line 197
        except (DatabaseError, IntegrityError), e:
                                              ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/management/commands/reset.py", line 52
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/management/commands/runserver.py", line 112
        except WSGIServerException, e:
                                  ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/management/commands/syncdb.py", line 41
        except ImportError, exc:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/management/sql.py", line 173
        statement = re.sub(ur"--.*([\n\Z]|$)", "", statement)
                                            ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/management/templates.py", line 85
        except OSError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/serializers/json.py", line 45
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/serializers/pyyaml.py", line 60
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/servers/basehttp.py", line 55
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/servers/fastcgi.py", line 85
        print FASTCGI_HELP
                         ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/signing.py", line 79
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/urlresolvers.py", line 301
        except Resolver404, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/core/validators.py", line 64
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/backends/creation.py", line 29
        return '%x' % (abs(hash(args)) % 4294967296L)  # 2**32
                                                   ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/backends/mysql/base.py", line 14
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/backends/oracle/base.py", line 21
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/backends/oracle/creation.py", line 65
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/backends/postgresql_psycopg2/base.py", line 23
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/backends/sqlite3/base.py", line 27
        except ImportError, e1:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/backends/sqlite3/creation.py", line 53
        print "Destroying old test database '%s'..." % self.connection.alias
                                                   ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/models/base.py", line 804
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/models/fields/__init__.py", line 155
        except exceptions.ValidationError, e:
                                         ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/models/query.py", line 208
        except self.model.DoesNotExist, e:
                                      ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/models/sql/query.py", line 1123
        except MultiJoin, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/db/utils.py", line 25
        except ImportError, e_user:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/dispatch/dispatcher.py", line 208
        except Exception, err:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/dispatch/saferef.py", line 122
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/forms/fields.py", line 135
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/forms/forms.py", line 292
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/forms/formsets.py", line 294
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/forms/models.py", line 327
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/forms/util.py", line 69
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/http/__init__.py", line 334
        except IOError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/http/multipartparser.py", line 199
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/template/base.py", line 268
        except TemplateSyntaxError, e:
                                  ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/template/context.py", line 150
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/template/debug.py", line 75
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/template/defaultfilters.py", line 471
        starttag_re = re.compile(ur'<%s(/?>|(\s+[^>]*>))' % tags_re, re.U)
                                                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/template/defaulttags.py", line 186
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/template/loader.py", line 96
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/template/loaders/app_directories.py", line 22
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/test/_doctest.py", line 881
        print 'Finding tests in %s' % name
                                  ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/test/client.py", line 382
        except TemplateDoesNotExist, e:
                                   ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/test/testcases.py", line 88
        except HTMLParseError, e:
                             ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/utils/daemonize.py", line 6
        err_log='/dev/null', umask=022):
                                     ^
    SyntaxError: invalid token
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/utils/decorators.py", line 92
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/utils/dictconfig.py", line 300
        except StandardError, e:
                            ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/utils/encoding.py", line 91
        except UnicodeDecodeError, e:
                                 ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/utils/simplejson/decoder.py", line 139
        def JSONObject((s, end), encoding, strict, scan_once, object_hook, _w=WHITESPACE.match, _ws=WHITESPACE_STR):
                       ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/utils/simplejson/encoder.py", line 254
        False=False,
            ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/utils/simplejson/tool.py", line 28
        except ValueError, e:
                         ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/utils/unittest/case.py", line 327
        except SkipTest, e:
                       ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/utils/unittest/loader.py", line 92
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/utils/unittest/main.py", line 102
        print msg
                ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/utils/unittest/suite.py", line 141
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "build/bdist.macosx-10.7-x86_64/egg/django/views/debug.py", line 80
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
    zip_safe flag not set; analyzing archive contents...
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/bin/unique-messages.py", line 14
        print "this script should be run from the django svn tree or your project or app tree"
                                                                                             ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/bin/profiling/gather_profile_stats.py", line 27
        print "Processing %s" % f
                            ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/conf/__init__.py", line 94
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/admin/filters.py", line 134
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/admin/tests.py", line 21
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/admin/util.py", line 156
        except models.ProtectedError, e:
                                    ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/admin/views/main.py", line 142
        except FieldDoesNotExist, e:
                                ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/admindocs/views.py", line 321
        except template.InvalidTemplateLibrary, e:
                                              ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/auth/__init__.py", line 15
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/auth/management/__init__.py", line 57
        print "Adding permission '%s'" % obj
                                     ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/comments/views/comments.py", line 69
        except (ValueError, ValidationError), e:
                                            ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/contenttypes/management.py", line 42
        print "Adding content type '%s | %s'" % (ct.app_label, ct.model)
                                            ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/formtools/wizard/storage/__init__.py", line 13
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/db/backends/base.py", line 167
        except Exception, msg:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/db/backends/oracle/introspection.py", line 19
        except Exception, msg:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/db/backends/postgis/operations.py", line 110
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/db/backends/spatialite/base.py", line 59
        except Exception, msg:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/db/backends/spatialite/creation.py", line 27
        print "Creating test database for alias '%s'%s..." % (self.connection.alias, test_db_repr)
                                                         ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/db/backends/spatialite/operations.py", line 125
        except Exception, msg:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/gdal/tests/test_ds.py", line 62
        print "\nBEGIN - expecting out of range feature id error; safe to ignore.\n"
                                                                                   ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/gdal/tests/test_geom.py", line 237
        print "\nBEGIN - expecting IllegalArgumentException; safe to ignore.\n"
                                                                              ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/geometry/backend/__init__.py", line 9
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/geos/tests/test_geos.py", line 137
        print "\nBEGIN - expecting GEOS_ERROR; safe to ignore.\n"
                                                                ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/management/commands/ogrinspect.py", line 90
        except gdal.OGRException, msg:
                                ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/tests/test_measure.py", line 67
        except TypeError, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/utils/layermapping.py", line 433
        except Exception, msg:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/gis/utils/ogrinfo.py", line 25
        print "data source : %s" % data_source.name
                               ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/localflavor/hr/forms.py", line 22
        plate_re = re.compile(ur'^(?P<prefix>[A-ZČŠŽ]{2})' + \
                                                            ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/localflavor/mk/forms.py", line 25
        regex = ur'(^[A-Z]{1}\d{7}$)|(^\d{4,7}$)'
                                                ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/localflavor/mx/forms.py", line 69
        zip_code_re = ur'^(0[1-9]|[1][0-6]|[2-9]\d)(\d{3})$'
                                                           ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/markup/tests.py", line 90
        except AssertionError, e:
                             ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/messages/storage/__init__.py", line 18
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/sessions/backends/file.py", line 93
        except OSError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/sites/management.py", line 21
        print "Creating example.com Site object"
                                               ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/staticfiles/finders.py", line 263
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/contrib/staticfiles/handlers.py", line 59
        except Http404, e:
                      ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/signing.py", line 79
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/urlresolvers.py", line 301
        except Resolver404, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/validators.py", line 64
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/cache/__init__.py", line 176
        except (AttributeError, ImportError), e:
                                            ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/files/move.py", line 82
        except OSError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/files/storage.py", line 169
        except OSError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/files/uploadedfile.py", line 78
        except OSError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/files/uploadhandler.py", line 207
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/handlers/base.py", line 46
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/mail/__init__.py", line 33
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/mail/backends/filebased.py", line 28
        except OSError, err:
                      ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/management/__init__.py", line 54
        except ImportError,e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/management/base.py", line 218
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/management/sql.py", line 173
        statement = re.sub(ur"--.*([\n\Z]|$)", "", statement)
                                            ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/management/templates.py", line 85
        except OSError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/management/commands/createcachetable.py", line 57
        except DatabaseError, e:
                            ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/management/commands/dumpdata.py", line 114
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/management/commands/flush.py", line 58
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/management/commands/loaddata.py", line 197
        except (DatabaseError, IntegrityError), e:
                                              ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/management/commands/reset.py", line 52
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/management/commands/runserver.py", line 112
        except WSGIServerException, e:
                                  ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/management/commands/syncdb.py", line 41
        except ImportError, exc:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/serializers/json.py", line 45
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/serializers/pyyaml.py", line 60
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/servers/basehttp.py", line 55
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/core/servers/fastcgi.py", line 85
        print FASTCGI_HELP
                         ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/utils.py", line 25
        except ImportError, e_user:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/backends/creation.py", line 29
        return '%x' % (abs(hash(args)) % 4294967296L)  # 2**32
                                                   ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/backends/mysql/base.py", line 14
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/backends/oracle/base.py", line 21
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/backends/oracle/creation.py", line 65
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/backends/postgresql_psycopg2/base.py", line 23
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/backends/sqlite3/base.py", line 27
        except ImportError, e1:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/backends/sqlite3/creation.py", line 53
        print "Destroying old test database '%s'..." % self.connection.alias
                                                   ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/models/base.py", line 804
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/models/query.py", line 208
        except self.model.DoesNotExist, e:
                                      ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/models/fields/__init__.py", line 155
        except exceptions.ValidationError, e:
                                         ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/db/models/sql/query.py", line 1123
        except MultiJoin, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/dispatch/dispatcher.py", line 208
        except Exception, err:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/dispatch/saferef.py", line 122
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/forms/fields.py", line 135
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/forms/forms.py", line 292
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/forms/formsets.py", line 294
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/forms/models.py", line 327
        except ValidationError, e:
                              ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/forms/util.py", line 69
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/http/__init__.py", line 334
        except IOError, e:
                      ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/http/multipartparser.py", line 199
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/template/base.py", line 268
        except TemplateSyntaxError, e:
                                  ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/template/context.py", line 150
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/template/debug.py", line 75
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/template/defaultfilters.py", line 471
        starttag_re = re.compile(ur'<%s(/?>|(\s+[^>]*>))' % tags_re, re.U)
                                                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/template/defaulttags.py", line 186
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/template/loader.py", line 96
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/template/loaders/app_directories.py", line 22
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/test/_doctest.py", line 881
        print 'Finding tests in %s' % name
                                  ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/test/client.py", line 382
        except TemplateDoesNotExist, e:
                                   ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/test/testcases.py", line 88
        except HTMLParseError, e:
                             ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/utils/daemonize.py", line 6
        err_log='/dev/null', umask=022):
                                     ^
    SyntaxError: invalid token
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/utils/decorators.py", line 92
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/utils/dictconfig.py", line 300
        except StandardError, e:
                            ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/utils/encoding.py", line 91
        except UnicodeDecodeError, e:
                                 ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/utils/simplejson/decoder.py", line 139
        def JSONObject((s, end), encoding, strict, scan_once, object_hook, _w=WHITESPACE.match, _ws=WHITESPACE_STR):
                       ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/utils/simplejson/encoder.py", line 254
        False=False,
            ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/utils/simplejson/tool.py", line 28
        except ValueError, e:
                         ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/utils/unittest/case.py", line 327
        except SkipTest, e:
                       ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/utils/unittest/loader.py", line 92
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/utils/unittest/main.py", line 102
        print msg
                ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/utils/unittest/suite.py", line 141
        except Exception, e:
                        ^
    SyntaxError: invalid syntax
    
      File "/Users/sugita/venvtest/django_app/lib/python3.3/site-packages/Django-1.4.2-py3.3.egg/django/views/debug.py", line 80
        except ImportError, e:
                          ^
    SyntaxError: invalid syntax