skywind3000 / PyStand

:rocket: Python Standalone Deploy Environment !!
MIT License
641 stars 75 forks source link

Win10下解压运行提示无法加载python3.dll #53

Open XinQ1231 opened 11 months ago

XinQ1231 commented 11 months ago

Win10下3个压缩包,解压运行均提示无法加载python3.dll

skywind3000 commented 11 months ago

杀毒软件杀掉了?

XinQ1231 commented 11 months ago

杀毒软件杀掉了? 不知道什么问题,重启好了; 但又开始提示“This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem ”,在int文件中增加QT_QPA_PLATFORM_PLUGIN_PATH环境变量设置的语句,可以执行了,请问可以把环境变量设置写在pystand.exe中么?

JiaPai12138 commented 10 months ago

杀毒软件杀掉了? 不知道什么问题,重启好了; 但又开始提示“This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem ”,在int文件中增加QT_QPA_PLATFORM_PLUGIN_PATH环境变量设置的语句,可以执行了,请问可以把环境变量设置写在pystand.exe中么?

可以的 修改init_script 还有调用SetEnvironmentVariableA 应该也有其他方式

skywind3000 commented 10 months ago

@XinQ1231 看这里:https://github.com/skywind3000/PyStand/issues/6