blessings: completely fails on win32/win64
Worth a mention in the documentation alongside punting to colorama:
c:\users\joan\desktop>pip install blessings
Downloading/unpacking blessings
Downloading blessings-1.5.tar.gz
Running setup.py egg_info for package blessings
Installing collected packages: blessings
Running setup.py install for blessings
Successfully installed blessings
Cleaning up...
c:\users\joan\desktop>python
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from blessings import Terminal
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\blessings\__init__.py", line 3, in <module>
import curses
File "C:\Python27\lib\curses\__init__.py", line 15, in <module>
from _curses import *
ImportError: No module named _curses
>>>
After installing curses on Windows from http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses :
c:\users\joan\desktop>python
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from blessings import Terminal
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\blessings\__init__.py", line 5, in <module>
from fcntl import ioctl
ImportError: No module named fcntl
>>>
If I have time I’ll try and work out a proper port.
About this issue
- Original URL
- State: open
- Created 12 years ago
- Reactions: 12
- Comments: 26 (7 by maintainers)
The fork
blessed
is API compatible withblessings
, and has Windows support since Dec 2019. Please enjoy! https://blessed.readthedocs.io/en/latest/intro.html#requirements and thank you so much, @avylove !