{"action":"created","issue":{"url":"https://api.github.com/repos/nipy/nipype/issues/2507","repository_url":"https://api.github.com/repos/nipy/nipype","labels_url":"https://api.github.com/repos/nipy/nipype/issues/2507/labels{/name}","comments_url":"https://api.github.com/repos/nipy/nipype/issues/2507/comments","events_url":"https://api.github.com/repos/nipy/nipype/issues/2507/events","html_url":"https://github.com/nipy/nipype/issues/2507","id":308062152,"number":2507,"title":"ImportError: cannot import name '__version__'","user":{"login":"ggsf13","id":37303039,"avatar_url":"https://avatars0.githubusercontent.com/u/37303039?v=4","gravatar_id":"","url":"https://api.github.com/users/ggsf13","html_url":"https://github.com/ggsf13","followers_url":"https://api.github.com/users/ggsf13/followers","following_url":"https://api.github.com/users/ggsf13/following{/other_user}","gists_url":"https://api.github.com/users/ggsf13/gists{/gist_id}","starred_url":"https://api.github.com/users/ggsf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggsf13/subscriptions","organizations_url":"https://api.github.com/users/ggsf13/orgs","repos_url":"https://api.github.com/users/ggsf13/repos","events_url":"https://api.github.com/users/ggsf13/events{/privacy}","received_events_url":"https://api.github.com/users/ggsf13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-23T14:57:09Z","updated_at":"2018-03-23T15:01:10Z","closed_at":null,"author_association":"NONE","body":"### Summary\r\nAfter I install nipype, I tried  \"import nipype; print(nipype.__version__)\" , but I got an error ImportError: cannot import name '__version__'\r\n### Actual behavior\r\nhere is the detail:\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"D:\\softwares\\Annoconda3\\lib\\site-packages\\nipype\\__init__.py\", line 51, in <module>\r\n    from .pipeline import Node, MapNode, JoinNode, Workflow\r\n  File \"D:\\softwares\\Annoconda3\\lib\\site-packages\\nipype\\pipeline\\__init__.py\", line 11, in <module>\r\n    from .engine import Node, MapNode, JoinNode, Workflow\r\n  File \"D:\\softwares\\Annoconda3\\lib\\site-packages\\nipype\\pipeline\\engine\\__init__.py\", line 12, in <module>\r\n    from .workflows import Workflow\r\n  File \"D:\\softwares\\Annoconda3\\lib\\site-packages\\nipype\\pipeline\\engine\\workflows.py\", line 36, in <module>\r\n    from ...interfaces.base import (traits, TraitedSpec, TraitDictObject,\r\n  File \"D:\\softwares\\Annoconda3\\lib\\site-packages\\nipype\\interfaces\\__init__.py\", line 13, in <module>\r\n    from .io import DataGrabber, DataSink, SelectFiles, BIDSDataGrabber\r\n  File \"D:\\softwares\\Annoconda3\\lib\\site-packages\\nipype\\interfaces\\io.py\", line 43, in <module>\r\n    from .base import (\r\n  File \"D:\\softwares\\Annoconda3\\lib\\site-packages\\nipype\\interfaces\\base\\__init__.py\", line 11, in <module>\r\n    from .core import (Interface, BaseInterface, SimpleInterface, CommandLine,\r\n  File \"D:\\softwares\\Annoconda3\\lib\\site-packages\\nipype\\interfaces\\base\\core.py\", line 44, in <module>\r\n    from .traits_extension import traits, isdefined, TraitError\r\n  File \"D:\\softwares\\Annoconda3\\lib\\site-packages\\nipype\\interfaces\\base\\traits_extension.py\", line 31, in <module>\r\n    from traits import __version__ as traits_version\r\nImportError: cannot import name '__version__'\r\n### Expected behavior\r\n\r\n### How to replicate the behavior\r\n\r\n### Script/Workflow details\r\n\r\nPlease put URL to code or code here (if not too long).\r\n\r\n### Platform details:\r\n\r\nPlease paste the output of: `python -c \"import nipype; print(nipype.get_info()); print(nipype.__version__)\"`\r\n\r\n### Execution environment\r\n\r\nChoose one\r\n- Container [Tag: ???]\r\n- My python environment inside container [Base Tag: ???]\r\n- My python environment outside container\r\n"},"comment":{"url":"https://api.github.com/repos/nipy/nipype/issues/comments/375693604","html_url":"https://github.com/nipy/nipype/issues/2507#issuecomment-375693604","issue_url":"https://api.github.com/repos/nipy/nipype/issues/2507","id":375693604,"user":{"login":"mgxd","id":14110164,"avatar_url":"https://avatars1.githubusercontent.com/u/14110164?v=4","gravatar_id":"","url":"https://api.github.com/users/mgxd","html_url":"https://github.com/mgxd","followers_url":"https://api.github.com/users/mgxd/followers","following_url":"https://api.github.com/users/mgxd/following{/other_user}","gists_url":"https://api.github.com/users/mgxd/gists{/gist_id}","starred_url":"https://api.github.com/users/mgxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgxd/subscriptions","organizations_url":"https://api.github.com/users/mgxd/orgs","repos_url":"https://api.github.com/users/mgxd/repos","events_url":"https://api.github.com/users/mgxd/events{/privacy}","received_events_url":"https://api.github.com/users/mgxd/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T15:01:10Z","updated_at":"2018-03-23T15:01:10Z","author_association":"MEMBER","body":"@ggsf13 can you try \r\n```\r\n\"import nipype; print(nipype.__version__)\""}}
{"actor":{"display_login":"mgxd"}}