Consider
try: import someProprietaryModule except ImportError: raise ImportError(\'It appears that is not installed...\')
In Python 3.3 and later raise ... from None may be used in this situation.
raise ... from None
try: import someProprietaryModule except ImportError: raise ImportError('It appears that is not installed...') from None
This has the desired results.