This is a summary of what you need to set up in order to use the tdda python library and tools. More detailed step-by-step instructions follow below, if needed.
The following instructions expect you to run commands in a Command Prompt for Windows or Terminal for Mac or Linux Commands which are the same on all platforms are displayed as All Platforms
Find the full path for your python installation by running the following:
This will report on where the python command is installed. You will need this path for the following steps.
First, check to see if you already have the pandas module installed, by running python, and then:
If that works ok without any errors or warnings, and reports a version of pandas that is 0.23.0 or later, then there's nothing more to do for pandas.
If you don't have pandas installed at all, run the following:
If you do have pandas installed, but it's too old a version, you can upgrade it by running the following:
If these python -m pip commands fail with an error about permissions, then you need to run it with administrator privileges, as follows:
Confirm that you have installed pandas into the right instance of Python, by repeating the import pandas step, which should now succeed.
Run the following in a command prompt window:
If it fails with an error about permissions, you need to run it with administrator privileges. Run the same steps for Adminstrator installation above (for pandas), but using 'tdda' instead of 'pandas'.
Then confirm that you can use the tdda library from within python by running python, and then:
It should import the library without generating any errors or warnings.
When you installed the tdda module, it will have reported that it was also installing the tdda and rexpy command-line tools.
Check that your PATH environment variable includes the folder where the command-line tools have been installed, with:
If your PATH doesn't include the folder where the command-line tools have been installed, set it with:
Confirm that the tdda command is correctly installed by running the following:
It should show a summary of all of the subcommands available through tdda, like the following screenshot:
Confirm that the version of the tdda library is 1.0.22 by running the following:
If some earlier version is reported, upgrade the library with:
Finally, confirm that the tdda library's own self-tests all pass by running the following, and checking that it reports that all tests pass OK.