Ask Your Question

Revision history [back]

You should not mix system installed packages (via pacman) and self installed packages (via pip2). I would advice you to remove one by one the packages you installed via pip2 (you can obtain the list of them using "pip2 list"). If you really need to install packages with pip2 it is much better to install them in your home directory with the --user option of pip2. It should not often be the case are the packages in ArchLinux are very often available in their latest version.

You should not mix system installed packages (via pacman) and self installed packages (via pip2). I would advice you to remove one by one the packages you installed via pip2 (you can obtain the list of them using "pip2 list"). If you really need to install packages with pip2 it is much better to install them in your home directory with the --user option of pip2. It should not often be the case are the packages in ArchLinux are very often available in their latest version.

More specifically related to your problem, you should check how traitlets was installed. As can be read at https://ipython.org/ipython-doc/2/development/pycompat.html the function cast_bytes has to be found in IPython.utils.py3compat and not in ipython_genutils.py3compat.