From af5a91229f1ac04530d6c0f2c5be6945381e84f6 Mon Sep 17 00:00:00 2001 From: nejucomo Date: Sat, 31 May 2008 19:06:00 -0700 Subject: [PATCH] fuse_a: Add more explanation to the failure message when simplejson cannot be imported. --- contrib/fuse_a/tahoe_fuse.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/fuse_a/tahoe_fuse.py b/contrib/fuse_a/tahoe_fuse.py index f9485642..56ac3122 100644 --- a/contrib/fuse_a/tahoe_fuse.py +++ b/contrib/fuse_a/tahoe_fuse.py @@ -43,7 +43,10 @@ except ImportError, e: Could not import simplejson, which is bundled with Tahoe. Please update your PYTHONPATH environment variable to include the tahoe "support/lib/python/site-packages" directory. -''') + +If you run this from the Tahoe source directory, use this command: +PYTHONPATH="$PYTHONPATH:./support/lib/python%d.%d/site-packages/" python %s +''' % (sys.version_info[:2] + (' '.join(sys.argv),))) try: -- 2.45.2