pyjulia icon indicating copy to clipboard operation
pyjulia copied to clipboard

__init__ when importing Base

Open danilinx opened this issue 4 years ago • 0 comments

I also get a warning for PyCall by running julia.install()

julia.install() [ Info: Julia version info Julia Version 1.6.2 Commit 1b93d53fc4 (2021-07-14 15:36 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) Ubuntu 20.04.3 LTS uname: Linux 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 x86_64 CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz: speed user nice sys idle irq #1-12 4084 MHz 78182 s 115 s 28318 s 3461819 s 0 s

Memory: 15.56124496459961 GB (6338.5703125 MB free) Uptime: 29824.0 sec Load Avg: 0.37 0.32 0.23 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-11.0.1 (ORCJIT, skylake) Environment: MANDATORY_PATH = /usr/share/gconf/ubuntu.mandatory.path WINDOWPATH = 2 HOME = /home/andre TERM = xterm-256color DEFAULTS_PATH = /usr/share/gconf/ubuntu.default.path PATH = /home/andre/venvs/epf_toolbox_venv/epftoolbox_venv/bin:/home/andre/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/julia/bin [ Info: Julia executable: /opt/julia/bin/julia [ Info: Trying to import PyCall... ┌ Warning: PyCall is already installed. However, you may have trouble using │ this Python executable because it is statically linked to libpython. │ │ For more information, see: │ https://pyjulia.readthedocs.io/en/latest/troubleshooting.html │ │ Python executable: │ /home/andre/venvs/epf_toolbox_venv/epftoolbox_venv/bin/python │ Julia executable: │ /opt/julia/bin/julia └ @ Main ~/venvs/epf_toolbox_venv/epftoolbox_venv/lib/python3.6/site-packages/julia/install.jl:90

from julia import Base Traceback (most recent call last): File "", line 1, in File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 656, in _load_unlocked File "", line 626, in _load_backward_compatible File "/home/andre/venvs/epf_toolbox_venv/epftoolbox_venv/lib/python3.6/site-packages/julia/core.py", line 248, in load_module elif self.julia.isafunction(juliapath): File "/home/andre/venvs/epf_toolbox_venv/epftoolbox_venv/lib/python3.6/site-packages/julia/core.py", line 239, in julia self.class.julia = julia = Julia() File "/home/andre/venvs/epf_toolbox_venv/epftoolbox_venv/lib/python3.6/site-packages/julia/core.py", line 468, in init jlinfo = JuliaInfo.load(runtime) File "/home/andre/venvs/epf_toolbox_venv/epftoolbox_venv/lib/python3.6/site-packages/julia/juliainfo.py", line 97, in load return cls(julia, *args) TypeError: init() takes from 6 to 11 positional arguments but 13 were given

danilinx avatar Sep 22 '21 16:09 danilinx