{"action":"created","issue":{"url":"https://api.github.com/repos/FRESNA/PyPSA/issues/9","repository_url":"https://api.github.com/repos/FRESNA/PyPSA","labels_url":"https://api.github.com/repos/FRESNA/PyPSA/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/FRESNA/PyPSA/issues/9/comments","events_url":"https://api.github.com/repos/FRESNA/PyPSA/issues/9/events","html_url":"https://github.com/FRESNA/PyPSA/issues/9","id":190932828,"number":9,"title":"No module named 'resource' on Windows","user":{"login":"mariusves","id":20186954,"avatar_url":"https://avatars.githubusercontent.com/u/20186954?v=3","gravatar_id":"","url":"https://api.github.com/users/mariusves","html_url":"https://github.com/mariusves","followers_url":"https://api.github.com/users/mariusves/followers","following_url":"https://api.github.com/users/mariusves/following{/other_user}","gists_url":"https://api.github.com/users/mariusves/gists{/gist_id}","starred_url":"https://api.github.com/users/mariusves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariusves/subscriptions","organizations_url":"https://api.github.com/users/mariusves/orgs","repos_url":"https://api.github.com/users/mariusves/repos","events_url":"https://api.github.com/users/mariusves/events{/privacy}","received_events_url":"https://api.github.com/users/mariusves/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-22T08:12:45Z","updated_at":"2016-11-22T14:18:50Z","closed_at":"2016-11-22T14:15:28Z","body":"After upgrading to 0.7.0 importing PyPSA raises the error:\r\n\r\n```\r\nTraceback (most recent call last):\r\n\r\n  File \"<ipython-input-1-204dc4f75877>\", line 1, in <module>\r\n    import pypsa\r\n\r\n  File \"C:\\Users\\Marius\\Anaconda3\\lib\\site-packages\\pypsa\\__init__.py\", line 27, in <module>\r\n    from . import components\r\n\r\n  File \"C:\\Users\\Marius\\Anaconda3\\lib\\site-packages\\pypsa\\components.py\", line 60, in <module>\r\n    from .contingency import (calculate_BODF, network_lpf_contingency,\r\n\r\n  File \"C:\\Users\\Marius\\Anaconda3\\lib\\site-packages\\pypsa\\contingency.py\", line 42, in <module>\r\n    from .opt import l_constraint\r\n\r\n  File \"C:\\Users\\Marius\\Anaconda3\\lib\\site-packages\\pypsa\\opt.py\", line 37, in <module>\r\n    import resource\r\n\r\nImportError: No module named 'resource'\r\n```\r\nI'm using Windows 10 and Python 3.5.1 currently, so maybe \"resource\" is linux only?"},"comment":{"url":"https://api.github.com/repos/FRESNA/PyPSA/issues/comments/262251983","html_url":"https://github.com/FRESNA/PyPSA/issues/9#issuecomment-262251983","issue_url":"https://api.github.com/repos/FRESNA/PyPSA/issues/9","id":262251983,"user":{"login":"coroa","id":2552981,"avatar_url":"https://avatars.githubusercontent.com/u/2552981?v=3","gravatar_id":"","url":"https://api.github.com/users/coroa","html_url":"https://github.com/coroa","followers_url":"https://api.github.com/users/coroa/followers","following_url":"https://api.github.com/users/coroa/following{/other_user}","gists_url":"https://api.github.com/users/coroa/gists{/gist_id}","starred_url":"https://api.github.com/users/coroa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coroa/subscriptions","organizations_url":"https://api.github.com/users/coroa/orgs","repos_url":"https://api.github.com/users/coroa/repos","events_url":"https://api.github.com/users/coroa/events{/privacy}","received_events_url":"https://api.github.com/users/coroa/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T14:18:50Z","updated_at":"2016-11-22T14:18:50Z","body":"Hi Marius,\n\nThanks for raising. I should have checked that it is available for\neveryone.\n\nA bugfix release should follow soon.\n\nJonas\n\nOn Tue, Nov 22 2016, Marius Vespermann wrote:\n\n> After upgrading to 0.7.0 importing PyPSA raises the error:\n>\n> ```\n> Traceback (most recent call last):\n>\n>   File \"<ipython-input-1-204dc4f75877>\", line 1, in <module>\n>     import pypsa\n>\n>   File \"C:\\Users\\Marius\\Anaconda3\\lib\\site-packages\\pypsa\\__init__.py\", line 27, in <module>\n>     from . import components\n>\n>   File \"C:\\Users\\Marius\\Anaconda3\\lib\\site-packages\\pypsa\\components.py\", line 60, in <module>\n>     from .contingency import (calculate_BODF, network_lpf_contingency,\n>\n>   File \"C:\\Users\\Marius\\Anaconda3\\lib\\site-packages\\pypsa\\contingency.py\", line 42, in <module>\n>     from .opt import l_constraint\n>\n>   File \"C:\\Users\\Marius\\Anaconda3\\lib\\site-packages\\pypsa\\opt.py\", line 37, in <module>\n>     import resource\n>\n> ImportError: No module named 'resource'\n> ```\n> I'm using Windows 10 and Python 3.5.1 currently, so maybe \"resource\" is linux only?\n>\n> -- \n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub:\n> https://github.com/FRESNA/PyPSA/issues/9\n"}}
{"actor":{"display_login":"coroa"}}