我正在使用Julia1.5.3和模块DataFrames.jl (v0.22.0)和Compat.jl (v3.23.0)的最后版本。我像往常一样将DataFrames添加到我的项目环境中:
]add DataFrames上一次使用DataFrames包是在2020年7月。现在,当我试图使用(调用using DataFrames)包时,我有一个错误:
[ Info: Precompiling DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0]
ERROR: LoadError: LoadError: UndefVarError: ComposedFunction not defined
Stacktrace:
[1] top-level scope at C:\Users\yzh\.julia\packages\DataFrames\X0xNW\src\other\utils.jl:82
[2] include(::Function, ::Module, ::String) at .\Base.jl:380
[3] include at .\Base.jl:368 [inlined]
[4] include(::String) at C:\Users\yzh\.julia\packages\DataFrames\X0xNW\src\DataFrames.jl:1
[5] top-level scope at C:\Users\yzh\.julia\packages\DataFrames\X0xNW\src\DataFrames.jl:94
[6] include(::Function, ::Module, ::String) at .\Base.jl:380
[7] include(::Module, ::String) at .\Base.jl:368
[8] top-level scope at none:2
[9] eval at .\boot.jl:331 [inlined]
[10] eval(::Expr) at .\client.jl:467
[11] top-level scope at .\none:3
in expression starting at C:\Users\yzh\.julia\packages\DataFrames\X0xNW\src\other\utils.jl:79
in expression starting at C:\Users\yzh\.julia\packages\DataFrames\X0xNW\src\DataFrames.jl:94但是测试Pkg.test("DataFrames")通过得很顺利,没有错误!
我想我对Compat包有一些麻烦。当我试图导出ComposedFunction时:
using Compat: ComposedFunction我也有一个错误:
UndefVarError: ComposedFunction not defined
in include_string at base\loading.jl:1088我试过几件事:
again;
]up
Pkg.resolve
中删除除了"dev“和”环境“之外的所有文件夹的软件包,并将其从1.5.2安装到计算机。
但这些错误仍然存在。
谢谢你的帮助。
发布于 2020-11-16 15:35:26
我再次在管理员模式下重新运行Atom,所有错误都消失了。现在所有的工作模式也没有管理模式。魔术。
https://stackoverflow.com/questions/64859819
复制相似问题