(Solved)Unable to launch C:\Miniconda3\Lib\site-packages\pyqt5_tools\bin\uic.exe


Headnotes

Many equations and formulas look intimidating. However, when you hunt them down, they are definitely not! Just papertigers!

Now let's hunt the papertiger.

When I use Qt Designer, I want to view the corresponding python or c code(Form > View Code). However, the installed qt-designer cannot find uic module. I found the uic moudle(uic.exe) located in

C:\Miniconda3\Lib\site-packages\pyqt5_tools\uic.exe

and the pyuic5 executable (pyuic5.exe) located at

C:\Miniconda3\Scripts\pyuic5.exe

In windows, we cannot create hard link, so I installed Hard Link Shell. Then I hard-linked those excutables to the path qt-designer used. Finally, it works like a charm.


Footnotes

There are many excellent tutorials out there. Some tutorials are too intuitive and it's helpful, but you cannot get it straight on the math details. Some focused on dymestifying math. Some focused on code. I found the best tutorials that give you the conceptual ideas and are possible for implementation without being blind to the math details. Drop a comment if I failed. It would be really appreciable.


If you want to cite this article, please cite this article as:

Lachlan Chen, "(Solved)Unable to launch C:\Miniconda3\Lib\site-packages\pyqt5_tools\bin\uic.exe," in EarnFromScratch, 五月 1, 2019, https://www.earnfs.com/zh/html/1925.htm.

or

@misc{lachlanchen2020tutorial,
title=(Solved)Unable to launch C:\Miniconda3\Lib\site-packages\pyqt5_tools\bin\uic.exe,
author={Chen, Lachlan},
year=五月 1, 2019
}


EarnFromScratch (九月 25, 2020) (Solved)Unable to launch C:\Miniconda3\Lib\site-packages\pyqt5_tools\bin\uic.exe. Retrieved from https://www.earnfs.com/zh/html/1925.htm.
"(Solved)Unable to launch C:\Miniconda3\Lib\site-packages\pyqt5_tools\bin\uic.exe." EarnFromScratch - 九月 25, 2020, https://www.earnfs.com/zh/html/1925.htm
EarnFromScratch 五月 1, 2019 (Solved)Unable to launch C:\Miniconda3\Lib\site-packages\pyqt5_tools\bin\uic.exe., viewed 九月 25, 2020,<https://www.earnfs.com/zh/html/1925.htm>
EarnFromScratch - (Solved)Unable to launch C:\Miniconda3\Lib\site-packages\pyqt5_tools\bin\uic.exe. [Internet]. [Accessed 九月 25, 2020]. Available from: https://www.earnfs.com/zh/html/1925.htm
"(Solved)Unable to launch C:\Miniconda3\Lib\site-packages\pyqt5_tools\bin\uic.exe." EarnFromScratch - Accessed 九月 25, 2020. https://www.earnfs.com/zh/html/1925.htm
"(Solved)Unable to launch C:\Miniconda3\Lib\site-packages\pyqt5_tools\bin\uic.exe." EarnFromScratch [Online]. Available: https://www.earnfs.com/zh/html/1925.htm. [Accessed: 九月 25, 2020]


发表评论