Browse Source

Some help with the low-ENV launch and multiple python installs

Zachary Kotlarek 14 years ago
parent
commit
6b9d76e086
1 changed files with 7 additions and 2 deletions
  1. 7 2
      dmx/dmx.pl

+ 7 - 2
dmx/dmx.pl

@@ -1,6 +1,11 @@
-#!/usr/bin/python
-import os
+#!/opt/local/bin/python2.7
+
+# Append the path to help find our OLA packages
 import sys
 import sys
+sys.path.append('/opt/local/lib/python2.7/site-packages')
+sys.path.append('/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages')
+
+import os
 import array
 import array
 import select
 import select
 import socket
 import socket