From PyMOLWiki
Revision as of 09:38, 6 August 2015 by Speleo3 (talk | contribs) (superseded)
Jump to navigation Jump to search
Type Python Module
Download plugins/
Author(s) Thomas Holder
License BSD
This code has been put under version control in the project Pymol-script-repo


This script was superseded by the Plugin Manager which was introduced in PyMOL

This page describes how to set up a personal plugin directory, that will automatically install plugins found herein. It supports single python files as well as directories which contain a file.

Adding Pymol-script-repo to PyMOL search path

You should have the Pymol-script-repo directory added to your Python search path. In Pymol-script-repo, is located the folder plugins, which holds the plugin to be automatically installed.

We need to import module plugins (folder Pymol-script-repo/plugins) before the GUI launches. So insert into your $HOME/.pymolrc file:

# eventually add ~/Pymol-script-repo to sys.path
import sys, os

# load the module
import plugins

For windows users

  1. Open notepad
  2. Paste lines from above
  3. Save under: C:/Users/YOURNAME/pymolrc.pym (Set: "Save as type" to "All files")

For Ubuntu/Mint users

  1. gedit ~/.pymolrc
  2. Paste lines from above
  3. Save and exit