After calling Pkg.Build("PyCall") I'm still having the same issue with 
1.7.0. When I run julia from python:

Python 2.7.6 (default, Jun 22 2015, 17:58:13) 

[GCC 4.8.2] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import julia

>>> julia.Julia()

ERROR: UndefVarError: dlpath not defined

 in process_options at ./client.jl:257

 in _start at ./client.jl:378

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/home/alex/.local/lib/python2.7/site-packages/julia/core.py", line 
244, in __init__

    raise JuliaError('error starting up the Julia process')

julia.core.JuliaError: error starting up the Julia process



On Tuesday, March 1, 2016 at 7:40:03 AM UTC-8, Neal Becker wrote:
>
> From time-to-time, I get interested in trying out moving some of my work 
> from python to julia.  Before I can even start, I need to be able to call 
> from python to julia.  But I've never gotten pyjulia to work on 
> linux/fedora 
> (currently 23).  I've tried the fedora version of julia (0.4.3), and I've 
> built my own julia today from master, and in both cases I get: 
>
> j = julia.Julia (jl_init_path='/home/nbecker/julia') 
> ERROR: UndefVarError: dlpath not defined 
>  in eval(::Module, ::Any) at ./boot.jl:267 
>  [inlined code] from ./sysimg.jl:14 
>  in process_options(::Base.JLOptions) at ./client.jl:239 
>  in _start() at ./client.jl:318 
> Traceback (most recent call last): 
>   File "/home/nbecker/pyjulia/julia/core.py", line 238, in __init__ 
>     """]) 
>   File "/usr/lib64/python3.4/subprocess.py", line 620, in check_output 
>     raise CalledProcessError(retcode, process.args, output=output) 
> subprocess.CalledProcessError: Command 
> '['/home/nbecker/julia/usr/bin/julia', '-e', '\n                     
> println(JULIA_HOME)\n                     
> println(Sys.dlpath(dlopen("libjulia")))\n                     ']' returned 
> non-zero exit status 1 
>
> During handling of the above exception, another exception occurred: 
>
> Traceback (most recent call last): 
>   File "<stdin>", line 1, in <module> 
>   File "/home/nbecker/pyjulia/julia/core.py", line 244, in __init__ 
>     raise JuliaError('error starting up the Julia process') 
> julia.core.JuliaError: error starting up the Julia process 
>
>

Reply via email to