This is the error I'm gating. ↓↓↓↓
I can't fix it.
C:\Users\ahmadh>pip install autopy
Collecting autopy Using cached autopy-4.0.0.tar.gz (20 kB) Building wheels for collected packages: autopy Building wheel for autopy (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'd:\pyhton 3.9\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ahmad\AppData\Local\Temp\pip-install-rsipn_xs\autopy_85ed02f2241d4af3bda4b592359783f7\setup.py'"'"'; __file__='"'"'C:\Users\ahmad\AppData\Local\Temp\pip-install-rsipn_xs\autopy_85ed02f2241d4af3bda4b592359783f7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ahmad\AppData\Local\Temp\pip-wheel-7_hl4458' cwd: C:\Users\ahmad\AppData\Local\Temp\pip-install-rsipn_xs\autopy_85ed02f2241d4af3bda4b592359783f7\ Complete output (20 lines): running bdist_wheel running build running build_py creating build creating build\lib creating build\lib\autopy copying autopy\_init__.py -> build\lib\autopy running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. ---------------------------------------- ERROR: Failed building wheel for autopy Running setup.py clean for autopy ERROR: Command errored out with exit status 1: command: 'd:\pyhton 3.9\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ahmad\AppData\Local\Temp\pip-install-rsipn_xs\autopy_85ed02f2241d4af3bda4b592359783f7\setup.py'"'"'; __file__='"'"'C:\Users\ahmad\AppData\Local\Temp\pip-install-rsipn_xs\autopy_85ed02f2241d4af3bda4b592359783f7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all cwd: C:\Users\ahmad\AppData\Local\Temp\pip-install-rsipn_xs\autopy_85ed02f2241d4af3bda4b592359783f7 Complete output (17 lines): running clean removing 'build\lib' (and everything under it) 'build\bdist.win-amd64' does not exist -- can't clean it 'build\scripts-3.9' does not exist -- can't clean it removing 'build' running clean_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. ---------------------------------------- ERROR: Failed cleaning build dir for autopy Failed to build autopy Installing collected packages: autopy Running setup.py install for autopy ... error ERROR: Command errored out with exit status 1: command: 'd:\pyhton 3.9\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ahmad\AppData\Local\Temp\pip-install-rsipn_xs\autopy_85ed02f2241d4af3bda4b592359783f7\setup.py'"'"'; __file__='"'"'C:\Users\ahmad\AppData\Local\Temp\pip-install-rsipn_xs\autopy_85ed02f2241d4af3bda4b592359783f7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ahmad\AppData\Local\Temp\pip-record-2suvlq_r\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\pyhton 3.9\Include\autopy' cwd: C:\Users\ahmad\AppData\Local\Temp\pip-install-rsipn_xs\autopy_85ed02f2241d4af3bda4b592359783f7\ Complete output (20 lines): running install running build running build_py creating build creating build\lib.win-amd64-3.9 creating build\lib.win-amd64-3.9\autopy copying autopy\_init__.py -> build\lib.win-amd64-3.9\autopy running build_ext running build_rust error: can't find Rust compiler If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. To update pip, run: pip install --upgrade pip and then retry package installation. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. ---------------------------------------- ERROR: Command errored out with exit status 1: 'd:\pyhton 3.9\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ahmad\AppData\Local\Temp\pip-install-rsipn_xs\autopy_85ed02f2241d4af3bda4b592359783f7\setup.py'"'"'; __file__='"'"'C:\Users\ahmad\AppData\Local\Temp\pip-install-rsipn_xs\autopy_85ed02f2241d4af3bda4b592359783f7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ahmad\AppData\Local\Temp\pip-record-2suvlq_r\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\pyhton 3.9\Include\autopy' Check the logs for full command output.
C:\Users\ahmadh>
C:\Users\ahmadh>
C:\Users\ahmadh>