{"action":"opened","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/2100","repository_url":"https://api.github.com/repos/LLNL/spack","labels_url":"https://api.github.com/repos/LLNL/spack/issues/2100/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/2100/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/2100/events","html_url":"https://github.com/LLNL/spack/issues/2100","id":184726819,"number":2100,"title":"Spack confused by Spack-installed Python3 environment","user":{"login":"citibeth","id":1924215,"avatar_url":"https://avatars.githubusercontent.com/u/1924215?v=3","gravatar_id":"","url":"https://api.github.com/users/citibeth","html_url":"https://github.com/citibeth","followers_url":"https://api.github.com/users/citibeth/followers","following_url":"https://api.github.com/users/citibeth/following{/other_user}","gists_url":"https://api.github.com/users/citibeth/gists{/gist_id}","starred_url":"https://api.github.com/users/citibeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citibeth/subscriptions","organizations_url":"https://api.github.com/users/citibeth/orgs","repos_url":"https://api.github.com/users/citibeth/repos","events_url":"https://api.github.com/users/citibeth/events{/privacy}","received_events_url":"https://api.github.com/users/citibeth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-24T00:23:39Z","updated_at":"2016-10-24T00:23:39Z","closed_at":null,"body":"I get the joyous stuff below when trying to run Spack after building (and loading modules for) a buch of Python3 stuff.   The workaround is pretty easy, just clear out your `$PYTHONPATH` before running Spack:\r\n```\r\nalias spack='PYTHONPATH= spack'\r\n```\r\n\r\nStill... maybe Spack should do this itself upon launch?\r\n\r\n```\r\n$ sh makenv-modele-ks \r\nTraceback (most recent call last):\r\n  File \"/home/rpfische/spack3/bin/spack\", line 52, in <module>\r\n    import nose\r\n  File \"/gpfsm/dnb53/rpfische/spack3/lib/spack/external/nose/__init__.py\", line 1, in <module>\r\n    from nose.core import collector, main, run, run_exit, runmodule\r\n  File \"/gpfsm/dnb53/rpfische/spack3/lib/spack/external/nose/core.py\", line 11, in <module>\r\n    from nose.config import Config, all_config_files\r\n  File \"/gpfsm/dnb53/rpfische/spack3/lib/spack/external/nose/config.py\", line 9, in <module>\r\n    from nose.plugins.manager import NoPlugins\r\n  File \"/gpfsm/dnb53/rpfische/spack3/lib/spack/external/nose/plugins/__init__.py\", line 185, in <module>\r\n    from nose.plugins.manager import *\r\n  File \"/gpfsm/dnb53/rpfische/spack3/lib/spack/external/nose/plugins/manager.py\", line 418, in <module>\r\n    import pkg_resources\r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 2953, in <module>\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 2939, in _call_aside\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 2966, in _initialize_master_working_set\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 626, in _build_master\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 619, in __init__\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 675, in add_entry\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 1983, in find_on_path\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 2371, in from_location\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 2712, in _reload_version\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 2336, in _version_from_file\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 2504, in _get_metadata\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 1874, in get_metadata_lines\r\n    \r\n  File \"/gpfsm/dnb53/rpfische/spack3/opt/spack/linux-SuSE11-x86_64/gcc-5.3.0/py-setuptools-25.2.0-6we44zujmcs5bdv3jn7lzrr4gahg22sd/lib/python3.5/site-packages/setuptools-25.2.0-py3.5.egg/pkg_resources/__init__.py\", line 1864, in get_metadata\r\n    \r\n  File \"/usr/lib64/python2.6/io.py\", line 1767, in read\r\n    decoder.decode(self.buffer.read(), final=True))\r\n  File \"/usr/lib64/python2.6/io.py\", line 1319, in decode\r\n    output = self.decoder.decode(input, final=final)\r\n  File \"/usr/lib64/python2.6/codecs.py\", line 296, in decode\r\n    (result, consumed) = self._buffer_decode(data, self.errors, final)\r\nUnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 174: invalid continuation byte in /usr/lib64/python2.6/site-packages/xmldiff-0.6.8-py2.6.egg-info\r\n```\r\n"}}
{"actor":{"display_login":"citibeth"}}