JuliaPy / JuliaPy/PyCall.jl

LLVM ERROR: inconsistency in registered CommandLine options

Offen
#810 15 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
1.5k
Forks
186
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

We have an internal python library that I'm trying to import using PyCall. `pyimport` of one particular module causes julia (v1.5.1) to crash with the error below
```julia
julia> using PyCall

julia> pyimport("cb.log")
: CommandLine Error: Option 'debug-pass' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
```
Importing the same module in python causes no issue
```
(venv) NCC-50446 ~/cblib> python
Python 3.7.9 (default, Aug 18 2020, 02:07:21)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cb.log
>>>
```
I've googled around a bit but can't really understand what the issue is, does the python library link to a different version of LLVM than julia, causing this issue? If so, is there any known workaround?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.