nghung270192 / colorama

Automatically exported from code.google.com/p/colorama
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Installation failure on 64-bit Python 2.5 under Windows - no ctypes module #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install colorama 0.3.0+ into a 64-bit Python 2.5 environment on Windows

What is the expected output? What do you see instead?

The package should install correctly.
It fails when it tries to import the ctypes module as that module is not 
included in the standard CPython 2.5 64-bit distribution.

What version of the product are you using? On what operating system?

Windows 7 SP1 x64
CPython 2.5.4
Colorama:
 - colorama 0.3.0
 - colorama 0.3.1 (after manually fixing the setup.py 'with' bug)

Please provide any additional information below.

The problem seems to have been introduced by commit 
'8cc97352831ba804cd55eec408b088553e0245d4' that was supposed to fix issue #47.

As a quick-fix, and without in-depth research into issue #47, I would suggest 
undoing the fix when run using 64-bit Python 2.5 on Windows. :-)

Best regards,
  Jurko Gospodnetić

Original issue reported on code.google.com by jurko.go...@gmail.com on 1 May 2014 at 10:11

GoogleCodeExporter commented 9 years ago
I think undoing the fix for Python 2.5 should be safe as pyreadline does not 
support it at all (see 'http://pythonhosted.org/pyreadline/introduction.html').

Best regards,
  Jurko Gospodnetić

Original comment by jurko.go...@gmail.com on 1 May 2014 at 10:28

GoogleCodeExporter commented 9 years ago
Pull request #4 (https://github.com/tartley/colorama/pull/4) fixes the issue.

Original comment by jurko.go...@gmail.com on 1 May 2014 at 1:29

GoogleCodeExporter commented 9 years ago
Acknowledged. Will merge and make a new release soon...

Original comment by tart...@gmail.com on 7 May 2014 at 9:33

GoogleCodeExporter commented 9 years ago
Pull request updated in the meantime with an additional commit - now colorama 
not only successfully installs with CPython 2.5 x64 but also no longer raises 
an internal error at run-time. :-)

Hope this helps.

Best regards,
  Jurko Gospodnetić

Original comment by jurko.go...@gmail.com on 13 May 2014 at 5:31

GoogleCodeExporter commented 9 years ago
Fixed by submission from github user jurko-gospodnetic
https://github.com/tartley/colorama/pull/4#event-127950782

Original comment by tart...@gmail.com on 3 Sep 2014 at 8:01