Skip to content

no version of Julia is compatible #121

Closed
@yakir12

Description

@yakir12

I'm trying to use juliacall from python on a Raspberry Pi (32bit). But (not surprisingly) it fails to find a compatible Julia version. I have already the julia binaries (and soft links to them) in /usr/local/bin/julia. Is there a way for me to specify to juliacall the location of said binaries so that it won't attempt to download other binaries?

Error message:

Python 3.7.3 (default, Jan 22 2021, 20:04:44) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from juliacall import Main as jl
[juliapkg] Locating Julia ^1.6
[juliapkg] Querying Julia versions from https://julialang-s3.julialang.org/bin/versions.json
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/yakir/.local/lib/python3.7/site-packages/juliacall/__init__.py", line 137, in <module>
    init()
  File "/home/yakir/.local/lib/python3.7/site-packages/juliacall/__init__.py", line 95, in init
    CONFIG['exepath'] = exepath = juliapkg.executable()
  File "/home/yakir/.local/lib/python3.7/site-packages/juliapkg/deps.py", line 274, in executable
    resolve()
  File "/home/yakir/.local/lib/python3.7/site-packages/juliapkg/deps.py", line 228, in resolve
    exe, ver = find_julia(compat=compat, prefix=STATE['install'], install=True, upgrade=True)
  File "/home/yakir/.local/lib/python3.7/site-packages/juliapkg/find_julia.py", line 34, in find_julia
    verstr, _ = best_julia_version(compat)
  File "/home/yakir/.local/lib/python3.7/site-packages/juliapkg/install_julia.py", line 104, in best_julia_version
    raise Exception(f'no version of Julia is compatible with {compat}')
Exception: no version of Julia is compatible with ^1.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions