Giter Site home page Giter Site logo

Comments (4)

YuuLong avatar YuuLong commented on July 25, 2024

应该是我环境配置问题,故关闭

from genshin_impact_assistant.

infstellar avatar infstellar commented on July 25, 2024

感谢,可能有助于解决GIA Launcher的一个相似问题,我之后试试

from genshin_impact_assistant.

YuuLong avatar YuuLong commented on July 25, 2024

感谢,可能有助于解决GIA Launcher的一个相似问题,我之后试试

上述方法没有解决虚拟环境下的win32gui.dll丢失问题,但经过努力找到解决方案了,具体如下:
对于该种bug是由于找到了win32gui.pyd,但未找到win32gui.dll,该文件涵盖在pywin32_system32下的一个pywintypes37.dll的文件之中,其中37为python版本

该文件需在/sources/util.py中引入pywintypes.dll
即将该文件的前两行由

import time, math, shutil, sys, os, json
import win32gui, win32process, psutil, ctypes, pickle, traceback

改为

import time, math, shutil, sys, os, json, psutil, ctypes, pickle, traceback
import pywintypes
from win32 import win32gui, win32process

其中from win32可加可不加,看路径有没有加这个,加了就不用from

from genshin_impact_assistant.

infstellar avatar infstellar commented on July 25, 2024

好的,我还以为要在Launcher里修所以一直没修,原来改源码就行了(

from genshin_impact_assistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.