I am running into a curses problem with pulumi-kub...
# general
a
I am running into a curses problem with pulumi-kubernetes + pulumi-kubernetes-ingress-nginx. I have pip installed
windows-curses
, and re-installed both pip packages. I get the following error:
Copy code
Diagnostics:
  pulumi:pulumi:Stack (pulumi-kubecost-dev):
    error: Program failed with an unhandled exception:
    error: Traceback (most recent call last):
      File "C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin\pulumi-language-python-exec", line 107, in <module>
        loop.run_until_complete(coro)
      File "C:\Python39\lib\asyncio\base_events.py", line 642, in run_until_complete
        return future.result()
      File "C:\GitHub\pulumi-kubecost\venv\lib\site-packages\pulumi\runtime\stack.py", line 126, in run_in_stack
        await run_pulumi_func(lambda: Stack(func))
      File "C:\GitHub\pulumi-kubecost\venv\lib\site-packages\pulumi\runtime\stack.py", line 49, in run_pulumi_func
        func()
      File "C:\GitHub\pulumi-kubecost\venv\lib\site-packages\pulumi\runtime\stack.py", line 126, in <lambda>
        await run_pulumi_func(lambda: Stack(func))
      File "C:\GitHub\pulumi-kubecost\venv\lib\site-packages\pulumi\runtime\stack.py", line 149, in __init__
        func()
      File "C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin\pulumi-language-python-exec", line 106, in <lambda>
        coro = pulumi.runtime.run_in_stack(lambda: runpy.run_path(args.PROGRAM, run_name='__main__'))
      File "C:\Python39\lib\runpy.py", line 285, in run_path
        return _run_code(code, mod_globals, init_globals,
      File "C:\Python39\lib\runpy.py", line 87, in _run_code
        exec(code, run_globals)
      File ".\__main__.py", line 3, in <module>
        from curses import meta
      File "C:\Python39\lib\curses\__init__.py", line 13, in <module>
        from _curses import *
    ModuleNotFoundError: No module named '_curses'
    error: an unhandled error occurred: Program exited with non-zero exit code: 1
b
have you installed them in your venv?
a
@billowy-army-68599 I got jacked by vscode, it autoimported
from curses import meta
and I didn't notice. PEBKAC
b
nice catch! glad you got it figured out
a
Thank you. Always fun when you don't find it first haha.