“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.” 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.
solution:
pip install pyscreeze
Download the dependency package to solve the problem
2. Because I used the python plug-in of idea, I didn’t choose my own Python installation path when I first created the python project, so idea automatically created a python running environment for me on disk F. however, the python commands I used on the command line and the downloaded packages are on disk d.. Finally, the problem was solved by changing the running environment:
File ➡ project Structure ➡ SDKs
Select python.exe under your own Python directory
Then restart and reload the running environment
Similar Posts:
- Python Importerror: DLL load failed: unable to find the specified module
- Solution of import Cafe error reporting in Python command line
- [Solved] Django cannot create an app after creating a project
- After tensorflow is installed, an error occurred during import: importerror: DLL load failed: the specified module cannot be found
- How to Solve Centos Yum Error: No module named yum
- Solve the problem of Attributeerror: module ‘SciPy. Misc’ has no attribute ‘imread’
- jupyter notebook error: No module named ‘tensorflow’
- [Solved] Windows installation uwsgi error: AttributeError: module’os’ has no attribute’uname’
- [Solved] python MATLAB Error: OSError: MATLAB Engine for Python supports Python version 2.7, 3.4, 3.5 and3.6, but your version of python is 3.8
- How to Solve Django Error: No module named ‘MySQLdb’