Sunday, December 22, 2024

macos – How do I discover an Initialization folder for an App?

Edit for extra clarification:

I work with this software program referred to as CASA, which stands for Frequent Astronomy Software program Functions, and it simply works on linux and MacOS. Within the Mac tutorial, it asks you to obtain the dmg and drag the applying to the “aplication”folder, I did it and the software program was put in all good, however I can’t discover the applying folder once I’m within the terminal.

I’ve to obtain the Evaluation Utilities bundle (analysis_utils.tar) because the Evaluation Utilities (or analysisUtils for brief) is a small set of Python supply code recordsdata that present a lot of evaluation and plotting utilities.

However I am new to macOS. Like, I bought my Mac on July twenty seventh.

within the tutorial, it tells me:

  1. Edit your current casa initialization file (in CASA6: $HOME$/.casa/startup.py) or create a brand new file if it doesn’t exist already, and add the next:
import sys
sys.path.append("/PATH_TO_ANALYSIS_SCRIPTS/")
import analysisUtils as au

the place /PATH_TO_ANALYSIS_SCRIPTS/ is the trail to the listing you simply extracted from the tar ball. When that is completed, begin casapy and you’ll have entry to all of the capabilities contained within the
analysisUtils module.”

However I can’t discover the place the CASA initialization file is positioned. And the file they used as exemple is how it’s on the linux one.
I attempted to create a file in one other place, nevertheless it returns me with:

command not discovered: import

So I do not actually know what to do, as I couldn’t discover something concerning the command import not being discovered.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles