|
toybrick板子,debian10系统,安装opencv报错
- toybrick@debian10:~/Downloads$ pip3 install opencv-python
- Defaulting to user installation because normal site-packages is not writeable
- Looking in indexes: https://pypi.org/simple, http://repo.rock-chips.com/pypi/simple
- Collecting opencv-python
- Using cached opencv-python-4.4.0.40.tar.gz (88.9 MB)
- Installing build dependencies ... error
- ERROR: Command errored out with exit status 1:
- command: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-8w0xbnu4/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url http://repo.rock-chips.com/pypi/simple --trusted-host repo.rock-chips.com -- setuptools wheel scikit-build cmake pip 'numpy==1.11.3; python_version=='"'"'3.5'"'"'' 'numpy==1.13.3; python_version=='"'"'3.6'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"''
- cwd: None
- Complete output (23 lines):
- Looking in indexes: https://pypi.org/simple, http://repo.rock-chips.com/pypi/simple, http://repo.rock-chips.com/pypi/simple
- Ignoring numpy: markers 'python_version == "3.5"' don't match your environment
- Ignoring numpy: markers 'python_version == "3.6"' don't match your environment
- Ignoring numpy: markers 'python_version >= "3.8"' don't match your environment
- Collecting setuptools
- Using cached setuptools-49.6.0-py3-none-any.whl (803 kB)
- Collecting wheel
- Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB)
- Collecting scikit-build
- Using cached scikit_build-0.11.1-py2.py3-none-any.whl (72 kB)
- Collecting cmake
- Using cached cmake-3.18.0.tar.gz (28 kB)
- ERROR: Command errored out with exit status 1:
- command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-drqorqvn/cmake/setup.py'"'"'; __file__='"'"'/tmp/pip-install-drqorqvn/cmake/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-eklppbqv
- cwd: /tmp/pip-install-drqorqvn/cmake/
- Complete output (5 lines):
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "/tmp/pip-install-drqorqvn/cmake/setup.py", line 7, in <module>
- from skbuild import setup
- ModuleNotFoundError: No module named 'skbuild'
- ----------------------------------------
- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
- ----------------------------------------
- ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-8w0xbnu4/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url http://repo.rock-chips.com/pypi/simple --trusted-host repo.rock-chips.com -- setuptools wheel scikit-build cmake pip 'numpy==1.11.3; python_version=='"'"'3.5'"'"'' 'numpy==1.13.3; python_version=='"'"'3.6'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"'' Check the logs for full command output.
|
|