This site requires javascript to be enabled to fuction correctly

How can I modify the PYTHONPATH in CASA?
Posted by Nathan Brunetti, Last modified by Sarah Wood on 22 July 2019 06:36 PM

In your home directory you have a directory called ~/.casa/

This directory contains a file called "" that executes each time you start CASA just before the prompt is displayed. You should use this file to edit variables and import modules you want to have available as soon as CASA starts.

Adding a path to the PYTHONPATH variable can be done by adding the following lines to

print 'Appending my script directory to the PYTHONPATH.'

(0 vote(s))
Not helpful

Comments (0)