{"action":"created","issue":{"url":"https://api.github.com/repos/BBN-Q/PyQLab/issues/26","labels_url":"https://api.github.com/repos/BBN-Q/PyQLab/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/BBN-Q/PyQLab/issues/26/comments","events_url":"https://api.github.com/repos/BBN-Q/PyQLab/issues/26/events","html_url":"https://github.com/BBN-Q/PyQLab/issues/26","id":65765903,"number":26,"title":"Anaconda 2.2.0 h5py import error","user":{"login":"bcdonovan","id":1385694,"avatar_url":"https://avatars.githubusercontent.com/u/1385694?v=3","gravatar_id":"","url":"https://api.github.com/users/bcdonovan","html_url":"https://github.com/bcdonovan","followers_url":"https://api.github.com/users/bcdonovan/followers","following_url":"https://api.github.com/users/bcdonovan/following{/other_user}","gists_url":"https://api.github.com/users/bcdonovan/gists{/gist_id}","starred_url":"https://api.github.com/users/bcdonovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcdonovan/subscriptions","organizations_url":"https://api.github.com/users/bcdonovan/orgs","repos_url":"https://api.github.com/users/bcdonovan/repos","events_url":"https://api.github.com/users/bcdonovan/events{/privacy}","received_events_url":"https://api.github.com/users/bcdonovan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BBN-Q/PyQLab/labels/confirmed","name":"confirmed","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-01T19:52:58Z","updated_at":"2015-04-02T00:21:17Z","closed_at":null,"body":"While attempting to follow the example notebook I received the following error from the startup.py script:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"startup.py\", line 2, in <module>\r\n    from Libraries import instrumentLib, channelLib\r\n  File \"C:\\Projects\\Q\\src\\PyQLab\\Libraries.py\", line 7, in <module>\r\n    from QGL.Channels import ChannelLibrary\r\n  File \"C:\\Projects\\Q\\src\\PyQLab\\QGL\\__init__.py\", line 1, in <module>\r\n    from Channels import QubitFactory, MeasFactory, Qubit\r\n  File \"C:\\Projects\\Q\\src\\PyQLab\\QGL\\Channels.py\", line 25, in <module>\r\n    import Compiler\r\n  File \"C:\\Projects\\Q\\src\\PyQLab\\QGL\\Compiler.py\", line 35, in <module>\r\n    from APSPattern import write_APS_file\r\n  File \"C:\\Projects\\Q\\src\\PyQLab\\QGL\\APSPattern.py\", line 19, in <module>\r\n    import h5py\r\n  File \"C:\\Apps\\Anaconda\\lib\\site-packages\\h5py\\__init__.py\", line 13, in <module>\r\n    from h5py import _conv\r\n  File \"h5py\\h5r.pxd\", line 21, in init h5py._conv (D:\\Build\\h5py\\h5py-2.4.x\\h5py\\_conv.c:6809)\r\n  File \"h5py\\_objects.pxd\", line 12, in init h5py.h5r (D:\\Build\\h5py\\h5py-2.4.x\\h5py\\h5r.c:2824)\r\n  File \"h5py\\_objects.pyx\", line 1, in init h5py._objects (D:\\Build\\h5py\\h5py-2.4.x\\h5py\\_objects.c:6927)\r\nImportError: DLL load failed: The specified procedure could not be found.\r\n```\r\n\r\nAdding \r\n```\r\nimport h5py\r\n```\r\nas the first line of the startup.py script eliminates the error. "},"comment":{"url":"https://api.github.com/repos/BBN-Q/PyQLab/issues/comments/88673097","html_url":"https://github.com/BBN-Q/PyQLab/issues/26#issuecomment-88673097","issue_url":"https://api.github.com/repos/BBN-Q/PyQLab/issues/26","id":88673097,"user":{"login":"caryan","id":1385106,"avatar_url":"https://avatars.githubusercontent.com/u/1385106?v=3","gravatar_id":"","url":"https://api.github.com/users/caryan","html_url":"https://github.com/caryan","followers_url":"https://api.github.com/users/caryan/followers","following_url":"https://api.github.com/users/caryan/following{/other_user}","gists_url":"https://api.github.com/users/caryan/gists{/gist_id}","starred_url":"https://api.github.com/users/caryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caryan/subscriptions","organizations_url":"https://api.github.com/users/caryan/orgs","repos_url":"https://api.github.com/users/caryan/repos","events_url":"https://api.github.com/users/caryan/events{/privacy}","received_events_url":"https://api.github.com/users/caryan/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T00:21:17Z","updated_at":"2015-04-02T00:21:17Z","body":"Also present on Linux updating to Anaconda 2.2.  Although there even more broken:\r\n\r\n```python\r\nPython 2.7.9 |Anaconda 2.2.0 (64-bit)| (default, Mar  9 2015, 16:20:48) \r\nType \"copyright\", \"credits\" or \"license\" for more information.\r\n\r\nIPython 3.0.0 -- An enhanced Interactive Python.\r\nAnaconda is brought to you by Continuum Analytics.\r\nPlease check out: http://continuum.io/thanks and https://binstar.org\r\n?         -> Introduction and overview of IPython's features.\r\n%quickref -> Quick reference.\r\nhelp      -> Python's own help system.\r\nobject?   -> Details about 'object', use 'object??' for extra details.\r\n\r\nIn [1]: import h5py\r\n---------------------------------------------------------------------------\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-1-e81388eeaef8> in <module>()\r\n----> 1 import h5py\r\n\r\n/home/cryan/anaconda/lib/python2.7/site-packages/h5py/__init__.py in <module>()\r\n      8 #           and contributor agreement.\r\n      9 \r\n---> 10 from h5py import _errors\r\n     11 _errors.silence_errors()\r\n     12 \r\n\r\nImportError: libhdf5.so.8: cannot open shared object file: No such file or directory\r\n```\r\n\r\nh5py seems to be built against libhdf5.so.8 but .9 is installed in anaconda/lib"}}