Skip to content

Running test_core.py problem with dlpath #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
FacundoGFlores opened this issue Oct 21, 2014 · 3 comments
Closed

Running test_core.py problem with dlpath #21

FacundoGFlores opened this issue Oct 21, 2014 · 3 comments

Comments

@FacundoGFlores
Copy link

I installed julia from the ubuntu repository, and I also tested compiling the version 0.3, and it still does not work.

I'm trying to run the program "test_core.py" and I get:

python test_core.py 
ERROR: dlpath not defined
 in process_options at client.jl:242
 in _start at client.jl:389
Traceback (most recent call last):
  File "test_core.py", line 7, in <module>
    julia = Julia()
  File "/usr/local/lib/python2.7/dist-packages/julia/core.py", line 228, in __init__
    raise JuliaError('error starting up the Julia process')
julia.core.JuliaError: error starting up the Julia process

The same error appears when I just try (inside python)

import julia
julia.Julia()
@stevengj
Copy link
Member

Sys.dlpath was introduced in Julia 0.3. So probably you are not using it: you need to modify your PATH environment variable so that julia gives you Julia 0.3 or later, not Julia 0.2.

@jacksonloper
Copy link

Sys.dlpath appears to have been deprecated in Julia 0.5 in favor of Libdl.dlpath

JuliaLang/julia#10328

@Keno
Copy link
Contributor

Keno commented Jul 18, 2016

Fixed by #54.

@Keno Keno closed this as completed Jul 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants