You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered this error while trying to run the application. I have poetry installed and also python. here's what my cmd says.
PyTibia-main>poetry run python main.py
Traceback (most recent call last):
File "Desktop\PyTibia-main\main.py", line 2, in
from src.gameplay.threads.pyTibia import PyTibiaThread
File "Desktop\PyTibia-main\src\gameplay\threads\pyTibia.py", line 12, in
from src.gameplay.core.middlewares.window import setTibiaWindowMiddleware
File "Desktop\PyTibia-main\src\gameplay\core\middlewares\window.py", line 2, in
import win32gui
ModuleNotFoundError: No module named 'win32gui'
keep in mind I have pywin32 already installed. idk what to do from here. I already did the command poetry install too.
The text was updated successfully, but these errors were encountered:
I had similar issue with win32con import, how i fixed it:
pip install pywin32
Copy pywin32 folder and pywin32.pth from C:\Users\XXX\AppData\Local\Programs\Python\Python39\
to
C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\pytibia-yRHMxwev-py3.9\Lib\site-packages
Not sure if its correct fix, as i cannot seem to get it to work (Healing and combat tabs are empty)
If I understood correctly, there won't be a PR, because the fix wasn't on the code, it was actually on poetry virtualenvs. He just copied the pywin32 folder and files from one place to another.
I encountered this error while trying to run the application. I have poetry installed and also python. here's what my cmd says.
PyTibia-main>poetry run python main.py
Traceback (most recent call last):
File "Desktop\PyTibia-main\main.py", line 2, in
from src.gameplay.threads.pyTibia import PyTibiaThread
File "Desktop\PyTibia-main\src\gameplay\threads\pyTibia.py", line 12, in
from src.gameplay.core.middlewares.window import setTibiaWindowMiddleware
File "Desktop\PyTibia-main\src\gameplay\core\middlewares\window.py", line 2, in
import win32gui
ModuleNotFoundError: No module named 'win32gui'
keep in mind I have pywin32 already installed. idk what to do from here. I already did the command poetry install too.
The text was updated successfully, but these errors were encountered: