Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook

import re, traceback


 "/usr/lib/python3.5/traceback.py", line 5, in <module>

import linecache


 "/usr/lib/python3.5/linecache.py", line 11, in <module>

import tokenize


 "/home/july/PythonProjects/test/tokenize.py", line 3, in <module>

from nltk.tokenize import regexp_tokenize, wordpunct_tokenize, blankline_tokenize


 "/usr/local/lib/python3.5/dist-packages/nltk/__init__.py", line 89, in <module>

from nltk.internals import config_java


 "/usr/local/lib/python3.5/dist-packages/nltk/internals.py", line 11, in <module>

import subprocess


 "/usr/lib/python3.5/subprocess.py", line 443, in <module>

import dummy_threading as threading


 "/usr/lib/python3.5/dummy_threading.py", line 45, in <module>

import threading


 "/usr/lib/python3.5/threading.py", line 7, in <module>

from traceback import format_exc as _format_exc
ImportError: cannot import name 'format_exc'

Traceback (most recent call last):


 "/home/hartzell/spack/opt/spack/linux-rhel7-x86_64/gcc-5.5.0/py-flake8-3.5.0-gj6upymrh6yq2yxzp64lsiztvk7wbx3x/bin/flake8", line 11, in <module>

load_entry_point('flake8==3.5.0', 'console_scripts', 'flake8')()


 "/home/hartzell/spack/opt/spack/linux-rhel7-x86_64/gcc-5.5.0/py-setuptools-39.0.1-6jfae2npd2ff3trjznsglbud6dzr2hwr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 480, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)


 "/home/hartzell/spack/opt/spack/linux-rhel7-x86_64/gcc-5.5.0/py-setuptools-39.0.1-6jfae2npd2ff3trjznsglbud6dzr2hwr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2693, in load_entry_point

return ep.load()


 "/home/hartzell/spack/opt/spack/linux-rhel7-x86_64/gcc-5.5.0/py-setuptools-39.0.1-6jfae2npd2ff3trjznsglbud6dzr2hwr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2324, in load

return self.resolve()


 "/home/hartzell/spack/opt/spack/linux-rhel7-x86_64/gcc-5.5.0/py-setuptools-39.0.1-6jfae2npd2ff3trjznsglbud6dzr2hwr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2330, in resolve

module = __import__(self.module_name, fromlist=['__name__'], level=0)


 "/home/hartzell/spack/opt/spack/linux-rhel7-x86_64/gcc-5.5.0/py-flake8-3.5.0-gj6upymrh6yq2yxzp64lsiztvk7wbx3x/lib/python2.7/site-packages/flake8/main/cli.py", line 2, in <module>

from flake8.main import application


 "/home/hartzell/spack/opt/spack/linux-rhel7-x86_64/gcc-5.5.0/py-flake8-3.5.0-gj6upymrh6yq2yxzp64lsiztvk7wbx3x/lib/python2.7/site-packages/flake8/main/application.py", line 14, in <module>

from flake8.main import options


 "/home/hartzell/spack/opt/spack/linux-rhel7-x86_64/gcc-5.5.0/py-flake8-3.5.0-gj6upymrh6yq2yxzp64lsiztvk7wbx3x/lib/python2.7/site-packages/flake8/main/options.py", line 4, in <module>

from flake8.main import vcs


 "/home/hartzell/spack/opt/spack/linux-rhel7-x86_64/gcc-5.5.0/py-flake8-3.5.0-gj6upymrh6yq2yxzp64lsiztvk7wbx3x/lib/python2.7/site-packages/flake8/main/vcs.py", line 4, in <module>

from flake8.main import mercurial


 "/home/hartzell/spack/opt/spack/linux-rhel7-x86_64/gcc-5.5.0/py-flake8-3.5.0-gj6upymrh6yq2yxzp64lsiztvk7wbx3x/lib/python2.7/site-packages/flake8/main/mercurial.py", line 7, in <module>

import configparser


 "/home/hartzell/spack/opt/spack/linux-rhel7-x86_64/gcc-5.5.0/py-configparser-3.5.0-h3atyxvuwid6gx76hxkcdmrt2u4dt3ez/lib/python2.7/site-packages/configparser.py", line 12, in <module>

from backports.configparser import (
ImportError: No module named backports.configparser
