Closed jerryyip closed 5 years ago
It is fine now. I am able to run it in an virtualenv. Feel free to close the issue. It works well for me, except a little bug:
The combobox shows all the usb devices, but all we need is the serial devices with a name "/dev/cu.usb*". Anyway, thank you very much!
I havent test on mac just for I have no mac machine, you are welcome to use this software
Hi my old iron, I have package this application with pyinstaller. Here is the link: COMTool.app.zip Anyone with mac os 10.13 is able to use this app without installing the environment(py3, pyqt5, etc.), just double click the app bundle. And I met a problem when doing this, it was about the absolute path and the relative path. An absolute path is better in any case, it won't cause weird issues. (I edit a bit code to make it work as an app bundle)
# pathDirList = sys.argv[0].replace("\\", "/").split("/")
# pathDirList.pop()
if getattr(sys, 'frozen', False):
self.app_path = os.path.dirname(sys.executable)
else:
self.app_path = os.path.dirname(os.path.realpath(__file__))
I got the following error on my macos 10.13, but i could run a pyqt5 program on mac before. Do you know how to fix this?