fuse_a: Add more explanation to the failure message when simplejson cannot be imported.

This commit is contained in:
nejucomo 2008-05-31 19:06:00 -07:00
parent 75f82bf734
commit af5a91229f

@ -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<VERSION>/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: