PSLmodels / taxdata

The TaxData project prepares microdata for use with the Tax-Calculator microsimulation project.
http://pslmodels.github.io/taxdata/
Other
20 stars 30 forks source link

manually claim Julia path for make-files #428

Open bodiyang opened 1 year ago

bodiyang commented 1 year ago

When running make files, it is always required to claim the path of Julia to run stage2.py

Specifically, I need to manually run the command export PATH="/Applications/Julia-1.7.app/Contents/Resources/julia/bin:$PATH" each time

Will do some investigation if this can be automated

bristowrichards commented 1 year ago

On my Windows 10 machine, I am able to run stage2.py fine. During installation, Julia has an optional checkbox that I believe was unchecked by default letting me "Add Julia to PATH".

In the MacOS directions here there are some optional instructions for adding Julia to your path in the Terminal; it looks like it needs to remove the /usr/local/bin/julia path then reinsert it after the /Applications/Julia-1.9.app/Contents/Resources/julia/bin/julia path. You may have done all this already, though.

bodiyang commented 1 year ago

Thanks for the clarification @bristowrichards.

Yes, it's helpful to note the issue of claiming julia path is from the Mac users. And looks like Windows users are fine.

Would be helpful to add this point in the documentation in the environment requirement part.

Will keep considering adding a test to check the Julia path and then reclaim the Julia path (for MacOS cases)