Autopy error #5
krishnam-programmer1
started this conversation in
General
Replies: 2 comments 39 replies
-
This problem seems to be to critical. Try the solution below: Try by installing Rust: After that try with,
|
Beta Was this translation helpful? Give feedback.
37 replies
-
Please check |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here is the error please help
ERROR: Command errored out with exit status 1:
command: 'c:\users\lenovo\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\setup.py'"'"'; file='"'"'C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\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\LENOVO\AppData\Local\Temp\pip-wheel-8ar73vk3'
cwd: C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07
Complete output (163 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
Compiling crossbeam-utils v0.8.5
Compiling syn v0.15.44
Compiling libc v0.2.97
Compiling proc-macro2 v1.0.27
Compiling lazy_static v1.4.0
Compiling unicode-xid v0.2.2
Compiling crossbeam-epoch v0.9.5
Compiling memchr v2.4.0
Running
rustc --crate-name autocfg C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\autocfg-1.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=072adf0e34110503 -C extra-filename=-072adf0e34110503 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-0.4.30\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=002341fe499a1cba -C extra-filename=-002341fe499a1cba --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\proc-macro2-002341fe499a1cba -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name cfg_if --edition=2018 C:\Users\LENOVO\.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 embed-bitcode=no -C metadata=77c12644f5945380 -C extra-filename=-77c12644f5945380 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps --target x86_64-pc-windows-msvc -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-utils-0.8.5\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"lazy_static\"" --cfg "feature=\"std\"" -C metadata=44598fce92579f62 -C extra-filename=-44598fce92579f62 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\crossbeam-utils-44598fce92579f62 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name unicode_xid C:\Users\LENOVO\.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 embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" -C metadata=b14734a2b0c4dc0e -C extra-filename=-b14734a2b0c4dc0e --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\syn-0.15.44\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --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=0d0c767d1d1cbfd5 -C extra-filename=-0d0c767d1d1cbfd5 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\syn-0d0c767d1d1cbfd5 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\libc-0.2.97\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=1dd75b95ce8b11c4 -C extra-filename=-1dd75b95ce8b11c4 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\libc-1dd75b95ce8b11c4 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-1.0.27\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=655eb8620aa15644 -C extra-filename=-655eb8620aa15644 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\proc-macro2-655eb8620aa15644 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name lazy_static C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\lazy_static-1.4.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 embed-bitcode=no -C metadata=2edbf6a40caf7a9a -C extra-filename=-2edbf6a40caf7a9a --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps --target x86_64-pc-windows-msvc -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name unicode_xid C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\unicode-xid-0.2.2\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" -C metadata=a8f4f245e22a84e8 -C extra-filename=-a8f4f245e22a84e8 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\memchr-2.4.0\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=f660f0c1ff840b87 -C extra-filename=-f660f0c1ff840b87 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\memchr-f660f0c1ff840b87 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-epoch-0.9.5\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"alloc\"" --cfg "feature=\"lazy_static\"" --cfg "feature=\"std\"" -C metadata=831aef631aa178bd -C extra-filename=-831aef631aa178bd --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\crossbeam-epoch-831aef631aa178bd -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Compiling syn v1.0.73
Running
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\syn-1.0.73\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"clone-impls\"" --cfg "feature=\"default\"" --cfg "feature=\"derive\"" --cfg "feature=\"full\"" --cfg "feature=\"parsing\"" --cfg "feature=\"printing\"" --cfg "feature=\"proc-macro\"" --cfg "feature=\"quote\"" -C metadata=24453d855316d499 -C extra-filename=-24453d855316d499 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\syn-24453d855316d499 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Compiling scopeguard v1.1.0
Running
rustc --crate-name scopeguard C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\scopeguard-1.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 -C embed-bitcode=no --cfg "feature=\"default\"" --cfg "feature=\"use_std\"" -C metadata=196d87d2f217e6c8 -C extra-filename=-196d87d2f217e6c8 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps --target x86_64-pc-windows-msvc -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Compiling rayon-core v1.9.1
Running
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\rayon-core-1.9.1\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=3ed87fc0647ec31f -C extra-filename=-3ed87fc0647ec31f --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\rayon-core-3ed87fc0647ec31f -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Compiling getrandom v0.1.16
Running
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\getrandom-0.1.16\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"std\"" -C metadata=759bb51c673e2d99 -C extra-filename=-759bb51c673e2d99 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\getrandom-759bb51c673e2d99 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Compiling bitflags v1.2.1
Running
rustc --crate-name build_script_build C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\bitflags-1.2.1\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" -C metadata=788fbab988078655 -C extra-filename=-788fbab988078655 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\bitflags-788fbab988078655 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
error: linker
link.exe
not found|
= note: The system cannot find the file specified. (os error 2)
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 foundnote: the msvc targets depend on the msvc linker but
link.exe
was not foundnote: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
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-epoch
Caused by:
process didn't exit successfully:
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-epoch-0.9.5\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"alloc\"" --cfg "feature=\"lazy_static\"" --cfg "feature=\"std\"" -C metadata=831aef631aa178bd -C extra-filename=-831aef631aa178bd --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\crossbeam-epoch-831aef631aa178bd -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
(exit code: 1)warning: build failed, waiting for other jobs to finish...
error: aborting due to previous error
error: linker
link.exe
not found|
= note: The system cannot find the file specified. (os error 2)
error: linker
link.exe
not found|
= note: The system cannot find the file specified. (os error 2)
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 foundnote: the msvc targets depend on the msvc linker but
link.exe
was not foundnote: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
note: the msvc targets depend on the msvc linker but
link.exe
was not foundnote: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option
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: aborting due to previous error
error: aborting due to previous error
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 foundnote: 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: 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 foundnote: 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: 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 foundnote: 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: 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 foundnote: 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: 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 foundnote: 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: 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 foundnote: 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: 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\lenovo\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\setup.py'"'"'; file='"'"'C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\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\LENOVO\AppData\Local\Temp\pip-record-is9fkk2v\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\lenovo\appdata\local\programs\python\python39\Include\autopy'
cwd: C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07
Complete output (114 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
Compiling crossbeam-utils v0.8.5
Compiling proc-macro2 v1.0.27
Compiling lazy_static v1.4.0
Compiling libc v0.2.97
Compiling syn v0.15.44
Compiling crossbeam-epoch v0.9.5
Compiling unicode-xid v0.2.2
Compiling scopeguard v1.1.0
Running
rustc --crate-name autocfg C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\autocfg-1.0.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=072adf0e34110503 -C extra-filename=-072adf0e34110503 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-0.4.30\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=002341fe499a1cba -C extra-filename=-002341fe499a1cba --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\proc-macro2-002341fe499a1cba -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name cfg_if --edition=2018 C:\Users\LENOVO\.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 embed-bitcode=no -C metadata=77c12644f5945380 -C extra-filename=-77c12644f5945380 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps --target x86_64-pc-windows-msvc -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name unicode_xid C:\Users\LENOVO\.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 embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" -C metadata=b14734a2b0c4dc0e -C extra-filename=-b14734a2b0c4dc0e --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-utils-0.8.5\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"lazy_static\"" --cfg "feature=\"std\"" -C metadata=44598fce92579f62 -C extra-filename=-44598fce92579f62 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\crossbeam-utils-44598fce92579f62 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-1.0.27\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=655eb8620aa15644 -C extra-filename=-655eb8620aa15644 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\proc-macro2-655eb8620aa15644 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\libc-0.2.97\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=1dd75b95ce8b11c4 -C extra-filename=-1dd75b95ce8b11c4 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\libc-1dd75b95ce8b11c4 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name lazy_static C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\lazy_static-1.4.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 embed-bitcode=no -C metadata=2edbf6a40caf7a9a -C extra-filename=-2edbf6a40caf7a9a --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps --target x86_64-pc-windows-msvc -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\syn-0.15.44\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --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=0d0c767d1d1cbfd5 -C extra-filename=-0d0c767d1d1cbfd5 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\syn-0d0c767d1d1cbfd5 -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-epoch-0.9.5\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"alloc\"" --cfg "feature=\"lazy_static\"" --cfg "feature=\"std\"" -C metadata=831aef631aa178bd -C extra-filename=-831aef631aa178bd --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\crossbeam-epoch-831aef631aa178bd -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name unicode_xid C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\unicode-xid-0.2.2\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" -C metadata=a8f4f245e22a84e8 -C extra-filename=-a8f4f245e22a84e8 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Running
rustc --crate-name scopeguard C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\scopeguard-1.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 -C embed-bitcode=no --cfg "feature=\"default\"" --cfg "feature=\"use_std\"" -C metadata=196d87d2f217e6c8 -C extra-filename=-196d87d2f217e6c8 --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps --target x86_64-pc-windows-msvc -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\x86_64-pc-windows-msvc\release\deps -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
Compiling rayon-core v1.9.1
Running
rustc --crate-name build_script_build --edition=2018 C:\Users\LENOVO\.cargo\registry\src\github.com-1ecc6299db9ec823\rayon-core-1.9.1\build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=3ed87fc0647ec31f -C extra-filename=-3ed87fc0647ec31f --out-dir C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\build\rayon-core-3ed87fc0647ec31f -L dependency=C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\target\release\deps --cap-lints allow
error: linker
link.exe
not found|
= note: The system cannot find the file specified. (os error 2)
ERROR: Command errored out with exit status 1: 'c:\users\lenovo\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\setup.py'"'"'; file='"'"'C:\Users\LENOVO\AppData\Local\Temp\pip-install-f0ysa8fz\autopy_56376af3859a48eda156e47f045d6f07\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\LENOVO\AppData\Local\Temp\pip-record-is9fkk2v\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\lenovo\appdata\local\programs\python\python39\Include\autopy' Check the logs for full command output.
Beta Was this translation helpful? Give feedback.
All reactions