{"action":"opened","issue":{"url":"https://api.github.com/repos/odlgroup/odl/issues/1178","repository_url":"https://api.github.com/repos/odlgroup/odl","labels_url":"https://api.github.com/repos/odlgroup/odl/issues/1178/labels{/name}","comments_url":"https://api.github.com/repos/odlgroup/odl/issues/1178/comments","events_url":"https://api.github.com/repos/odlgroup/odl/issues/1178/events","html_url":"https://github.com/odlgroup/odl/issues/1178","id":263397219,"number":1178,"title":" After ODL installation, in Spyder opening a new ipython console session error","user":{"login":"chongchenmath","id":19347429,"avatar_url":"https://avatars1.githubusercontent.com/u/19347429?v=4","gravatar_id":"","url":"https://api.github.com/users/chongchenmath","html_url":"https://github.com/chongchenmath","followers_url":"https://api.github.com/users/chongchenmath/followers","following_url":"https://api.github.com/users/chongchenmath/following{/other_user}","gists_url":"https://api.github.com/users/chongchenmath/gists{/gist_id}","starred_url":"https://api.github.com/users/chongchenmath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chongchenmath/subscriptions","organizations_url":"https://api.github.com/users/chongchenmath/orgs","repos_url":"https://api.github.com/users/chongchenmath/repos","events_url":"https://api.github.com/users/chongchenmath/events{/privacy}","received_events_url":"https://api.github.com/users/chongchenmath/received_events","type":"User","site_admin":false},"labels":[{"id":282533714,"url":"https://api.github.com/repos/odlgroup/odl/labels/help%20wanted","name":"help wanted","color":"fad8c7","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-06T10:10:18Z","updated_at":"2017-10-06T10:10:18Z","closed_at":null,"author_association":"MEMBER","body":"After `odl` installation, when opening a new ipython console session or restarting ipython kernel within Spyder, it crashes. Below is the error message. But if I try `python3` on the command line,  then run corresponding error-happened commands as those in Spyder, it works well. I use the same python interpreter (python3) in the same path for both.\r\n\r\nRun `python3` on the command line\r\n```\r\n(odl-py35) chench@chench:~$ python3\r\nPython 3.5.4 |Anaconda, Inc.| (default, Oct  5 2017, 08:00:22) \r\n[GCC 7.2.0] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> from collections import namedtuple\r\n>>> from collections import ChainMap as _ChainMap\r\n>>> exit()\r\n\r\n```\r\nError message:\r\n```python\r\nAn error ocurred while starting the kernel\r\nFailed to import the site module\r\nError processing line 1 of /home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/matplotlib.0.2‑py3.5‑nspkg.pth:\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 167, in addpackage\r\nexec(line)\r\nFile \"\", line 1, in \r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/types.py\", line 166, in \r\nimport functools as _functools\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/functools.py\", line 21, in \r\nfrom collections import namedtuple\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/collections/__init__.py\", line 26, in \r\nfrom operator import itemgetter as _itemgetter, eq as _eq\r\nFile \"/home/chench/odl/odl/operator/__init__.py\", line 24, in \r\nfrom .operator import *\r\nFile \"/home/chench/odl/odl/operator/operator.py\", line 22, in \r\nfrom future import standard_library\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/future/standard_library/__init__.py\", line 64, in \r\nimport logging\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/logging/__init__.py\", line 26, in \r\nimport sys, os, time, io, traceback, warnings, weakref, collections\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/traceback.py\", line 5, in \r\nimport linecache\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/linecache.py\", line 11, in \r\nimport tokenize\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/tokenize.py\", line 98, in \r\nclass TokenInfo(collections.namedtuple('TokenInfo', 'type string start end line')):\r\nAttributeError: module 'collections' has no attribute 'namedtuple'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 559, in \r\nmain()\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 541, in main\r\nknown_paths = addsitepackages(known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 318, in addsitepackages\r\naddsitedir(sitedir, known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 206, in addsitedir\r\naddpackage(sitedir, name, known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 177, in addpackage\r\nimport traceback\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/traceback.py\", line 3, in \r\nimport collections\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/collections/__init__.py\", line 26, in \r\nfrom operator import itemgetter as _itemgetter, eq as _eq\r\nFile \"/home/chench/odl/odl/operator/__init__.py\", line 24, in \r\nfrom .operator import *\r\nFile \"/home/chench/odl/odl/operator/operator.py\", line 22, in \r\nfrom future import standard_library\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/future/standard_library/__init__.py\", line 64, in \r\nimport logging\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/logging/__init__.py\", line 28, in \r\nfrom string import Template\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/string.py\", line 53, in \r\nfrom collections import ChainMap as _ChainMap\r\nImportError: cannot import name 'ChainMap'\r\nFailed to import the site module\r\nError processing line 1 of /home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/matplotlib𔂬.0.2‑py3.5‑nspkg.pth:\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 167, in addpackage\r\nexec(line)\r\nFile \"\", line 1, in \r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/types.py\", line 166, in \r\nimport functools as _functools\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/functools.py\", line 21, in \r\nfrom collections import namedtuple\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/collections/__init__.py\", line 26, in \r\nfrom operator import itemgetter as _itemgetter, eq as _eq\r\nFile \"/home/chench/odl/odl/operator/__init__.py\", line 24, in \r\nfrom .operator import *\r\nFile \"/home/chench/odl/odl/operator/operator.py\", line 22, in \r\nfrom future import standard_library\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/future/standard_library/__init__.py\", line 64, in \r\nimport logging\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/logging/__init__.py\", line 26, in \r\nimport sys, os, time, io, traceback, warnings, weakref, collections\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/traceback.py\", line 5, in \r\nimport linecache\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/linecache.py\", line 11, in \r\nimport tokenize\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/tokenize.py\", line 98, in \r\nclass TokenInfo(collections.namedtuple('TokenInfo', 'type string start end line')):\r\nAttributeError: module 'collections' has no attribute 'namedtuple'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 559, in \r\nmain()\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 541, in main\r\nknown_paths = addsitepackages(known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 318, in addsitepackages\r\naddsitedir(sitedir, known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 206, in addsitedir\r\naddpackage(sitedir, name, known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 177, in addpackage\r\nimport traceback\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/traceback.py\", line 3, in \r\nimport collections\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/collections/__init__.py\", line 26, in \r\nfrom operator import itemgetter as _itemgetter, eq as _eq\r\nFile \"/home/chench/odl/odl/operator/__init__.py\", line 24, in \r\nfrom .operator import *\r\nFile \"/home/chench/odl/odl/operator/operator.py\", line 22, in \r\nfrom future import standard_library\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/future/standard_library/__init__.py\", line 64, in \r\nimport logging\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/logging/__init__.py\", line 28, in \r\nfrom string import Template\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/string.py\", line 53, in \r\nfrom collections import ChainMap as _ChainMap\r\nImportError: cannot import name 'ChainMap'\r\nFailed to import the site module\r\nError processing line 1 of /home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/matplotlib𔂬.0.2‑py3.5‑nspkg.pth:\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 167, in addpackage\r\nexec(line)\r\nFile \"\", line 1, in \r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/types.py\", line 166, in \r\nimport functools as _functools\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/functools.py\", line 21, in \r\nfrom collections import namedtuple\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/collections/__init__.py\", line 26, in \r\nfrom operator import itemgetter as _itemgetter, eq as _eq\r\nFile \"/home/chench/odl/odl/operator/__init__.py\", line 24, in \r\nfrom .operator import *\r\nFile \"/home/chench/odl/odl/operator/operator.py\", line 22, in \r\nfrom future import standard_library\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/future/standard_library/__init__.py\", line 64, in \r\nimport logging\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/logging/__init__.py\", line 26, in \r\nimport sys, os, time, io, traceback, warnings, weakref, collections\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/traceback.py\", line 5, in \r\nimport linecache\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/linecache.py\", line 11, in \r\nimport tokenize\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/tokenize.py\", line 98, in \r\nclass TokenInfo(collections.namedtuple('TokenInfo', 'type string start end line')):\r\nAttributeError: module 'collections' has no attribute 'namedtuple'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 559, in \r\nmain()\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 541, in main\r\nknown_paths = addsitepackages(known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 318, in addsitepackages\r\naddsitedir(sitedir, known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 206, in addsitedir\r\naddpackage(sitedir, name, known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 177, in addpackage\r\nimport traceback\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/traceback.py\", line 3, in \r\nimport collections\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/collections/__init__.py\", line 26, in \r\nfrom operator import itemgetter as _itemgetter, eq as _eq\r\nFile \"/home/chench/odl/odl/operator/__init__.py\", line 24, in \r\nfrom .operator import *\r\nFile \"/home/chench/odl/odl/operator/operator.py\", line 22, in \r\nfrom future import standard_library\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/future/standard_library/__init__.py\", line 64, in \r\nimport logging\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/logging/__init__.py\", line 28, in \r\nfrom string import Template\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/string.py\", line 53, in \r\nfrom collections import ChainMap as _ChainMap\r\nImportError: cannot import name 'ChainMap'\r\nFailed to import the site module\r\nError processing line 1 of /home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/matplotlib𔂬.0.2‑py3.5‑nspkg.pth:\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 167, in addpackage\r\nexec(line)\r\nFile \"\", line 1, in \r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/types.py\", line 166, in \r\nimport functools as _functools\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/functools.py\", line 21, in \r\nfrom collections import namedtuple\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/collections/__init__.py\", line 26, in \r\nfrom operator import itemgetter as _itemgetter, eq as _eq\r\nFile \"/home/chench/odl/odl/operator/__init__.py\", line 24, in \r\nfrom .operator import *\r\nFile \"/home/chench/odl/odl/operator/operator.py\", line 22, in \r\nfrom future import standard_library\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/future/standard_library/__init__.py\", line 64, in \r\nimport logging\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/logging/__init__.py\", line 26, in \r\nimport sys, os, time, io, traceback, warnings, weakref, collections\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/traceback.py\", line 5, in \r\nimport linecache\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/linecache.py\", line 11, in \r\nimport tokenize\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/tokenize.py\", line 98, in \r\nclass TokenInfo(collections.namedtuple('TokenInfo', 'type string start end line')):\r\nAttributeError: module 'collections' has no attribute 'namedtuple'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 559, in \r\nmain()\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 541, in main\r\nknown_paths = addsitepackages(known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 318, in addsitepackages\r\naddsitedir(sitedir, known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 206, in addsitedir\r\naddpackage(sitedir, name, known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 177, in addpackage\r\nimport traceback\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/traceback.py\", line 3, in \r\nimport collections\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/collections/__init__.py\", line 26, in \r\nfrom operator import itemgetter as _itemgetter, eq as _eq\r\nFile \"/home/chench/odl/odl/operator/__init__.py\", line 24, in \r\nfrom .operator import *\r\nFile \"/home/chench/odl/odl/operator/operator.py\", line 22, in \r\nfrom future import standard_library\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/future/standard_library/__init__.py\", line 64, in \r\nimport logging\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/logging/__init__.py\", line 28, in \r\nfrom string import Template\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/string.py\", line 53, in \r\nfrom collections import ChainMap as _ChainMap\r\nImportError: cannot import name 'ChainMap'\r\nFailed to import the site module\r\nError processing line 1 of /home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/matplotlib𔂬.0.2‑py3.5‑nspkg.pth:\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 167, in addpackage\r\nexec(line)\r\nFile \"\", line 1, in \r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/types.py\", line 166, in \r\nimport functools as _functools\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/functools.py\", line 21, in \r\nfrom collections import namedtuple\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/collections/__init__.py\", line 26, in \r\nfrom operator import itemgetter as _itemgetter, eq as _eq\r\nFile \"/home/chench/odl/odl/operator/__init__.py\", line 24, in \r\nfrom .operator import *\r\nFile \"/home/chench/odl/odl/operator/operator.py\", line 22, in \r\nfrom future import standard_library\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/future/standard_library/__init__.py\", line 64, in \r\nimport logging\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/logging/__init__.py\", line 26, in \r\nimport sys, os, time, io, traceback, warnings, weakref, collections\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/traceback.py\", line 5, in \r\nimport linecache\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/linecache.py\", line 11, in \r\nimport tokenize\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/tokenize.py\", line 98, in \r\nclass TokenInfo(collections.namedtuple('TokenInfo', 'type string start end line')):\r\nAttributeError: module 'collections' has no attribute 'namedtuple'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 559, in \r\nmain()\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 541, in main\r\nknown_paths = addsitepackages(known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 318, in addsitepackages\r\naddsitedir(sitedir, known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 206, in addsitedir\r\naddpackage(sitedir, name, known_paths)\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site.py\", line 177, in addpackage\r\nimport traceback\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/traceback.py\", line 3, in \r\nimport collections\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/collections/__init__.py\", line 26, in \r\nfrom operator import itemgetter as _itemgetter, eq as _eq\r\nFile \"/home/chench/odl/odl/operator/__init__.py\", line 24, in \r\nfrom .operator import *\r\nFile \"/home/chench/odl/odl/operator/operator.py\", line 22, in \r\nfrom future import standard_library\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/site‑packages/future/standard_library/__init__.py\", line 64, in \r\nimport logging\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/logging/__init__.py\", line 28, in \r\nfrom string import Template\r\nFile \"/home/chench/miniconda2/envs/odl‑py35/lib/python3.5/string.py\", line 53, in \r\nfrom collections import ChainMap as _ChainMap\r\nImportError: cannot import name 'ChainMap'\r\n```"}}
{"actor":{"display_login":"chongchenmath"}}