Installing the model involves doing some preliminaries, taking two installation steps, and then doing some clean-up:
- Preliminaries
- Step 1: Install/Update the Tax-Analyzer-Framework
- Step 2: Install/Update the MYI-Tax-Analyzer Model
- Clean-Up and Reminder
Preliminaries
Before taking the installation steps, create a new directory called
MYI
in your home directory. You can do this by opening an operating
system command prompt window (by starting the cmd
app on Windows,
which should put you in your home directory). Make a note of the name
of your home directory. Then enter the following command:
mkdir MYI
and then moving into that new directory using the
cd MYI
command. (Note that when entering a command, you need
to press the Enter or Return key at the end in order to execute the
command.) And finally, download the most recent MYI-Tax-Analyzer zip
file
and unzip it in the MYI
directory. This zip file is encrypted
(because it contains private data), so you will need a password from
the model developers to unzip it. After doing this there will be a
file whose name starts with myitaxanalyzer
and ends with .whl
.
Step 1. Install/Update the Tax-Analyzer-Framework
Do this by following these installation instructions.
Step 2. Install/Update the MYI-Tax-Analyzer Model
Execute the following commands in the MYI
directory at the Anaconda
Prompt (not in the Anaconda Navigator) if you are on Windows. On
other operating systems, execute the following commands at the
operating system command prompt.
Activate the
tafe
environment by executing these two commands in theMYI
directory:
conda activate tafe
conda env update
Create/update the
myitaxanalyzer
package on your computer by executing this command in theMYI
directory:
pip install --no-index --find-links=. myitaxanalyzer
To confirm that the myitaxanalyzer
package was created/updated
correctly, check that the command
myita --version
shows you
the MYI-Tax-Analyzer version you downloaded. And check that the
command
myita --test
generates a PASSED TEST message on
the screen.
Clean-Up and Reminder
After taking the installation step(s), remove the MYI
directory.
The easiest way to do this is to use your operating system's graphical
file management system to drag the MYI
folder to the trash.
Remember that every time you want to use the model (by opening an
Anaconda Prompt on Windows or an operating system command prompt on a
non-Windows computer), you must activate the tafe
environment by
executing the conda activate tafe
command.