BAAI-Agents / Cradle

The Cradle framework is a first attempt at General Computer Control (GCC). Cradle supports agents to ace any computer task by enabling strong reasoning abilities, self-improvment, and skill curation, in a standardized general environment with minimal requirements.
https://baai-agents.github.io/Cradle/
MIT License
1.56k stars 141 forks source link

cannot import name '_pyautogui_win' from partially initialized module 'pyautogui' #17

Closed ZhaojunCP closed 4 months ago

ZhaojunCP commented 4 months ago

Hello! Thanks for your awesome work! I got a problem when running the scriptprototype_runner.py . I completely follow your instructions on README.md and I don't know the reasons. The details are as follws: image Looking forward to your reply!

DVampire commented 4 months ago

It seems that pyautogui hasn't been installed successfully. It's possible that your previous installation attempt might have caused some issues. Could you please try reinstalling pyautogui with version 0.9.54 using pip install --force-reinstall pyautogui==0.9.54 to match our compatible version? Thank you very much for your attention to our work. If you encounter any issues, please feel free to contact us.

ZhaojunCP commented 4 months ago

It seems that pyautogui hasn't been installed successfully. It's possible that your previous installation attempt might have caused some issues. Could you please try reinstalling pyautogui with version 0.9.54 using pip install --force-reinstall pyautogui==0.9.54 to match our compatible version? Thank you very much for your attention to our work. If you encounter any issues, please feel free to contact us.

Thanks for your reply! I have solved the problem by turning the version of python to 3.9. In python 3.10, the problem still exists.