Skip to content

Instantly share code, notes, and snippets.

@tora16e
Created March 29, 2014 10:25
Show Gist options
  • Select an option

  • Save tora16e/9852010 to your computer and use it in GitHub Desktop.

Select an option

Save tora16e/9852010 to your computer and use it in GitHub Desktop.
add module path to site.py
diff --git a/site.py b/site.py
index 68beb56..15ca916 100644
--- a/site.py
+++ b/site.py
@@ -695,6 +695,7 @@ def main():
# this module is run as a script, because this code is executed twice.
if hasattr(sys, "setdefaultencoding"):
del sys.setdefaultencoding
+ sys.path.append('/Library/Python/2.7/site-packages')
main()
diff --git a/site.pyc b/site.pyc
index d2dfb20..aaff4b9 100644
Binary files a/site.pyc and b/site.pyc differ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment