Hi, not sure if this is the right place to open this issue.
But I don't know what else to do. I'm trying to install autopy and I get the following errors.
Thanks for all the help.
pi@raspberrypi:/ $ pip install autopy
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting autopy
Using cached https://files.pythonhosted.org/packages/c6/36/bb1af0948e12cedef71da68b80960b3905805e30990d934102dcab012ddf/autopy-1.1.1.tar.gz
Building wheels for collected packages: autopy
Building wheel for autopy (setup.py) ... error
ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-lqf7zrrc/autopy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-c85mze7e --python-tag cp37:
ERROR: 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 --release --verbose -- --crate-type cdylib
Compiling arrayvec v0.4.11
Compiling proc-macro2 v0.4.30
Compiling lazy_static v1.3.0
Compiling nodrop v0.1.13
Running `rustc --crate-name build_script_build /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=c8a43e12762695d1 -C extra-filename=-c8a43e12762695d1 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/build/arrayvec-c8a43e12762695d1 -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow`
Running `rustc --crate-name build_script_build /home/pi/.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=d21b74293a25bb41 -C extra-filename=-d21b74293a25bb41 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/build/proc-macro2-d21b74293a25bb41 -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow`
Running `rustc --crate-name lazy_static /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.3.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=7517fd82bb3c82a3 -C extra-filename=-7517fd82bb3c82a3 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/deps -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow`
Running `rustc --crate-name nodrop /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/nodrop-0.1.13/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=3f4e338c46e747d6 -C extra-filename=-3f4e338c46e747d6 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/deps -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow`
error: Could not compile `lazy_static`.
Caused by:
process didn't exit successfully: `rustc --crate-name lazy_static /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.3.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=7517fd82bb3c82a3 -C extra-filename=-7517fd82bb3c82a3 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/deps -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: Could not compile `arrayvec`.
Caused by:
process didn't exit successfully: `rustc --crate-name build_script_build /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=c8a43e12762695d1 -C extra-filename=-c8a43e12762695d1 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/build/arrayvec-c8a43e12762695d1 -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: Could not compile `proc-macro2`.
Caused by:
process didn't exit successfully: `rustc --crate-name build_script_build /home/pi/.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=d21b74293a25bb41 -C extra-filename=-d21b74293a25bb41 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/build/proc-macro2-d21b74293a25bb41 -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
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: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-lqf7zrrc/autopy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_w1lyn8p/install-record.txt --single-version-externally-managed --compile:
ERROR: running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/autopy
copying autopy/__init__.py -> build/lib.linux-armv7l-3.7/autopy
running build_ext
running build_rust
cargo rustc --lib --manifest-path Cargo.toml --features pyo3/extension-module --release --verbose -- --crate-type cdylib
Compiling arrayvec v0.4.11
Compiling libc v0.2.60
Compiling nodrop v0.1.13
Compiling cfg-if v0.1.9
Running `rustc --crate-name build_script_build /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=c8a43e12762695d1 -C extra-filename=-c8a43e12762695d1 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/build/arrayvec-c8a43e12762695d1 -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow`
Running `rustc --crate-name build_script_build /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.60/build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=2e454f5878c8d297 -C extra-filename=-2e454f5878c8d297 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/build/libc-2e454f5878c8d297 -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow`
Running `rustc --crate-name cfg_if /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.9/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=a882545820a0c8d5 -C extra-filename=-a882545820a0c8d5 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/deps -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow`
Running `rustc --crate-name nodrop /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/nodrop-0.1.13/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=3f4e338c46e747d6 -C extra-filename=-3f4e338c46e747d6 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/deps -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow`
Compiling lazy_static v1.3.0
Running `rustc --crate-name lazy_static /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.3.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=7517fd82bb3c82a3 -C extra-filename=-7517fd82bb3c82a3 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/deps -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow`
Compiling autocfg v0.1.5
Running `rustc --crate-name autocfg /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-0.1.5/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=375f307f6fed4821 -C extra-filename=-375f307f6fed4821 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/deps -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow`
error: Could not compile `lazy_static`.
Caused by:
process didn't exit successfully: `rustc --crate-name lazy_static /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.3.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=7517fd82bb3c82a3 -C extra-filename=-7517fd82bb3c82a3 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/deps -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: Could not compile `libc`.
Caused by:
process didn't exit successfully: `rustc --crate-name build_script_build /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.60/build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=2e454f5878c8d297 -C extra-filename=-2e454f5878c8d297 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/build/libc-2e454f5878c8d297 -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
free(): invalid next size (fast)
error: Could not compile `arrayvec`.
Caused by:
process didn't exit successfully: `rustc --crate-name build_script_build /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/build.rs --color never --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=c8a43e12762695d1 -C extra-filename=-c8a43e12762695d1 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/build/arrayvec-c8a43e12762695d1 -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow` (signal: 6, SIGABRT: process abort signal)
warning: build failed, waiting for other jobs to finish...
error: Could not compile `autocfg`.
Caused by:
process didn't exit successfully: `rustc --crate-name autocfg /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-0.1.5/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=375f307f6fed4821 -C extra-filename=-375f307f6fed4821 --out-dir /tmp/pip-install-lqf7zrrc/autopy/target/release/deps -L dependency=/tmp/pip-install-lqf7zrrc/autopy/target/release/deps --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
error: cargo failed with code: 101
----------------------------------------
ERROR: Command "/usr/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-lqf7zrrc/autopy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_w1lyn8p/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-lqf7zrrc/autopy/