---
title: Fix for python path on SmartOS
kind: blog
description: 'The default installation path of Python 2.7 on SmartOS is /opt/local/bin/python2.7, let''s make this easier:'
words: 21
readingMinutes: 1
created: '2013-11-09T17:58:31.000Z'
updated: '2026-06-27T21:03:45+02:00'
tags:
  - smartos
  - python
  - system-administration
---
1. Create a symlink:

   ```shell
   pfexec ln -s /opt/local/bin/python2.7 /opt/local/bin/python
   ```

(Yes, seriously... I forget this all too often, so I wrote it down for my own sake...)
