Using PyCall from pyjulia fails
See original GitHub issueI am using Julia Version 0.6.2 and Python 2.7.12 on linux.
In Julia, I can execute “using PyCall” without problems.
In Python, importing the julia module works fine, however, when creating the julia object, I get the following error:
ArgumentError("Module PyCall not found in current path.\nRun
Pkg.add("PyCall")to install the PyCall package.")Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/lukas/.local/lib/python2.7/site-packages/julia/core.py", line 370, in __init__ self._call(u"using PyCall") File "/home/lukas/.local/lib/python2.7/site-packages/julia/core.py", line 412, in _call self.check_exception(src) File "/home/lukas/.local/lib/python2.7/site-packages/julia/core.py", line 432, in check_exception .format(exception_type, src)) julia.core.JuliaError: Exception 'ArgumentError' occurred while calling julia code: using PyCall
I checked that both use the same Julia bin.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
It’s probably not an issue in PyJulia 0.2. Please reopen if not.
I will describe what I’ve done to set up pyjulia, please let me know if I have missed something. I know something similar works on Mac, so I don’t know why it doesn’t work on Ubuntu.
If I write julia.Julia(debug=True), I get the following exception, indicating that Julia path is correctly found: