Closed Carraraaa closed 10 months ago
I've used the following commands to set up a clear Anaconda environment in order to test if the current requirements.txt
need modifications:
git clone https://github.com/1hubert/genshin-dialogue-autoskip.git
cd genshin-dialogue-autoskip
conda create -n test
conda activate test
conda install python=3.12
pip install -r requirements.txt
autoskip_dialogue.py
As you see, the win32api
is able to correctly detect my screen resolution. The rest of the script also works as intended. I appreciate your help as it's clearly intended to save other people's time which I respect a lot, but I don't want to add an extra module to requirements.txt
without direct evidence that it's indeed needed for the script to work.
@1hubert hey im not sure if this helps but when i was changing to the most recent version of the script and had just installed the new requirements i got this error
pyautogui.PyAutoGUIException: PyAutoGUI was unable to import pyscreeze. (This is likely because you're running a version of Python that Pillow (which pyscreeze depends on) doesn't support currently.) Please install this module to enable the function you tried to call.
I'm running python 3.12.1 and all the most recent versions of the other packages. The script immediately worked after ran pip install pillow.
just adds pillow to the requirements list