Ubuntu 管理心得

搜尋此網誌

2023年4月21日 星期五

Resolve the error while making octave: uic: Unknown option 'qt'.

Make sure the shell is not within the Anaconda environment. For example:

(base) chiao@kpchiao9600k-2204:/download/Octave/octave-8.2.0$ make

It gets the error:

...

uic: Unknown option 'qt'.

Being inside the Anaconda environment can lead to a make error as Anaconda has multiple "uic" options. These include:

./anaconda3/pkgs/pyqt-5.15.7-py310h6a678d5_1/lib/python3.10/site-packages/PyQt5/uic

./anaconda3/pkgs/qt-main-5.15.2-h327a75a_7/bin/uic

./anaconda3/lib/python3.10/site-packages/PyQt5/uic

./anaconda3/bin/uic

To resolve this error, make sure you are in a regular shell, outside of the Anaconda environment, before running the "make" command. For example

chiao@kpchiao9600k-2204:/download/Octave/octave-8.2.0$ make


沒有留言:

張貼留言