Skip to content
Jamie Norrish edited this page May 20, 2014 · 17 revisions

The following notes provide some guidance for installing Python and other packages that tacl depends on. Once Python is installed, the best approach is to run pip install tacl, which will install tacl and its Python dependencies; where there is some problem with that, hopefully these notes will be useful.

Mac OS X

The following instructions were provided by a Mac OS X user.

  1. Download and unpack the tacl code at https://github.com/ajenhl/tacl/archive/master.zip
  2. Install the latest version of MacPorts: https://www.macports.org/install.php

In a Terminal, run the following:

  1. sudo port selfupdate
  2. sudo port install python34
  3. sudo port select --set python python34
  4. sudo port install py34-lxml
  5. sudo port install py34-pandas
  6. cd [directory where tacl was unpacked to]
  7. sudo python setup.py install
  8. tacl -h

If the last step produces an error that the tacl command was not found, this is likely due to its location not being in the PATH environment variable. Look for a line such as "copying build/scripts-3.4/tacl -> /opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin" in the output of the "sudo python setup.py install" command; the destination directory listed there needs to be added to the PATH. This can be done by following the instructions at http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable/. After that is done (and remember that you need to reload your .profile, or open a new Terminal, first), "tacl -h" should print out the basic usage information for tacl, and you are ready to start using the program!

Clone this wiki locally