Score:0

Function wcwidth not found - python

cz flag

I installed wcwidth through pip on cygwin but I get this error when I try to run Ansible-playbook binary through powershell. Ansible-playbook binary works fine from cygwin but doesn't work from powershell

PS C:\> c:\cywing\bin\bash.exe /usr/bin/ansible-playbook
Traceback (most recent call last):
  File "/bin/ansible-playbook", line 64, in <module>
    from ansible.utils.display import Display, initialize_locale
  File "/usr/lib/python2.7/site-packages/ansible/utils/display.py", line 55, in <module>
    _LIBC.wcwidth.argtypes = (ctypes.c_wchar,)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 379, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 384, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'wcwidth' not found
CristiFati avatar
my flag
:) https://stackoverflow.com/questions/68647743/function-wcwidth-not-found-python/68687717#68687717
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.