Open chunlaiqingke opened 1 year ago
python3.9
我也是!!!python 3.9
大家解决了不
Traceback (most recent call last): File "E:\git\DouZero_For_HappyDouDiZhu-2.0\main.py", line 115, in init_cards self.user_hand_cards_real = self.find_my_cards(self.MyHandCardsPos) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\git\DouZero_For_HappyDouDiZhu-2.0\main.py", line 290, in find_my_cards img = pyautogui.screenshot(region=pos) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: _couldNotImportPyScreeze() got an unexpected keyword argument 'region'
一样救救
pip install --upgrade pyautogui可以解决
Traceback (most recent call last): File "/Users/zhaojun/github/DouZero_For_HappyDouDiZhu/main.py", line 115, in init_cards self.user_hand_cards_real = self.find_my_cards(self.MyHandCardsPos) File "/Users/zhaojun/github/DouZero_For_HappyDouDiZhu/main.py", line 292, in find_my_cards img = pyautogui.screenshot(region=pos) TypeError: _couldNotImportPyScreeze() got an unexpected keyword argument 'region'
执行开始按钮之后报这个错
macos