Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

扫雷游戏中为什么我无法显示图片,我的pyqt5在anaconda环境中似乎一直存在这个问题 #37

Closed
blackxiaobai opened this issue Jun 19, 2023 · 2 comments

Comments

@blackxiaobai
Copy link

扫雷游戏中为什么我无法显示图片,我的pyqt5在anaconda环境中似乎一直存在这个问题

@mfitzp
Copy link
Member

mfitzp commented Feb 19, 2024

Why can't I display pictures in the Minesweeper game? My pyqt5 seems to have this problem in the anaconda environment.

You may need to run the application from the same folder for the paths to work. The paths are relative to the folder you're executing in, not the folder of the source code.

@mfitzp mfitzp closed this as completed Feb 19, 2024
@blackxiaobai
Copy link
Author

为什么我在扫雷游戏中无法显示图片?我的pyqt5在anaconda环境下好像也有这个问题。

您可能需要从同一文件夹运行应用程序才能使路径正常工作。这些路径是相对于您正在执行的文件夹,而不是源代码的文件夹。
OK,Thank you,bro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants