{"action":"created","issue":{"url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/240","repository_url":"https://api.github.com/repos/pytest-dev/pytest-xdist","labels_url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/240/comments","events_url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/240/events","html_url":"https://github.com/pytest-dev/pytest-xdist/issues/240","id":269048642,"number":240,"title":"Please help \"ModuleNotFoundError: No module named 'urllib2'\"","user":{"login":"UANEMESISUA","id":33150439,"avatar_url":"https://avatars0.githubusercontent.com/u/33150439?v=4","gravatar_id":"","url":"https://api.github.com/users/UANEMESISUA","html_url":"https://github.com/UANEMESISUA","followers_url":"https://api.github.com/users/UANEMESISUA/followers","following_url":"https://api.github.com/users/UANEMESISUA/following{/other_user}","gists_url":"https://api.github.com/users/UANEMESISUA/gists{/gist_id}","starred_url":"https://api.github.com/users/UANEMESISUA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UANEMESISUA/subscriptions","organizations_url":"https://api.github.com/users/UANEMESISUA/orgs","repos_url":"https://api.github.com/users/UANEMESISUA/repos","events_url":"https://api.github.com/users/UANEMESISUA/events{/privacy}","received_events_url":"https://api.github.com/users/UANEMESISUA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-27T09:46:44Z","updated_at":"2017-10-27T10:19:34Z","closed_at":null,"author_association":"NONE","body":"`PS C:\\FULL\\GNS READY SCRIPTS> pytest -n5 --driver Chrome load_for_itea.py --max-slave-restart=2 -v\r\n============================= test session starts =============================\r\nplatform win32 -- Python 3.6.3, pytest-3.2.3, py-1.4.34, pluggy-0.4.0 -- c:\\python36\\python.exe\r\ncachedir: .cache\r\ndriver: Chrome\r\nsensitiveurl: .*\r\nmetadata: {'Python': '3.6.3', 'Platform': 'Windows-10-10.0.15063-SP0', 'Packages': {'pytest': '3.2.3', 'py': '1.4.34', 'pluggy': '0.4.0'}, 'Plugins': {'xdist': '1.20.1', 'variables': '1.7.0', 'selenium': '1.11.1', 'metadata': '1.5.0', 'html': '1.16.0', 'forked': '0.2', 'base-url': '1.4.1'}, 'JAVA_HOME': 'C:\\\\Program Files\\\\Java\\\\jdk1.8.0_131\\\\bin', 'Base URL': '', 'Driver': 'Chrome', 'Capabilities': {}}\r\nrootdir: C:\\FULL\\GNS READY SCRIPTS, inifile:\r\nplugins: xdist-1.20.1, variables-1.7.0, selenium-1.11.1, metadata-1.5.0, html-1.16.0, forked-0.2, base-url-1.4.1\r\n[gw0] win32 Python 3.6.3 cwd: C:\\FULL\\GNS READY SCRIPTS\r\n[gw1] win32 Python 3.6.3 cwd: C:\\FULL\\GNS READY SCRIPTS\r\n[gw2] win32 Python 3.6.3 cwd: C:\\FULL\\GNS READY SCRIPTS\r\n[gw3] win32 Python 3.6.3 cwd: C:\\FULL\\GNS READY SCRIPTS\r\n[gw4] win32 Python 3.6.3 cwd: C:\\FULL\\GNS READY SCRIPTS\r\ngw0 C / gw1 C / gw2 C / gw3 C / gw4 C[gw0] node down: Traceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 443, in import_plugin\r\n    __import__(importspec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\cacheprovider.py\", line 10, in <module>\r\n    import json\r\n  File \"C:\\FULL\\GNS READY SCRIPTS\\json.py\", line 5, in <module>\r\n    import urllib2\r\nModuleNotFoundError: No module named 'urllib2'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\execnet\\gateway_base.py\", line 1072, in executetask\r\n    do_exec(co, loc)  # noqa\r\n  File \"<string>\", line 1, in do_exec\r\n  File \"<remote exec>\", line 12, in <module>\r\n  File \"c:\\python36\\lib\\site-packages\\pytest.py\", line 77, in <module>\r\n    _preloadplugins()  # to populate pytest.* namespace so help(pytest) works\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 118, in _preloadplugins\r\n    _preinit.append(get_config())\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 128, in get_config\r\n    pluginmanager.import_plugin(spec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 450, in import_plugin\r\n    raise new_exc\r\nImportError: Error importing plugin \"cacheprovider\": No module named 'urllib2'\r\n\r\nReplacing crashed slave gw0\r\n[gw5] win32 Python 3.6.3 cwd: C:\\FULL\\GNS READY SCRIPTS\r\ngw5 C / gw1 C / gw2 C / gw3 C / gw4 C[gw1] node down: Traceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 443, in import_plugin\r\n    __import__(importspec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\cacheprovider.py\", line 10, in <module>\r\n    import json\r\n  File \"C:\\FULL\\GNS READY SCRIPTS\\json.py\", line 5, in <module>\r\n    import urllib2\r\nModuleNotFoundError: No module named 'urllib2'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\execnet\\gateway_base.py\", line 1072, in executetask\r\n    do_exec(co, loc)  # noqa\r\n  File \"<string>\", line 1, in do_exec\r\n  File \"<remote exec>\", line 12, in <module>\r\n  File \"c:\\python36\\lib\\site-packages\\pytest.py\", line 77, in <module>\r\n    _preloadplugins()  # to populate pytest.* namespace so help(pytest) works\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 118, in _preloadplugins\r\n    _preinit.append(get_config())\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 128, in get_config\r\n    pluginmanager.import_plugin(spec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 450, in import_plugin\r\n    raise new_exc\r\nImportError: Error importing plugin \"cacheprovider\": No module named 'urllib2'\r\n\r\nReplacing crashed slave gw1\r\n[gw6] win32 Python 3.6.3 cwd: C:\\FULL\\GNS READY SCRIPTS\r\ngw5 C / gw6 C / gw2 C / gw3 C / gw4 C[gw2] node down: Traceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 443, in import_plugin\r\n    __import__(importspec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\cacheprovider.py\", line 10, in <module>\r\n    import json\r\n  File \"C:\\FULL\\GNS READY SCRIPTS\\json.py\", line 5, in <module>\r\n    import urllib2\r\nModuleNotFoundError: No module named 'urllib2'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\execnet\\gateway_base.py\", line 1072, in executetask\r\n    do_exec(co, loc)  # noqa\r\n  File \"<string>\", line 1, in do_exec\r\n  File \"<remote exec>\", line 12, in <module>\r\n  File \"c:\\python36\\lib\\site-packages\\pytest.py\", line 77, in <module>\r\n    _preloadplugins()  # to populate pytest.* namespace so help(pytest) works\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 118, in _preloadplugins\r\n    _preinit.append(get_config())\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 128, in get_config\r\n    pluginmanager.import_plugin(spec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 450, in import_plugin\r\n    raise new_exc\r\nImportError: Error importing plugin \"cacheprovider\": No module named 'urllib2'\r\n\r\nMaximum crashed slaves reached: 2\r\n[gw3] node down: Traceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 443, in import_plugin\r\n    __import__(importspec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\cacheprovider.py\", line 10, in <module>\r\n    import json\r\n  File \"C:\\FULL\\GNS READY SCRIPTS\\json.py\", line 5, in <module>\r\n    import urllib2\r\nModuleNotFoundError: No module named 'urllib2'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\execnet\\gateway_base.py\", line 1072, in executetask\r\n    do_exec(co, loc)  # noqa\r\n  File \"<string>\", line 1, in do_exec\r\n  File \"<remote exec>\", line 12, in <module>\r\n  File \"c:\\python36\\lib\\site-packages\\pytest.py\", line 77, in <module>\r\n    _preloadplugins()  # to populate pytest.* namespace so help(pytest) works\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 118, in _preloadplugins\r\n    _preinit.append(get_config())\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 128, in get_config\r\n    pluginmanager.import_plugin(spec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 450, in import_plugin\r\n    raise new_exc\r\nImportError: Error importing plugin \"cacheprovider\": No module named 'urllib2'\r\n\r\nMaximum crashed slaves reached: 2\r\n[gw4] node down: Traceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 443, in import_plugin\r\n    __import__(importspec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\cacheprovider.py\", line 10, in <module>\r\n    import json\r\n  File \"C:\\FULL\\GNS READY SCRIPTS\\json.py\", line 5, in <module>\r\n    import urllib2\r\nModuleNotFoundError: No module named 'urllib2'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\execnet\\gateway_base.py\", line 1072, in executetask\r\n    do_exec(co, loc)  # noqa\r\n  File \"<string>\", line 1, in do_exec\r\n  File \"<remote exec>\", line 12, in <module>\r\n  File \"c:\\python36\\lib\\site-packages\\pytest.py\", line 77, in <module>\r\n    _preloadplugins()  # to populate pytest.* namespace so help(pytest) works\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 118, in _preloadplugins\r\n    _preinit.append(get_config())\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 128, in get_config\r\n    pluginmanager.import_plugin(spec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 450, in import_plugin\r\n    raise new_exc\r\nImportError: Error importing plugin \"cacheprovider\": No module named 'urllib2'\r\n\r\nMaximum crashed slaves reached: 2\r\n[gw5] node down: Traceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 443, in import_plugin\r\n    __import__(importspec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\cacheprovider.py\", line 10, in <module>\r\n    import json\r\n  File \"C:\\FULL\\GNS READY SCRIPTS\\json.py\", line 5, in <module>\r\n    import urllib2\r\nModuleNotFoundError: No module named 'urllib2'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\execnet\\gateway_base.py\", line 1072, in executetask\r\n    do_exec(co, loc)  # noqa\r\n  File \"<string>\", line 1, in do_exec\r\n  File \"<remote exec>\", line 12, in <module>\r\n  File \"c:\\python36\\lib\\site-packages\\pytest.py\", line 77, in <module>\r\n    _preloadplugins()  # to populate pytest.* namespace so help(pytest) works\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 118, in _preloadplugins\r\n    _preinit.append(get_config())\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 128, in get_config\r\n    pluginmanager.import_plugin(spec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 450, in import_plugin\r\n    raise new_exc\r\nImportError: Error importing plugin \"cacheprovider\": No module named 'urllib2'\r\n\r\nMaximum crashed slaves reached: 2\r\n[gw6] node down: Traceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 443, in import_plugin\r\n    __import__(importspec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\cacheprovider.py\", line 10, in <module>\r\n    import json\r\n  File \"C:\\FULL\\GNS READY SCRIPTS\\json.py\", line 5, in <module>\r\n    import urllib2\r\nModuleNotFoundError: No module named 'urllib2'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"c:\\python36\\lib\\site-packages\\execnet\\gateway_base.py\", line 1072, in executetask\r\n    do_exec(co, loc)  # noqa\r\n  File \"<string>\", line 1, in do_exec\r\n  File \"<remote exec>\", line 12, in <module>\r\n  File \"c:\\python36\\lib\\site-packages\\pytest.py\", line 77, in <module>\r\n    _preloadplugins()  # to populate pytest.* namespace so help(pytest) works\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 118, in _preloadplugins\r\n    _preinit.append(get_config())\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 128, in get_config\r\n    pluginmanager.import_plugin(spec)\r\n  File \"c:\\python36\\lib\\site-packages\\_pytest\\config.py\", line 450, in import_plugin\r\n    raise new_exc\r\nImportError: Error importing plugin \"cacheprovider\": No module named 'urllib2'\r\n\r\nMaximum crashed slaves reached: 2`"},"comment":{"url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/comments/339933373","html_url":"https://github.com/pytest-dev/pytest-xdist/issues/240#issuecomment-339933373","issue_url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/240","id":339933373,"user":{"login":"UANEMESISUA","id":33150439,"avatar_url":"https://avatars0.githubusercontent.com/u/33150439?v=4","gravatar_id":"","url":"https://api.github.com/users/UANEMESISUA","html_url":"https://github.com/UANEMESISUA","followers_url":"https://api.github.com/users/UANEMESISUA/followers","following_url":"https://api.github.com/users/UANEMESISUA/following{/other_user}","gists_url":"https://api.github.com/users/UANEMESISUA/gists{/gist_id}","starred_url":"https://api.github.com/users/UANEMESISUA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UANEMESISUA/subscriptions","organizations_url":"https://api.github.com/users/UANEMESISUA/orgs","repos_url":"https://api.github.com/users/UANEMESISUA/repos","events_url":"https://api.github.com/users/UANEMESISUA/events{/privacy}","received_events_url":"https://api.github.com/users/UANEMESISUA/received_events","type":"User","site_admin":false},"created_at":"2017-10-27T10:19:34Z","updated_at":"2017-10-27T10:19:34Z","author_association":"NONE","body":"How can I fix this?"}}
{"actor":{"display_login":"UANEMESISUA"}}