Traceback (most recent call last):


 "/home/ogrisel/.virtualenvs/py37/bin/ipython", line 7, in <module>

from IPython import start_ipython


 "/home/ogrisel/.virtualenvs/py37/lib/python3.7/site-packages/IPython/__init__.py", line 54, in <module>

from .core.application import Application


 "/home/ogrisel/.virtualenvs/py37/lib/python3.7/site-packages/IPython/core/application.py", line 25, in <module>

from IPython.core import release, crashhandler


 "/home/ogrisel/.virtualenvs/py37/lib/python3.7/site-packages/IPython/core/crashhandler.py", line 27, in <module>

from IPython.core import ultratb


 "/home/ogrisel/.virtualenvs/py37/lib/python3.7/site-packages/IPython/core/ultratb.py", line 120, in <module>

from IPython.utils import path as util_path


 "/home/ogrisel/.virtualenvs/py37/lib/python3.7/site-packages/IPython/utils/path.py", line 17, in <module>

from IPython.utils.process import system


 "/home/ogrisel/.virtualenvs/py37/lib/python3.7/site-packages/IPython/utils/process.py", line 18, in <module>

from ._process_posix import system, getoutput, arg_split, check_pid


 "/home/ogrisel/.virtualenvs/py37/lib/python3.7/site-packages/IPython/utils/_process_posix.py", line 23, in <module>

import pexpect


 "/home/ogrisel/.virtualenvs/py37/lib/python3.7/site-packages/pexpect/__init__.py", line 75, in <module>

from .pty_spawn import spawn, spawnu


 "/home/ogrisel/.virtualenvs/py37/lib/python3.7/site-packages/pexpect/pty_spawn.py", line 14, in <module>

from .spawnbase import SpawnBase


 "/home/ogrisel/.virtualenvs/py37/lib/python3.7/site-packages/pexpect/spawnbase.py", line 224

def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):

^
SyntaxError: invalid syntax


Traceback (most recent call last):

 "<string>", line 20, in <module>

 "/private/tmp/pip-build-dx_ka20_/pyinstaller/setup.py", line 18, in <module>
from PyInstaller import get_version

 "/private/tmp/pip-build-dx_ka20_/pyinstaller/PyInstaller/**init**.py", line 32, in <module>
from PyInstaller import compat

 "/private/tmp/pip-build-dx_ka20_/pyinstaller/PyInstaller/compat.py", line 129
if sys.maxint > 2L *\* 32:
^
SyntaxError: invalid syntax