当我尝试从命令行运行.julia目录中的脚本时,它失败了,例如:
D:\MyProjects\Julia\.julia\v0.4\Mocha\tools>julia plot_statistics.jl
ERROR: could not open file d:\myprojects\julia\plot_statistics.jl
in include at boot.jl:261
in include_from_node1 at loading.jl:320
in process_options at client.jl:280
in _start at client.jl:378
D:\MyProjects\Julia\.julia\v0.4\Mocha\tools>julia "d:\MyProjects\Julia\.julia\v0.4\Mocha\tools\plot_statistics.jl"
ERROR: LoadError: ArgumentError: ArgParse not found in path
in require at loading.jl:249
in include at boot.jl:261
in include_from_node1 at loading.jl:320
in process_options at client.jl:280
in _start at client.jl:378
while loading d:\MyProjects\Julia\.julia\v0.4\Mocha\tools\plot_statistics.jl, in expression starting on line 2
请注意,在第一次尝试时,错误消息缺少路径的重要部分,所有内容都来自.julia。
在第二次尝试中,我试图给出完整的路径,但朱莉娅也拒绝这一点。
Windows 10;朱莉娅正在路上(例如julia
进入REPL);朱莉娅。 0.4.5