{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6629","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6629/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6629/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6629/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/6629","id":166199279,"number":6629,"title":"Problem with Python environment","user":{"login":"andy47","id":782758,"avatar_url":"https://avatars.githubusercontent.com/u/782758?v=3","gravatar_id":"","url":"https://api.github.com/users/andy47","html_url":"https://github.com/andy47","followers_url":"https://api.github.com/users/andy47/followers","following_url":"https://api.github.com/users/andy47/following{/other_user}","gists_url":"https://api.github.com/users/andy47/gists{/gist_id}","starred_url":"https://api.github.com/users/andy47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy47/subscriptions","organizations_url":"https://api.github.com/users/andy47/orgs","repos_url":"https://api.github.com/users/andy47/repos","events_url":"https://api.github.com/users/andy47/events{/privacy}","received_events_url":"https://api.github.com/users/andy47/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/-%20Bug%20tracker%20-","name":"- Bug tracker -","color":"fef2c0"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Python","name":"Python","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-18T21:35:43Z","updated_at":"2016-07-25T17:26:53Z","closed_at":null,"body":"#### Description\r\nErrors when opening a .py file with the python layer enabled.\r\n\r\n#### Reproduction guide\r\n- Start Emacs\r\n- Open a .py file\r\n\r\n*Observed behaviour:*\r\nI see an error message as shown in the backtrace below\r\n\r\nI have multiple versions of Python installed and a number of Python virtual environments. My suspicion is that I'm picking up a broken Python virtual environment. I would appreciate any help in working out which version/enviroment the anaconda-mode code is call.\r\n\r\n*Expected behaviour:*\r\nNo error messages.\r\n\r\n\r\n#### System Info\r\n- OS: darwin\r\n- Emacs: 24.5.1\r\n- Spacemacs: 0.105.21\r\n- Spacemacs branch: master (rev. 0283f64)\r\n- Graphic display: t\r\n- Distribution: spacemacs\r\n- Editing style: vim\r\n- Completion: helm\r\n- Layers:\r\n```elisp\r\n(emacs-lisp markdown org syntax-checking python)\r\n```\r\n\r\n\r\n#### Backtrace\r\n```\r\n File \"<string>\", line 4, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/anaconda_mode.py\", line 18, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/service_factory/__init__.py\", line 14, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/service_factory/factory.py\", line 14, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/service_factory/providers/basehttp.py\", line 18, in <module>\r\nImportError: No module named BaseHTTPServer\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 4, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/anaconda_mode.py\", line 18, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/service_factory/__init__.py\", line 14, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/service_factory/factory.py\", line 14, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/service_factory/providers/basehttp.py\", line 18, in <module>\r\nImportError: No module named BaseHTTPServer\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 4, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/anaconda_mode.py\", line 18, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/service_factory/__init__.py\", line 14, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/service_factory/factory.py\", line 14, in <module>\r\n  File \"build/bdist.macosx-10.11-intel/egg/service_factory/providers/basehttp.py\", line 18, in <module>\r\nImportError: No module named BaseHTTPServer\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/235022522","html_url":"https://github.com/syl20bnr/spacemacs/issues/6629#issuecomment-235022522","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6629","id":235022522,"user":{"login":"dmdsig","id":16315469,"avatar_url":"https://avatars.githubusercontent.com/u/16315469?v=3","gravatar_id":"","url":"https://api.github.com/users/dmdsig","html_url":"https://github.com/dmdsig","followers_url":"https://api.github.com/users/dmdsig/followers","following_url":"https://api.github.com/users/dmdsig/following{/other_user}","gists_url":"https://api.github.com/users/dmdsig/gists{/gist_id}","starred_url":"https://api.github.com/users/dmdsig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmdsig/subscriptions","organizations_url":"https://api.github.com/users/dmdsig/orgs","repos_url":"https://api.github.com/users/dmdsig/repos","events_url":"https://api.github.com/users/dmdsig/events{/privacy}","received_events_url":"https://api.github.com/users/dmdsig/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T17:26:53Z","updated_at":"2016-07-25T17:26:53Z","body":"```\r\nbash-3.2$ which python\r\n/usr/bin/python\r\nbash-3.2$ which python3\r\n/usr/local/bin/python3\r\nbash-3.2$ echo $PATH\r\n/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Library/TeX/texbin\r\nbash-3.2$  \r\n``` \r\nthats my output, can't figure out why it keeps saying `no module named BaseHTTPServer` imma fiddle with modules on `PYTHONPATH` for a bit more see if there is an inconsistency bewteen where theyre stored and where spacemacs or the python binary (?) is looking\r\n"}}
{"actor":{"display_login":"dmdsig"}}