Done this multiple times before on Windows machines with no issues.
(在Windows机器上完成此操作之前没有问题。)
But after installing Julia Pro on a Catalina machine, I keep getting this error when I try to add the Gurobi package with Pkg.add("Gurobi"):(但是在Catalina机器上安装了Julia Pro之后,当我尝试使用Pkg.add(“ Gurobi”)添加Gurobi软件包时,仍然出现此错误:)
ERROR: SystemError: realpath: No such file or directory
(错误:SystemError:realpath:没有这样的文件或目录)
I tried giving Julia full disk access per the only comment I have seen elsewhere.
(我尝试根据我在其他地方看到的唯一注释为Julia提供完整的磁盘访问权限。)
I have also defined the path to Gurobi correctly I believe with ENV["GUROBI_HOME"] = "/Library/gurobi811/mac64"(我也相信ENV [“ GUROBI_HOME”] =“ / Library / gurobi811 / mac64”正确定义了Gurobi的路径)
Anything else I can do?
(我还能做什么?)
This is older code so was hoping to avoid updating it to work with Julia 1.x.(这是较旧的代码,因此希望避免对其进行更新以与Julia 1.x一起使用。)
Thank you!
(谢谢!)
I have burned two days trying to figure this out!(我已经花了两天时间试图解决这个问题!)
ask by rendermonster translate from so