Linux julia:key“中的设置错误_IXIndexer";找不到

Linux julia:key“中的设置错误_IXIndexer";找不到,linux,pandas,docker,cmake,julia,Linux,Pandas,Docker,Cmake,Julia,我对docker或julia完全陌生,我需要在Linux(Ubuntu20.04)上构建dockerfile并需要帮助 我的dockerfile运行时出现以下错误: 错误:LoadError:InitError:KeyError:key“\u IXIndexer”未找到 以下是setup.jl代码: Pkg.init() Pkg.add("Pandas") Pkg.add("JLD") # Force compile using Pandas using

我对docker或julia完全陌生,我需要在Linux(Ubuntu20.04)上构建dockerfile并需要帮助
我的dockerfile运行时出现以下错误:

错误:LoadError:InitError:KeyError:key“\u IXIndexer”未找到

以下是setup.jl代码:

Pkg.init()
Pkg.add("Pandas")
Pkg.add("JLD")
# Force compile
using Pandas
using JLD

Pkg.add("ArgParse")
这是我的错误的完整日志
(对不起,太宽泛了,因为我对上下文没有任何理解)

Info:正在尝试创建目录/root/.julia/v0.6/cmakewapper/deps/downloads
信息:下载文件https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz
%总接收百分比%x平均速度时间电流
数据加载上载总左速度
100 29.2M 100 29.2M 0 0 973k 0:00:30 0:00:30----------------4718k
信息:完成下载文件https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz
信息:正在尝试创建目录/root/.julia/v0.6/CMakeWrapper/deps
信息:目录/root/.julia/v0.6/CMakeWrapper/deps已存在
信息:正在尝试创建目录/root/.julia/v0.6/CMakeWrapper/deps/usr/bin
cmake版本3.7.2
由Kitware(Kitware.com/CMake)维护和支持的CMake套件。
信息:建筑群
信息:下载https://github.com/stevengj/BloscBuilder/releases/download/v1.14.3+5/Blosc.v1.14.3.x86_64-linux-gnu.tar.gz到/root/.julia/v0.6/Blosc/deps/usr/downloads/Blosc.v1.14.3.x86_64-linux-gnu.tar.gz。。。
[01:15:50] #####################################################################[01:15:50] #                                                                    [01:15:50] ####                                                                 [01:15:50] ###########                                                          [01:15:50] #########################                                            [01:15:51] ###############################################                      [01:15:51] #####################################################################[01:15:51] ######################################################################## 100.0%
信息:大厦HDF5
信息:包数据库已更新
警告:隐式矢量化函数已被弃用,取而代之的是紧凑的广播语法。
堆栈跟踪:
[1] depwarn(::字符串,::符号)位于./deprecated.jl:70
[2] @dep_vectorize_1arg(::ANY,::ANY)位于/root/.julia/v0.6/Compat/src/deprecated.jl:18
[3] 在./loading.jl:576中包含来自节点1(::字符串)的
[4] 在./sysimg.jl:14处包含(::字符串)
[5] 在./loading.jl:576中包含来自节点1(::字符串)的
[6] 在./sysimg.jl:14处包含(::字符串)
[7] 匿名电话./:2
[8] eval(::模块,::任意)在./boot.jl:235
[9] 在./client.jl:286处理_选项(::Base.JLOptions)
[10] _start()位于./client.jl:371
在从第152行开始的表达式中加载/root/.julia/v0.6/Colors/src/algorithms.jl时
警告:隐式矢量化函数已被弃用,取而代之的是紧凑的广播语法。
堆栈跟踪:
[1] depwarn(::字符串,::符号)位于./deprecated.jl:70
[2] @dep_vectorize_1arg(::ANY,::ANY)位于/root/.julia/v0.6/Compat/src/deprecated.jl:18
[3] 在./loading.jl:576中包含来自节点1(::字符串)的
[4] 在./sysimg.jl:14处包含(::字符串)
[5] 在./loading.jl:576中包含来自节点1(::字符串)的
[6] 在./sysimg.jl:14处包含(::字符串)
[7] 匿名电话./:2
[8] eval(::模块,::任意)在./boot.jl:235
[9] 在./client.jl:286处理_选项(::Base.JLOptions)
[10] _start()位于./client.jl:371
在从第153行开始的表达式中加载/root/.julia/v0.6/Colors/src/algorithms.jl时
警告:隐式矢量化函数已被弃用,取而代之的是紧凑的广播语法。
堆栈跟踪:
[1] depwarn(::字符串,::符号)位于./deprecated.jl:70
[2] @dep_vectorize_1arg(::ANY,::ANY)位于/root/.julia/v0.6/Compat/src/deprecated.jl:18
[3] 在./loading.jl:576中包含来自节点1(::字符串)的
[4] 在./sysimg.jl:14处包含(::字符串)
[5] 在./loading.jl:576中包含来自节点1(::字符串)的
[6] 在./sysimg.jl:14处包含(::字符串)
[7] 匿名电话./:2
[8] eval(::模块,::任意)在./boot.jl:235
[9] 在./client.jl:286处理_选项(::Base.JLOptions)
[10] _start()位于./client.jl:371
在从第154行开始的表达式中加载/root/.julia/v0.6/Colors/src/algorithms.jl时
错误:LoadError:InitError:KeyError:key“\u IXIndexer”未找到
堆栈跟踪:
[1] getindex(::PyCall.PyObject,::String)位于/root/.julia/v0.6/PyCall/src/PyCall.jl:289
[2] (::Pandas.##21#24)at/root/.julia/v0.6/Pandas/src/Pandas.jl:194
[3] 位于/root/.julia/v0.6/Pandas/src/Pandas.jl:26的
[4] _include_from_序列化(::字符串)在./loading.jl:157
[5] _require_from_序列化(::Int64,::Symbol,::String,::Bool)在./loading.jl:200
[6] _要求(::符号)./loading.jl:498
[7] 在./loading.jl:405处需要(::符号)
[8] 在./loading.jl:576中包含来自节点1(::字符串)的
[9] 在./sysimg.jl:14处包含(::字符串)
[10] 处理_选项(::Base.jl选项)位于./client.jl:305
[11] _start()位于./client.jl:371
在模块初始化期间
在从第5行开始的表达式中加载/julia/setup.jl时
命令'/bin/sh-c julia/julia/setup.jl'返回一个非零代码:1

我认为使用Pandas(如图所示,第5行)时出现了问题,所以我尝试在dockerfile中插入一行,运行pip install——提前将Pandas升级到setup.jl,但仍然不起作用。我错过了什么?

您有一个非常旧的Julia版本(0.6)。 到今天为止,软件包只是停止使用该版本的语言

尝试升级Julia-即使用当前版本1.5.0。升级Pandas时,它将开箱即用—您甚至不需要
pip
命令

Info: Attempting to create directory /root/.julia/v0.6/CMakeWrapper/deps/downloads
Info: Downloading file https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 29.2M  100 29.2M    0     0   973k      0  0:00:30  0:00:30 --:--:-- 4718k
Info: Done downloading file https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz
Info: Attempting to create directory /root/.julia/v0.6/CMakeWrapper/deps
Info: Directory /root/.julia/v0.6/CMakeWrapper/deps already exists
Info: Attempting to create directory /root/.julia/v0.6/CMakeWrapper/deps/usr/bin
cmake version 3.7.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
INFO: Building Blosc
Info: Downloading https://github.com/stevengj/BloscBuilder/releases/download/v1.14.3+5/Blosc.v1.14.3.x86_64-linux-gnu.tar.gz to /root/.julia/v0.6/Blosc/deps/usr/downloads/Blosc.v1.14.3.x86_64-linux-gnu.tar.gz...
[01:15:50] #####################################################################[01:15:50] #                                                                    [01:15:50] ####                                                                 [01:15:50] ###########                                                          [01:15:50] #########################                                            [01:15:51] ###############################################                      [01:15:51] #####################################################################[01:15:51] ######################################################################## 100.0%
INFO: Building HDF5
INFO: Package database updated
WARNING: Implicit vectorized function is deprecated in favor of compact broadcast syntax.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at ./deprecated.jl:70
 [2] @dep_vectorize_1arg(::ANY, ::ANY) at /root/.julia/v0.6/Compat/src/deprecated.jl:18
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] include(::String) at ./sysimg.jl:14
 [5] include_from_node1(::String) at ./loading.jl:576
 [6] include(::String) at ./sysimg.jl:14
 [7] anonymous at ./<missing>:2
 [8] eval(::Module, ::Any) at ./boot.jl:235
 [9] process_options(::Base.JLOptions) at ./client.jl:286
 [10] _start() at ./client.jl:371
