This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger
Date 2020-03-30.00:02:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585526523.79.0.240338395586.issue40108@roundup.psfhosted.org>
In-reply-to
Content
I think we can do better than the following:

$ python3.8 -m unicode_math_symbols.py
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8: Error while finding module specification for 'unicode_math_symbols.py' (ModuleNotFoundError: __path__ attribute not found on 'unicode_math_symbols' while trying to find 'unicode_math_symbols.py')

It is a reasonably common mistake to add .py to the module name for module names loaded by the -m command-line launcher.  The error mess is somewhat opaque and not suggestive of what the actual problem is or how to fix it.
History
Date User Action Args
2020-03-30 00:02:03rhettingersetrecipients: + rhettinger
2020-03-30 00:02:03rhettingersetmessageid: <1585526523.79.0.240338395586.issue40108@roundup.psfhosted.org>
2020-03-30 00:02:03rhettingerlinkissue40108 messages
2020-03-30 00:02:03rhettingercreate