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 nbuck
Recipients amaury.forgeotdarc, ezio.melotti, nbuck
Date 2011-05-17.17:21:51
SpamBayes Score 5.551115e-17
Marked as misclassified No
Message-id <1305652912.67.0.219322452049.issue12094@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the speedy reply I have cut and past the results from the for following tests

I can't test this on Windows, but you could try the following things:
  1) check that 'python.exe -V' returns 2.6.6;
  2) try using the IDLE shortcut in the start menu;
  3) try "from abc import ABCMeta" from the interactive interpreter;
  4) install Python 2.7 and see if it works there.


1) C:\Documents and Settings\buck>python.exe -V
   Python 2.6.6

2.) Does not open from the start menu

3.) C:\Documents and Settings\buck>python
    'import site' failed; use -v for traceback
     Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSCv.1500
     32 bit (Intel)] on win32
     Type "help", "copyright", "credits" or "license" for 
     more information.
     >>> from abc import ABCMeta
     Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     ImportError: cannot import name ABCMeta

4.)  C:\Python27>python.exe Lib\idlelib\idle.py
Traceback (most recent call last):
  File "C:\Python27\lib\site.py", line 62, in <module>
    import os
  File "C:\Python27\lib\os.py", line 398, in <module>
    import UserDict
  File "C:\Python27\lib\UserDict.py", line 83, in <module>
    import _abcoll
  File "C:\Python27\lib\_abcoll.py", line 11, in <module>
    from abc import ABCMeta, abstractmethod
ImportError: cannot import name ABCMeta

Lastly

C:\Python26>python.exe -c "import abc; print abc"
'import site' failed; use -v for traceback
<module 'abc' from 'C:\w\ADCP_programs\abc.py'>

Thanks again

Nathan
History
Date User Action Args
2011-05-17 17:21:52nbucksetrecipients: + nbuck, amaury.forgeotdarc, ezio.melotti
2011-05-17 17:21:52nbucksetmessageid: <1305652912.67.0.219322452049.issue12094@psf.upfronthosting.co.za>
2011-05-17 17:21:51nbucklinkissue12094 messages
2011-05-17 17:21:51nbuckcreate