{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/PTVS/issues/560","labels_url":"https://api.github.com/repos/Microsoft/PTVS/issues/560/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/PTVS/issues/560/comments","events_url":"https://api.github.com/repos/Microsoft/PTVS/issues/560/events","html_url":"https://github.com/Microsoft/PTVS/issues/560","id":94011568,"number":560,"title":"Invoking / Calling python method from c#.net","user":{"login":"dipikaM2011","id":13253325,"avatar_url":"https://avatars.githubusercontent.com/u/13253325?v=3","gravatar_id":"","url":"https://api.github.com/users/dipikaM2011","html_url":"https://github.com/dipikaM2011","followers_url":"https://api.github.com/users/dipikaM2011/followers","following_url":"https://api.github.com/users/dipikaM2011/following{/other_user}","gists_url":"https://api.github.com/users/dipikaM2011/gists{/gist_id}","starred_url":"https://api.github.com/users/dipikaM2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dipikaM2011/subscriptions","organizations_url":"https://api.github.com/users/dipikaM2011/orgs","repos_url":"https://api.github.com/users/dipikaM2011/repos","events_url":"https://api.github.com/users/dipikaM2011/events{/privacy}","received_events_url":"https://api.github.com/users/dipikaM2011/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/PTVS/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-09T10:29:35Z","updated_at":"2015-07-09T10:57:23Z","closed_at":null,"body":"I wants to call python method from C#.net. But I'm still not getting proper solution for it..\r\nI have done following things - \r\n1. Created .net code for invoking python method. Used IronPython library in .net for calling python at starting phase. it was working but when I added import packages in python scrip it's giving me error - \"no module named json\".\r\n2. I have tried PVTS option for getting the output but still not able understand how it will be helpful for me to achieve my output. \r\n\r\nPlease anyone have a solution for it then let me know.\r\nI'll be very grateful if any one could please help me"},"comment":{"url":"https://api.github.com/repos/Microsoft/PTVS/issues/comments/119908534","html_url":"https://github.com/Microsoft/PTVS/issues/560#issuecomment-119908534","issue_url":"https://api.github.com/repos/Microsoft/PTVS/issues/560","id":119908534,"user":{"login":"int19h","id":1175142,"avatar_url":"https://avatars.githubusercontent.com/u/1175142?v=3","gravatar_id":"","url":"https://api.github.com/users/int19h","html_url":"https://github.com/int19h","followers_url":"https://api.github.com/users/int19h/followers","following_url":"https://api.github.com/users/int19h/following{/other_user}","gists_url":"https://api.github.com/users/int19h/gists{/gist_id}","starred_url":"https://api.github.com/users/int19h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/int19h/subscriptions","organizations_url":"https://api.github.com/users/int19h/orgs","repos_url":"https://api.github.com/users/int19h/repos","events_url":"https://api.github.com/users/int19h/events{/privacy}","received_events_url":"https://api.github.com/users/int19h/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T10:57:23Z","updated_at":"2015-07-09T10:57:23Z","body":"PTVS is not an implementation of Python, it is just an IDE. It is not going to help you with this.\r\n\r\nMost likely, your problem is that you're trying to use a library that just doesn't work with IronPython. Generally speaking, you will be able to use more libraries with regular Python, and you can use Python.NET (http://pythonnet.sourceforge.net/readme.html) to call into your C# code."}}