Legacy code on MacOS

Hi all,

I need to run an old code written for Julia 0.6.*. I have installed Julia 0.6.4 on my macbook, but it does not work properly. As soon as I try to install common packages I get the following error message:

ERROR: SystemError: realpath: No such file or directory.

How can I make it work?

Note: While I could update the code, it would be much faster to run it once on Julia 0.6.*. I need to make a series of charts from an old output file, and it is not worth spending time updating the code.

I’m not sure what “common packages” are…So I wouldn’t know where to look for that error. realpath is a common program (on linux at least) that converts a path into it’s absolute path.

Googling for realpath on mac I came across:


I’m not a fan of installing stuff…but the bash alias:

alias filepath="python -c 'import os,sys;print os.path.realpath(sys.argv[1])'"

seems promising…

Having the same issue. MacOSX Catalina. Julia 0.6.4. Giving all disk/file/folder permissions to Julia didn’t work.

@fipelle any chance you’ve found a workaround on this?

Thanks!

Yes, I did.

I have installed a virtual linux environment with VirtualBox and run the legacy code there. It is not a pretty solution, but it worked for me – it was a quick run.