hdlg not supported on Linux or macOS
signer-ink-beast opened this issue · 3 comments
I installed hdlg using pip on Linux Mint 20.3. It installed fine, but it fails to run. Line 5 in hdlg/ui/main.py
tries to import pythoncom module. With some searching, it looks like that module is part of Active Python or PyWin32, and it only works on Windows.
To reproduce:
- Install Linux somewhere (maybe use WSL2 or a virtual machine?)
- Make sure pip is installed. In Mint, I had to run
apt install python3-pip
. - Install hdlg via
pip install --user hdlg
- If pip says
~/.local/bin
isn't in PATH, add this to it via your bashrc with a line likePATH="${PATH}:${HOME}/.local/bin"
. Source your new bashrc by running. ~/.bashrc
in your existing shell(s). - Start hdlg
The project is currently more focused on Windows even though it does hope to be Cross-Compatible with Linux and macOS one day. The primary roadblock for Linux/macOS support is primarily the fact that I'm now on Windows and cannot really test changes on Linux.
The project is currently more focused on Windows even though it does hope to be Cross-Compatible with Linux and macOS one day. The primary roadblock for Linux/macOS support is primarily the fact that I'm now on Windows and cannot really test changes on Linux.
What functionalities of pythoncom
it are you actually using? Are there any cross-platform libraries that has the same features?
What functionalities of
pythoncom
it are you actually using? Are there any cross-platform libraries that has the same features?
This is the only use of pythoncom:
Line 30 in 18011d1
I don't even remember why, but it's needed or either WMI Fails, or reading disk drives fail (I can't quite remember which).