Closed prodigy closed 9 months ago
I just noticed I do not need to manually call pip install, nonetheless the installation fails with:
+ E:\Tools\Solar\inverter-connect\.venv-app\Scripts\inverter_app edit-settings
Traceback (most recent call last):
File "C:\Users\sgrun\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\sgrun\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "E:\Tools\Solar\inverter-connect\.venv-app\Scripts\inverter_app.exe\__main__.py", line 4, in <module>
File "E:\Tools\Solar\inverter-connect\inverter\__main__.py", line 7, in <module>
from inverter.cli import cli_app
File "E:\Tools\Solar\inverter-connect\inverter\cli\cli_app.py", line 16, in <module>
from cli_base.toml_settings.api import TomlSettings
File "E:\Tools\Solar\inverter-connect\.venv-app\lib\site-packages\cli_base\toml_settings\api.py", line 11, in <module>
from cli_base.cli_tools.path_utils import backup, expand_user
File "E:\Tools\Solar\inverter-connect\.venv-app\lib\site-packages\cli_base\cli_tools\path_utils.py", line 4, in <module>
import pwd
ModuleNotFoundError: No module named 'pwd'
PS E:\Tools\Solar\inverter-connect>
Using a Ubuntu in WSL works.
Using a Ubuntu in WSL works.
That's it.
pwd
doesn't exists under windows. I did not use windows. It would be too much work for me to customize everything for windows. But basically it could work.
Python version:
Steps to reproduce:
pip install -r requirements.txt
Current behaviour: Installation fails with
Expected behaviour: Installation of requirements completes successfully.
Notes: I noticed the colorama package does not exist in the requirements.txt file.