autopy
autopy copied to clipboard
Can't install autopy
C:\Users\Administrator\AppData\Local\Programs\Python\Python39>pip3 install autopy -U 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: 'c:\users\administrator\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-install-1m91cqtw\\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\\setup.py'"'"'; __file__='"'"'C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-install-1m91cqtw\\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\\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\Administrator\AppData\Local\Temp\pip-wheel-xq6s9qil' cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\ Complete output (71 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 Updating crates.io index cargo rustc --lib --manifest-path Cargo.toml --features pyo3/extension-module --target x86_64-pc-windows-msvc --release --verbose -- --crate-type cdylib Compiling autocfg v1.0.1 Compiling cfg-if v1.0.0 Compiling proc-macro2 v0.4.30 Compiling unicode-xid v0.1.0 Running
rustc --crate-name autocfg C:\Users\Administrator.cargo\registry\src\github.com-1ecc6299db9ec823\autocfg-1.0.1\src\lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=263ff29667c2336b -C extra-filename=-263ff29667c2336b --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allowRunning
rustc --crate-name build_script_build C:\Users\Administrator.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-0.4.30\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature="default"" --cfg "feature="proc-macro"" -C metadata=6c8ebf5c7d4871c7 -C extra-filename=-6c8ebf5c7d4871c7 --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\proc-macro2-6c8ebf5c7d4871c7 -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allowRunning
rustc --edition=2018 --crate-name cfg_if C:\Users\Administrator.cargo\registry\src\github.com-1ecc6299db9ec823\cfg-if-1.0.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=5e2df31d47534226 -C extra-filename=-5e2df31d47534226 --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\x86_64-pc-windows-msvc\release\deps --target x86_64-pc-windows-msvc -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\x86_64-pc-windows-msvc\release\deps -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allowRunning
rustc --crate-name unicode_xid C:\Users\Administrator.cargo\registry\src\github.com-1ecc6299db9ec823\unicode-xid-0.1.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg "feature="default"" -C metadata=4f022835e4619375 -C extra-filename=-4f022835e4619375 --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allowCompiling crossbeam-utils v0.8.5 Running
rustc --edition=2018 --crate-name build_script_build C:\Users\Administrator.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-utils-0.8.5\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature="default"" --cfg "feature="lazy_static"" --cfg "feature="std"" -C metadata=b961dcce236c437b -C extra-filename=-b961dcce236c437b --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\crossbeam-utils-b961dcce236c437b -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allowCompiling syn v0.15.44 Running
rustc --crate-name build_script_build C:\Users\Administrator.cargo\registry\src\github.com-1ecc6299db9ec823\syn-0.15.44\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature="clone-impls"" --cfg "feature="default"" --cfg "feature="derive"" --cfg "feature="extra-traits"" --cfg "feature="full"" --cfg "feature="parsing"" --cfg "feature="printing"" --cfg "feature="proc-macro"" --cfg "feature="quote"" -C metadata=7b7734dd6fad98ed -C extra-filename=-7b7734dd6fad98ed --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\syn-7b7734dd6fad98ed -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allowerror: linker
link.exe` not found
|
= note: The system cannot find the file specified. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: could not compile crossbeam-utils
.
Caused by:
process didn't exit successfully: rustc --edition=2018 --crate-name build_script_build C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-utils-0.8.5\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature=\"default\"" --cfg "feature=\"lazy_static\"" --cfg "feature=\"std\"" -C metadata=b961dcce236c437b -C extra-filename=-b961dcce236c437b --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\crossbeam-utils-b961dcce236c437b -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow
(exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linker link.exe
not found
|
= note: The system cannot find the file specified. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: could not compile proc-macro2
.
Caused by:
process didn't exit successfully: rustc --crate-name build_script_build C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-0.4.30\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=6c8ebf5c7d4871c7 -C extra-filename=-6c8ebf5c7d4871c7 --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\proc-macro2-6c8ebf5c7d4871c7 -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow
(exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linker link.exe
not found
|
= note: The system cannot find the file specified. (os error 2)
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: could not compile syn
.
Caused by:
process didn't exit successfully: rustc --crate-name build_script_build C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\syn-0.15.44\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature=\"clone-impls\"" --cfg "feature=\"default\"" --cfg "feature=\"derive\"" --cfg "feature=\"extra-traits\"" --cfg "feature=\"full\"" --cfg "feature=\"parsing\"" --cfg "feature=\"printing\"" --cfg "feature=\"proc-macro\"" --cfg "feature=\"quote\"" -C metadata=7b7734dd6fad98ed -C extra-filename=-7b7734dd6fad98ed --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\syn-7b7734dd6fad98ed -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow
(exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed
error: cargo failed with code: 101
ERROR: Failed building wheel for autopy
Running setup.py clean 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: 'c:\users\administrator\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\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\Administrator\AppData\Local\Temp\pip-record-bndmljnk\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\administrator\appdata\local\programs\python\python39\Include\autopy'
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f
Complete output (70 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
cargo rustc --lib --manifest-path Cargo.toml --features pyo3/extension-module --target x86_64-pc-windows-msvc --release --verbose -- --crate-type cdylib
Compiling autocfg v1.0.1
Compiling cfg-if v1.0.0
Compiling proc-macro2 v0.4.30
Compiling unicode-xid v0.1.0
Running rustc --crate-name autocfg C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\autocfg-1.0.1\src\lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=263ff29667c2336b -C extra-filename=-263ff29667c2336b --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow
Running rustc --edition=2018 --crate-name cfg_if C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\cfg-if-1.0.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=5e2df31d47534226 -C extra-filename=-5e2df31d47534226 --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\x86_64-pc-windows-msvc\release\deps --target x86_64-pc-windows-msvc -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\x86_64-pc-windows-msvc\release\deps -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow
Running rustc --crate-name build_script_build C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-0.4.30\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=6c8ebf5c7d4871c7 -C extra-filename=-6c8ebf5c7d4871c7 --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\proc-macro2-6c8ebf5c7d4871c7 -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow
Running rustc --crate-name unicode_xid C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\unicode-xid-0.1.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg "feature=\"default\"" -C metadata=4f022835e4619375 -C extra-filename=-4f022835e4619375 --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow
Compiling crossbeam-utils v0.8.5
Running rustc --edition=2018 --crate-name build_script_build C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-utils-0.8.5\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature=\"default\"" --cfg "feature=\"lazy_static\"" --cfg "feature=\"std\"" -C metadata=b961dcce236c437b -C extra-filename=-b961dcce236c437b --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\crossbeam-utils-b961dcce236c437b -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow
Compiling syn v0.15.44
Running rustc --crate-name build_script_build C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\syn-0.15.44\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature=\"clone-impls\"" --cfg "feature=\"default\"" --cfg "feature=\"derive\"" --cfg "feature=\"extra-traits\"" --cfg "feature=\"full\"" --cfg "feature=\"parsing\"" --cfg "feature=\"printing\"" --cfg "feature=\"proc-macro\"" --cfg "feature=\"quote\"" -C metadata=7b7734dd6fad98ed -C extra-filename=-7b7734dd6fad98ed --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\syn-7b7734dd6fad98ed -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow
error: linker link.exe
not found
|
= note: The system cannot find the file specified. (os error 2)
note: the msvc targets depend on the msvc linker but `link.exe` was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: could not compile `crossbeam-utils`.
Caused by:
process didn't exit successfully: `rustc --edition=2018 --crate-name build_script_build C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-utils-0.8.5\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature=\"default\"" --cfg "feature=\"lazy_static\"" --cfg "feature=\"std\"" -C metadata=b961dcce236c437b -C extra-filename=-b961dcce236c437b --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\crossbeam-utils-b961dcce236c437b -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linker `link.exe` not found
|
= note: The system cannot find the file specified. (os error 2)
note: the msvc targets depend on the msvc linker but `link.exe` was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: could not compile `proc-macro2`.
Caused by:
process didn't exit successfully: `rustc --crate-name build_script_build C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-0.4.30\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=6c8ebf5c7d4871c7 -C extra-filename=-6c8ebf5c7d4871c7 --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\proc-macro2-6c8ebf5c7d4871c7 -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linker `link.exe` not found
|
= note: The system cannot find the file specified. (os error 2)
note: the msvc targets depend on the msvc linker but `link.exe` was not found
note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
error: aborting due to previous error
error: could not compile `syn`.
Caused by:
process didn't exit successfully: `rustc --crate-name build_script_build C:\Users\Administrator\.cargo\registry\src\github.com-1ecc6299db9ec823\syn-0.15.44\build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg "feature=\"clone-impls\"" --cfg "feature=\"default\"" --cfg "feature=\"derive\"" --cfg "feature=\"extra-traits\"" --cfg "feature=\"full\"" --cfg "feature=\"parsing\"" --cfg "feature=\"printing\"" --cfg "feature=\"proc-macro\"" --cfg "feature=\"quote\"" -C metadata=7b7734dd6fad98ed -C extra-filename=-7b7734dd6fad98ed --out-dir C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\build\syn-7b7734dd6fad98ed -L dependency=C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\target\release\deps --cap-lints allow` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed
error: cargo failed with code: 101
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\administrator\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-install-1m91cqtw\autopy_b8f31664269c4b3aaa43f1e7a11ac54f\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\Administrator\AppData\Local\Temp\pip-record-bndmljnk\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\administrator\appdata\local\programs\python\python39\Include\autopy' Check the logs for full command output.`