{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaDiffEq/FEniCS.jl/issues/37","repository_url":"https://api.github.com/repos/JuliaDiffEq/FEniCS.jl","labels_url":"https://api.github.com/repos/JuliaDiffEq/FEniCS.jl/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/JuliaDiffEq/FEniCS.jl/issues/37/comments","events_url":"https://api.github.com/repos/JuliaDiffEq/FEniCS.jl/issues/37/events","html_url":"https://github.com/JuliaDiffEq/FEniCS.jl/issues/37","id":264042164,"number":37,"title":"problem running the example","user":{"login":"francispoulin","id":8239041,"avatar_url":"https://avatars3.githubusercontent.com/u/8239041?v=4","gravatar_id":"","url":"https://api.github.com/users/francispoulin","html_url":"https://github.com/francispoulin","followers_url":"https://api.github.com/users/francispoulin/followers","following_url":"https://api.github.com/users/francispoulin/following{/other_user}","gists_url":"https://api.github.com/users/francispoulin/gists{/gist_id}","starred_url":"https://api.github.com/users/francispoulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francispoulin/subscriptions","organizations_url":"https://api.github.com/users/francispoulin/orgs","repos_url":"https://api.github.com/users/francispoulin/repos","events_url":"https://api.github.com/users/francispoulin/events{/privacy}","received_events_url":"https://api.github.com/users/francispoulin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2017-10-09T22:15:45Z","updated_at":"2018-02-22T02:35:51Z","closed_at":"2018-02-15T23:19:48Z","author_association":"NONE","body":"Sorry for asking so many questions is so many different packages of Julia but I have one more to throughout there.\r\n\r\nFirst, I think it's pretty exciting that Julia is trying to run FEniCS, and I am very keen to give this a try and maybe even contribute to it if I can.\r\n\r\nI tried to add and build FEniCS, like I think was stated in the tutorial, but when I first tried \"using FEniCS\" I got an error. \r\n\r\nIt seemed to me that I should try installing mshr, which I tried but failed with the suggestion that I found in the error message. \r\n\r\nBuilding PyCall seemed to help so that now I can do \"using FEniCS\" without any error.  However, when I go to the next line in the tutorial I get an error.  \r\n\r\nAgain, sorry for all the questions, but can someone maybe point me in the right direction?  I realize that the FEM example might make this unnecessary but I thought I might be able to compare them and see which one works better for me.\r\n\r\nAny thoughts would be greatly appreciated.\r\n\r\n\r\n```\r\njulia> using FEniCS\r\nERROR: LoadError: LoadError: PyError (ccall(@pysym(:PyImport_ImportModule), PyPtr, (Cstring,), name)\r\n\r\nThe Python package mshr could not be found by pyimport. Usually this means\r\nthat you did not install mshr in the Python version being used by PyCall.\r\n\r\nPyCall is currently configured to use the Julia-specific Python distribution\r\ninstalled by the Conda.jl package.  To install the mshr module, you can\r\nuse `pyimport_conda(\"mshr\", PKG)`, where PKG is the Anaconda\r\npackage the contains the module mshr, or alternatively you can use the\r\nConda package directly (via `using Conda` followed by `Conda.add` etcetera).\r\n\r\nAlternatively, if you want to use a different Python distribution on your\r\nsystem, such as a system-wide Python (as opposed to the Julia-specific Python),\r\nyou can re-configure PyCall with that Python.   As explained in the PyCall\r\ndocumentation, set ENV[\"PYTHON\"] to the path/name of the python executable\r\nyou want to use, run Pkg.build(\"PyCall\"), and re-launch Julia.\r\n\r\n) <type 'exceptions.ImportError'>\r\nImportError('No module named mshr',)\r\n\r\nStacktrace:\r\n [1] pyerr_check at /home/fpoulin/.julia/v0.6/PyCall/src/exception.jl:56 [inlined]\r\n [2] pyerr_check at /home/fpoulin/.julia/v0.6/PyCall/src/exception.jl:61 [inlined]\r\n [3] macro expansion at /home/fpoulin/.julia/v0.6/PyCall/src/exception.jl:81 [inlined]\r\n [4] pyimport(::String) at /home/fpoulin/.julia/v0.6/PyCall/src/PyCall.jl:374\r\n [5] include_from_node1(::String) at ./loading.jl:569\r\n [6] include(::String) at ./sysimg.jl:14\r\n [7] include_from_node1(::String) at ./loading.jl:569\r\n [8] eval(::Module, ::Any) at ./boot.jl:235\r\n [9] _require(::Symbol) at ./loading.jl:483\r\n [10] require(::Symbol) at ./loading.jl:398\r\nwhile loading /home/fpoulin/.julia/v0.6/FEniCS/src/jmesh.jl, in expression starting on line 467\r\nwhile loading /home/fpoulin/.julia/v0.6/FEniCS/src/FEniCS.jl, in expression starting on line 35\r\n\r\njulia> pyimport_conda(\"mshr\", PKG)\r\nERROR: UndefVarError: pyimport_conda not defined\r\n\r\njulia> using Conda\r\n\r\njulia> pyimport_conda(\"mshr\", PKG)\r\nERROR: UndefVarError: pyimport_conda not defined\r\n\r\njulia> Pkg.build(\"PyCall\")\r\nINFO: Building Conda\r\nINFO: Building PyCall\r\nINFO: PyCall is using /home/fpoulin/.julia/v0.6/Conda/deps/usr/bin/python (Python 2.7.13) at /home/fpoulin/.julia/v0.6/Conda/deps/usr/bin/python, libpython = /home/fpoulin/.julia/v0.6/Conda/deps/usr/lib/libpython2.7\r\nINFO: /home/fpoulin/.julia/v0.6/PyCall/deps/deps.jl has not changed\r\nINFO: /home/fpoulin/.julia/v0.6/PyCall/deps/PYTHON has not changed\r\n\r\njulia> pyimport_conda(\"mshr\", PKG)\r\nERROR: UndefVarError: pyimport_conda not defined\r\n\r\njulia> using FEniCS\r\n\r\njulia> mesh = UnitSquareMesh(8,8) \r\nERROR: UndefVarError: UnitSquareMesh not defined\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaDiffEq/FEniCS.jl/issues/comments/367547956","html_url":"https://github.com/JuliaDiffEq/FEniCS.jl/issues/37#issuecomment-367547956","issue_url":"https://api.github.com/repos/JuliaDiffEq/FEniCS.jl/issues/37","id":367547956,"user":{"login":"ChrisRackauckas","id":1814174,"avatar_url":"https://avatars2.githubusercontent.com/u/1814174?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisRackauckas","html_url":"https://github.com/ChrisRackauckas","followers_url":"https://api.github.com/users/ChrisRackauckas/followers","following_url":"https://api.github.com/users/ChrisRackauckas/following{/other_user}","gists_url":"https://api.github.com/users/ChrisRackauckas/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisRackauckas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisRackauckas/subscriptions","organizations_url":"https://api.github.com/users/ChrisRackauckas/orgs","repos_url":"https://api.github.com/users/ChrisRackauckas/repos","events_url":"https://api.github.com/users/ChrisRackauckas/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisRackauckas/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T02:35:51Z","updated_at":"2018-02-22T02:35:51Z","author_association":"OWNER","body":"Good to hear!"}}
{"actor":{"display_login":"ChrisRackauckas"}}