{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaInterop/pyjulia/issues/57","repository_url":"https://api.github.com/repos/JuliaInterop/pyjulia","labels_url":"https://api.github.com/repos/JuliaInterop/pyjulia/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/JuliaInterop/pyjulia/issues/57/comments","events_url":"https://api.github.com/repos/JuliaInterop/pyjulia/issues/57/events","html_url":"https://github.com/JuliaInterop/pyjulia/issues/57","id":167217572,"number":57,"title":"Python version error when creating julia object","user":{"login":"sondree","id":2277465,"avatar_url":"https://avatars.githubusercontent.com/u/2277465?v=3","gravatar_id":"","url":"https://api.github.com/users/sondree","html_url":"https://github.com/sondree","followers_url":"https://api.github.com/users/sondree/followers","following_url":"https://api.github.com/users/sondree/following{/other_user}","gists_url":"https://api.github.com/users/sondree/gists{/gist_id}","starred_url":"https://api.github.com/users/sondree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondree/subscriptions","organizations_url":"https://api.github.com/users/sondree/orgs","repos_url":"https://api.github.com/users/sondree/repos","events_url":"https://api.github.com/users/sondree/events{/privacy}","received_events_url":"https://api.github.com/users/sondree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-24T05:13:07Z","updated_at":"2016-07-24T14:17:08Z","closed_at":null,"body":"I am attempting to get pyjulia to run on Linux mint 17.3 (Ubuntu derivative).  I have installed latest version of Julia from precompiled repositories (official) and latest version of pyjulia from Github.\r\n\r\nLoading the pyjulia module works, but creating a Julia object results in the following output:\r\n\r\n>import julia\r\n\r\n>  j = julia.Julia()\r\n> ErrorException(\"Using pyjulia with a statically-compiled version\\nof python or with a version of python that\\ndiffers from that used by PyCall.jl is not\\nsupported on julia 0.4\")Traceback (most recent call last):\r\n>   File \"<stdin>\", line 1, in <module>\r\n>   File \"julia/core.py\", line 332, in __init__\r\n>     \"\"\")\r\n>   File \"julia/core.py\", line 392, in _call\r\n>     self.check_exception(src)\r\n>   File \"julia/core.py\", line 412, in check_exception\r\n>     .format(exception_type, src))\r\n> julia.core.JuliaError: Exception 'ErrorException' occurred while calling julia code:\r\n> \r\n>                     if VERSION < v\"0.5-\"\r\n>                         error(\"\"\"Using pyjulia with a statically-compiled version\r\n>                                   of python or with a version of python that\r\n>                                   differs from that used by PyCall.jl is not\r\n>                                   supported on julia 0.4\"\"\")\r\n>                     end\r\n>                 \r\n\r\nI have both python2.7 and python3 installed but the python shell above was started using python2.7. \r\n\r\nFurther debugging against the error message lead me to the option of specifying the python version used by PyCall (Julia package). \r\n\r\nIn a Julia shell:\r\n\r\n> ENV[\"PYTHON\"] = \"/usr/bin/python2.7\"\r\n> Pkg.build(\"PyCall\")\r\n> using PyCall\r\n\r\nThis does not resolve the problem. The specific python version I am using is 2.7.6 and Julia version 0.4.6\r\n\r\nAny assistance would be appreciated."},"comment":{"url":"https://api.github.com/repos/JuliaInterop/pyjulia/issues/comments/234779714","html_url":"https://github.com/JuliaInterop/pyjulia/issues/57#issuecomment-234779714","issue_url":"https://api.github.com/repos/JuliaInterop/pyjulia/issues/57","id":234779714,"user":{"login":"sondree","id":2277465,"avatar_url":"https://avatars.githubusercontent.com/u/2277465?v=3","gravatar_id":"","url":"https://api.github.com/users/sondree","html_url":"https://github.com/sondree","followers_url":"https://api.github.com/users/sondree/followers","following_url":"https://api.github.com/users/sondree/following{/other_user}","gists_url":"https://api.github.com/users/sondree/gists{/gist_id}","starred_url":"https://api.github.com/users/sondree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondree/subscriptions","organizations_url":"https://api.github.com/users/sondree/orgs","repos_url":"https://api.github.com/users/sondree/repos","events_url":"https://api.github.com/users/sondree/events{/privacy}","received_events_url":"https://api.github.com/users/sondree/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T14:17:08Z","updated_at":"2016-07-24T14:17:08Z","body":"> ldd /usr/bin/python2.7\r\n\r\n> \tlinux-vdso.so.1 =>  (0x00007ffe2c516000)\r\n> \tlibpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5523d72000)\r\n> \tlibc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f55239ad000)\r\n> \tlibdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f55237a8000)\r\n> \tlibutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f55235a5000)\r\n> \tlibz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f552338c000)\r\n> \tlibm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5523085000)\r\n> \t/lib64/ld-linux-x86-64.so.2 (0x00007f5523fb4000)\r\n> "}}
{"actor":{"display_login":"sondree"}}