[Python] window qt cannot be used

reason:

Go to the customer site for on-site modeling. In the window operating system, the python environment is not available and cannot be connected to the external network

solution:

Change the company's internal modeling environment C:\ProgramData\Anaconda3. Copy the entire Anaconda3 directory to the client's machine

 

Problems on the client's machine:

Qt can't show it

 

solution:

Copy the platforms folder where the 4 dll files under the qt package in the original C:\ProgramData\Anaconda3 directory are located to the same directory of python.exe on the client machine.

 

Copy the platforms folder of the non-customer modeling environment

C:\ProgramData\Anaconda3\pkgs\qt-5.9.5-vc14he4a7d60_0\Library\plugins\platforms

To

E:\ryanzheng\Anaconda3\python.exe in the same directory

Guess you like

Origin blog.csdn.net/xiezhen_zheng/article/details/102805776