mill1000 / midea-msmart

Python library for local control of Midea (and associated brands) smart air conditioners.
MIT License
49 stars 2 forks source link

ERROR: No matching distribution found for msmart-ng #81

Closed afgcons closed 1 year ago

afgcons commented 1 year ago

sudo pip3 uninstall msmart Found existing installation: msmart 0.2.5 Uninstalling msmart-0.2.5: Would remove: /usr/local/bin/midea-discover /usr/local/lib/python3.6/dist-packages/msmart-0.2.5.dist-info/ /usr/local/lib/python3.6/dist-packages/msmart/ Proceed (Y/n)? Successfully uninstalled msmart-0.2.5

pip install msmart-ng OR pip3 install msmart-ng OR sudo pip3 install msmart-ng

ERROR: Could not find a version that satisfies the requirement msmart-ng (from versions: none) ERROR: No matching distribution found for msmart-ng

What am I doing wrong, please?

mill1000 commented 1 year ago

Hi,

Python 3.6 is not supported. Python 3.8 is the minimum version.

afgcons commented 1 year ago

Thanks for the help! 3.8 is installed. Back to Google - on stackoverflow I read "Fix your requirements.txt file to make sure it correctly lists your dependencies, and things should work." - well, mac-zhou has a requirements.txt and a setup.py . I didn't knowingly need or use them.

I hope you find a minute to update / expand or automate that "pip install msmart-ng". Thanks in advance !!

mill1000 commented 1 year ago

This project uses a pyproject.toml. Pip will automatically install the requirements defined in pyproject.toml