{"action":"created","issue":{"url":"https://api.github.com/repos/mpenning/ciscoconfparse/issues/32","labels_url":"https://api.github.com/repos/mpenning/ciscoconfparse/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/mpenning/ciscoconfparse/issues/32/comments","events_url":"https://api.github.com/repos/mpenning/ciscoconfparse/issues/32/events","html_url":"https://github.com/mpenning/ciscoconfparse/issues/32","id":66670962,"number":32,"title":"Import issues on 3.4.3 with CiscoConfParse > 1.2.14.","user":{"login":"FozzieBear","id":2397651,"avatar_url":"https://avatars.githubusercontent.com/u/2397651?v=3","gravatar_id":"","url":"https://api.github.com/users/FozzieBear","html_url":"https://github.com/FozzieBear","followers_url":"https://api.github.com/users/FozzieBear/followers","following_url":"https://api.github.com/users/FozzieBear/following{/other_user}","gists_url":"https://api.github.com/users/FozzieBear/gists{/gist_id}","starred_url":"https://api.github.com/users/FozzieBear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FozzieBear/subscriptions","organizations_url":"https://api.github.com/users/FozzieBear/orgs","repos_url":"https://api.github.com/users/FozzieBear/repos","events_url":"https://api.github.com/users/FozzieBear/events{/privacy}","received_events_url":"https://api.github.com/users/FozzieBear/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mpenning/ciscoconfparse/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"mpenning","id":36991,"avatar_url":"https://avatars.githubusercontent.com/u/36991?v=3","gravatar_id":"","url":"https://api.github.com/users/mpenning","html_url":"https://github.com/mpenning","followers_url":"https://api.github.com/users/mpenning/followers","following_url":"https://api.github.com/users/mpenning/following{/other_user}","gists_url":"https://api.github.com/users/mpenning/gists{/gist_id}","starred_url":"https://api.github.com/users/mpenning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpenning/subscriptions","organizations_url":"https://api.github.com/users/mpenning/orgs","repos_url":"https://api.github.com/users/mpenning/repos","events_url":"https://api.github.com/users/mpenning/events{/privacy}","received_events_url":"https://api.github.com/users/mpenning/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-06T18:21:26Z","updated_at":"2015-04-08T10:55:46Z","closed_at":null,"body":"CiscoConfParse 1.2.15 and greater appear to have issues importing correctly in Python 3.4.3 under Windows 7. Rolling back, 1.2.14 is the last version that appears to work as expected. Example below using 1.2.17.\r\n\r\n```python\r\nPython 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:43:06) [MSC v.1600 32 bit (Intel)] on win32\r\nType \"copyright\", \"credits\" or \"license()\" for more information.\r\n\r\n>>> from ciscoconfparse import CiscoConfParse\r\nTraceback (most recent call last):\r\n  File \"<pyshell#0>\", line 1, in <module>\r\n    from ciscoconfparse import CiscoConfParse\r\nImportError: cannot import name 'CiscoConfParse'\r\n\r\n>>> from ciscoconfparse import ciscoconfparse\r\nTraceback (most recent call last):\r\n  File \"<pyshell#1>\", line 1, in <module>\r\n    from ciscoconfparse import ciscoconfparse\r\n  File \"C:\\Users\\user\\virtuals\\test_env\\lib\\site-packages\\ciscoconfparse\\ciscoconfparse.py\", line 8, in <module>\r\n    from models_cisco import IOSHostnameLine, IOSRouteLine, IOSIntfLine\r\nImportError: No module named 'models_cisco'\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/mpenning/ciscoconfparse/issues/comments/90879619","html_url":"https://github.com/mpenning/ciscoconfparse/issues/32#issuecomment-90879619","issue_url":"https://api.github.com/repos/mpenning/ciscoconfparse/issues/32","id":90879619,"user":{"login":"mpenning","id":36991,"avatar_url":"https://avatars.githubusercontent.com/u/36991?v=3","gravatar_id":"","url":"https://api.github.com/users/mpenning","html_url":"https://github.com/mpenning","followers_url":"https://api.github.com/users/mpenning/followers","following_url":"https://api.github.com/users/mpenning/following{/other_user}","gists_url":"https://api.github.com/users/mpenning/gists{/gist_id}","starred_url":"https://api.github.com/users/mpenning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpenning/subscriptions","organizations_url":"https://api.github.com/users/mpenning/orgs","repos_url":"https://api.github.com/users/mpenning/repos","events_url":"https://api.github.com/users/mpenning/events{/privacy}","received_events_url":"https://api.github.com/users/mpenning/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T10:55:46Z","updated_at":"2015-04-08T10:55:46Z","body":"This problem was introduced by [``setup.py`` commit ``72240ce89b76143a3383e730ce16054cf66a9e0a``](https://github.com/mpenning/ciscoconfparse/commit/72240ce89b76143a3383e730ce16054cf66a9e0a#diff-2eeaed663bd0d25b7e608891384b7298) when I disabled the ``use_2to3`` flag.\r\n\r\nReverting that change fixes the problem on my system; please test on your system and let me know.  I took the liberty of pushing version 1.2.18 to pypi, since I know it fixes Py34 + ciscoconfparse problems in Windows Vista.\r\n\r\n![ccp_1_2_18_windows](https://cloud.githubusercontent.com/assets/36991/7043870/39b22d74-ddb3-11e4-9c99-1dbb0976a456.png)\r\n"}}