load图片时出错!!!

代码:pwd()
cd(“1000”)
pwd()
using Images
img = load(“1001.jpeg”)

错误:img = load(“1001.jpeg”)
Error encountered while loading “D:\学习资料\Julia程序\1000\1001.jpeg”.

Fatal error:
ERROR: UnableToOpenBlob `D:\学习资料\Julia程序\1000\1001.jpeg’: No such file or directory @ error/blob.c/OpenBlob/2873
Stacktrace:
[1] handle_error(::ErrorException, ::FileIO.File{FileIO.DataFormat{:JPEG}}) at C:\Users\A.julia\packages\FileIO\2fEu2\src\error_handling.jl:82
[2] handle_exceptions(::Array{Any,1}, ::String) at C:\Users\A.julia\packages\FileIO\2fEu2\src\error_handling.jl:77
[3] load(::FileIO.Formatted; options::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at C:\Users\A.julia\packages\FileIO\2fEu2\src\loadsave.jl:210
[4] load at C:\Users\A.julia\packages\FileIO\2fEu2\src\loadsave.jl:187 [inlined]
[5] #load#16 at C:\Users\A.julia\packages\FileIO\2fEu2\src\loadsave.jl:136 [inlined]
[6] load(::String) at C:\Users\A.julia\packages\FileIO\2fEu2\src\loadsave.jl:136
[7] top-level scope at REPL[5]:1

已解决,不该用中文路径的,唉! :sob: :sob: :sob:

京ICP备17009874号-2