luanws / pymenu

Apache License 2.0
1 stars 0 forks source link

Dependancy of msvcrt makes this a windows package #1

Closed nicciniamh closed 4 months ago

nicciniamh commented 5 months ago

In trying to import, I get the following error (on macOS and Linux)

from pymenu import auto_menu
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/nicci/pyenv/lib/python3.11/site-packages/pymenu/__init__.py", line 1, in <module>
    from pymenu.menu import *
  File "/Users/nicci/pyenv/lib/python3.11/site-packages/pymenu/menu.py", line 10, in <module>
    from pymenu.utils import inputs
  File "/Users/nicci/pyenv/lib/python3.11/site-packages/pymenu/utils/inputs.py", line 1, in <module>
    import msvcrt
ModuleNotFoundError: No module named 'msvcrt'

This pretty much makes this windows only. Perhaps put that in the readme and on pypi. Thanks!

luanws commented 4 months ago

Unix support was added in version 0.2.1. Thanks for the sugestion.