while loading /root/.julia/v0.6/Colors/src/algorithms.jl, in expression starting on line 152
WARNING: Implicit vectorized function is deprecated in favor of compact broadcast syntax.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at ./deprecated.jl:70
 [2] @dep_vectorize_1arg(::ANY, ::ANY) at /root/.julia/v0.6/Compat/src/deprecated.jl:18
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] include(::String) at ./sysimg.jl:14
 [5] include_from_node1(::String) at ./loading.jl:576
 [6] include(::String) at ./sysimg.jl:14
 [7] anonymous at ./<missing>:2
 [8] eval(::Module, ::Any) at ./boot.jl:235
 [9] process_options(::Base.JLOptions) at ./client.jl:286
 [10] _start() at ./client.jl:371
while loading /root/.julia/v0.6/Colors/src/algorithms.jl, in expression starting on line 153
WARNING: Implicit vectorized function is deprecated in favor of compact broadcast syntax.
Stacktrace:
 [1] depwarn(::String, ::Symbol) at ./deprecated.jl:70
 [2] @dep_vectorize_1arg(::ANY, ::ANY) at /root/.julia/v0.6/Compat/src/deprecated.jl:18
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] include(::String) at ./sysimg.jl:14
 [5] include_from_node1(::String) at ./loading.jl:576
 [6] include(::String) at ./sysimg.jl:14
 [7] anonymous at ./<missing>:2
 [8] eval(::Module, ::Any) at ./boot.jl:235
 [9] process_options(::Base.JLOptions) at ./client.jl:286
 [10] _start() at ./client.jl:371
while loading /root/.julia/v0.6/Colors/src/algorithms.jl, in expression starting on line 154
ERROR: LoadError: InitError: KeyError: key "_IXIndexer" not found
Stacktrace:
 [1] getindex(::PyCall.PyObject, ::String) at /root/.julia/v0.6/PyCall/src/PyCall.jl:289
 [2] (::Pandas.##21#24)() at /root/.julia/v0.6/Pandas/src/Pandas.jl:194
 [3] __init__() at /root/.julia/v0.6/Pandas/src/Pandas.jl:26
 [4] _include_from_serialized(::String) at ./loading.jl:157
 [5] _require_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:200
 [6] _require(::Symbol) at ./loading.jl:498
 [7] require(::Symbol) at ./loading.jl:405
 [8] include_from_node1(::String) at ./loading.jl:576
 [9] include(::String) at ./sysimg.jl:14
 [10] process_options(::Base.JLOptions) at ./client.jl:305
 [11] _start() at ./client.jl:371
during initialization of module Pandas
while loading /julia/setup.jl, in expression starting on line 5
The command '/bin/sh -c julia /julia/setup.jl' returned a non-zero code: 1