ascii-webcam icon indicating copy to clipboard operation
ascii-webcam copied to clipboard

Module cv2 impossible à télécharger

Open pazzazzo opened this issue 4 years ago • 3 comments

Bonjour,

J'ai tout essayer pip install opencv-python pip3 install opencv-python

instraller plein d'autre dépandances, rien y fais, je peut pas avoir le module

`ERROR: Command errored out with exit status 1: command: /usr/bin/python /home/pi/.local/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-g7ZAAJ/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- 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 (25 lines): DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/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.7"' don't match your environment Ignoring numpy: markers 'python_version >= "3.8"' don't match your environment Collecting setuptools Using cached setuptools-44.1.1-py2.py3-none-any.whl (583 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.2.post1.tar.gz (28 kB) ERROR: Command errored out with exit status 1: command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-83AuY8/cmake/setup.py'"'"'; file='"'"'/tmp/pip-install-83AuY8/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-JHxAAI cwd: /tmp/pip-install-83AuY8/cmake/ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-83AuY8/cmake/setup.py", line 7, in from skbuild import setup ImportError: 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/python /home/pi/.local/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-g7ZAAJ/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- 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. `

pazzazzo avatar Nov 07 '20 13:11 pazzazzo

On dirait que tu n'as pas la bonne version de python. Tu es encore en python 2.7 ?

Axiooms avatar Nov 07 '20 21:11 Axiooms

@Axiooms J'ai la dernière version de tout

pazzazzo avatar Nov 08 '20 06:11 pazzazzo

Essaie de faire ca : $ python -m pip install opencv-python

SkwalExe avatar Nov 17 '20 21:11 SkwalExe