Skip to content

Bug when 1.6-DEV installed #174

Closed
Closed
@PallHaraldsson

Description

@PallHaraldsson

FYI, I had older julicall version, that apparently had downloaded Julia 1.7.2 already but then some different error. I got the latest juliacall with pip3:

$ python3.6
Python 3.6.9 (default, Mar 15 2022, 13:55:28) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from juliacall import Main as jl
[juliapkg] Locating Julia ^1.6
[juliapkg] WARNING: You have Julia None installed but ^1.6 is required.
[juliapkg]   It is recommended that you upgrade Julia or install JuliaUp.
[..]
[juliapkg] Verifying download
[juliapkg] Installing Julia 1.7.2 to /home/pharaldsson_sym/miniconda3/julia_env/pyjuliapkg/install
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pharaldsson_sym/.local/lib/python3.6/site-packages/juliacall/__init__.py", line 101, in <module>
    init()
  File "/home/pharaldsson_sym/.local/lib/python3.6/site-packages/juliacall/__init__.py", line 59, in init
    CONFIG['exepath'] = exepath = juliapkg.executable()
  File "/home/pharaldsson_sym/.local/lib/python3.6/site-packages/juliapkg/deps.py", line 288, in executable
    resolve()
  File "/home/pharaldsson_sym/.local/lib/python3.6/site-packages/juliapkg/deps.py", line 240, in resolve
    exe, ver = find_julia(compat=compat, prefix=STATE['install'], install=True, upgrade=True)
  File "/home/pharaldsson_sym/.local/lib/python3.6/site-packages/juliapkg/find_julia.py", line 88, in find_julia
    assert pr_ver is not None
AssertionError

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