[Python-Dev] module not found on ported Python (original) (raw)
Pree Raj priyarp.tech at gmail.com
Tue Jul 8 01:39:39 CEST 2008
- Previous message: [Python-Dev] __module__ not found on ported Python
- Next message: [Python-Dev] __module__ not found on ported Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks Brett. I have been able to do initmain() now. However, if I do "import sys" from the python prompt I still get
ImportError: import not found I am not sure where the initialization is going wrong for this error to show up. Can someone please help.
On Mon, Jul 7, 2008 at 2:15 PM, Brett Cannon <brett at python.org> wrote:
On Mon, Jul 7, 2008 at 1:48 PM, Pree Raj <priyarp.tech at gmail.com> wrote: [SNIP] > Also, I would like to know which are the MUST HAVE built in modules to be > included for normal working of my ported version of Python.
You can look at sys.builtinmodulenames to see what CPython compiles in. Otherwise you just have to go based on what error messages say. =) -Brett -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20080707/b325d8b0/attachment.htm>
- Previous message: [Python-Dev] __module__ not found on ported Python
- Next message: [Python-Dev] __module__ not found on ported Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]