{"action":"created","issue":{"url":"https://api.github.com/repos/softlayer/softlayer-python/issues/486","labels_url":"https://api.github.com/repos/softlayer/softlayer-python/issues/486/labels{/name}","comments_url":"https://api.github.com/repos/softlayer/softlayer-python/issues/486/comments","events_url":"https://api.github.com/repos/softlayer/softlayer-python/issues/486/events","html_url":"https://github.com/softlayer/softlayer-python/issues/486","id":57085872,"number":486,"title":"error when \"import SoftLayer\"","user":{"login":"nicklee76","id":7052337,"avatar_url":"https://avatars.githubusercontent.com/u/7052337?v=3","gravatar_id":"","url":"https://api.github.com/users/nicklee76","html_url":"https://github.com/nicklee76","followers_url":"https://api.github.com/users/nicklee76/followers","following_url":"https://api.github.com/users/nicklee76/following{/other_user}","gists_url":"https://api.github.com/users/nicklee76/gists{/gist_id}","starred_url":"https://api.github.com/users/nicklee76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicklee76/subscriptions","organizations_url":"https://api.github.com/users/nicklee76/orgs","repos_url":"https://api.github.com/users/nicklee76/repos","events_url":"https://api.github.com/users/nicklee76/events{/privacy}","received_events_url":"https://api.github.com/users/nicklee76/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-09T20:35:32Z","updated_at":"2015-02-11T05:41:26Z","closed_at":null,"body":"Hi all,\r\n\r\nI am getting following error on \"import SoftLayer\".  Could anyone help me with this problem?  Thanks in advance!\r\n---\r\n$ python \r\nPython 2.7.8 (v2.7.8:ee879c0ffa11, Jun 29 2014, 21:07:35) \r\n[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import SoftLayer\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/SoftLayer/__init__.py\", line 19, in <module>\r\n    from SoftLayer.API import *  # NOQA\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/SoftLayer/API.py\", line 11, in <module>\r\n    from SoftLayer import config\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/SoftLayer/config.py\", line 12, in <module>\r\n    from SoftLayer import utils\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/SoftLayer/utils.py\", line 21, in <module>\r\n    xmlrpc_client = six.moves.xmlrpc_client\r\nAttributeError: '_MovedItems' object has no attribute 'xmlrpc_client'\r\n>>> "},"comment":{"url":"https://api.github.com/repos/softlayer/softlayer-python/issues/comments/73836638","html_url":"https://github.com/softlayer/softlayer-python/issues/486#issuecomment-73836638","issue_url":"https://api.github.com/repos/softlayer/softlayer-python/issues/486","id":73836638,"user":{"login":"mattpangaro","id":673274,"avatar_url":"https://avatars.githubusercontent.com/u/673274?v=3","gravatar_id":"","url":"https://api.github.com/users/mattpangaro","html_url":"https://github.com/mattpangaro","followers_url":"https://api.github.com/users/mattpangaro/followers","following_url":"https://api.github.com/users/mattpangaro/following{/other_user}","gists_url":"https://api.github.com/users/mattpangaro/gists{/gist_id}","starred_url":"https://api.github.com/users/mattpangaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattpangaro/subscriptions","organizations_url":"https://api.github.com/users/mattpangaro/orgs","repos_url":"https://api.github.com/users/mattpangaro/repos","events_url":"https://api.github.com/users/mattpangaro/events{/privacy}","received_events_url":"https://api.github.com/users/mattpangaro/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T05:41:26Z","updated_at":"2015-02-11T05:41:26Z","body":"Hi all. I'm getting the same thing trying to use the new SL API. My old calls with a local SoftLayer.API library were working, but with pip installed softlayer/six, I get this:\r\nTraceback (most recent call last):\r\n  File \"./softlayer-get-server-info.py\", line 5, in <module>\r\n    import SoftLayer\r\n  File \"/Library/Python/2.7/site-packages/SoftLayer/__init__.py\", line 19, in <module>\r\n    from SoftLayer.API import *  # NOQA\r\n  File \"/Library/Python/2.7/site-packages/SoftLayer/API.py\", line 12, in <module>\r\n    from SoftLayer import config\r\n  File \"/Library/Python/2.7/site-packages/SoftLayer/config.py\", line 12, in <module>\r\n    from SoftLayer import utils\r\n  File \"/Library/Python/2.7/site-packages/SoftLayer/utils.py\", line 19, in <module>\r\n    xmlrpc_client = six.moves.xmlrpc_client  # pylint: disable=E1101,C0103\r\nAttributeError: '_MovedItems' object has no attribute 'xmlrpc_client'\r\n\r\nI'm on Mac OSX 10.10.2 with python 2.7.9. I've tried pip uninstalling and reinstalling both six and softlayer. I don't seem to have the muddled paths mentioned above. The only location for the site-packages on my machine is /Library/Python/2.7\r\n\r\nThanks in advance for any ideas on how to get past this."}}