12/9/2023 0 Comments Install opencv python mac![]() ![]() Running setup.py install for opencv-python: started Not uninstalling numpy at /usr/lib/python3/dist-packages, outside environment /usr ![]() Installing collected packages: numpy, opencv-python, opencv-contrib-pythonįound existing installation: numpy 1.13.3 Problem with the CMake installation, aborting build. CMake executable is %s" % cmake_executable) "Problem with the CMake installation, aborting build. Self.cmake_version = get_cmake_version(self.cmake_executable)įile "/usr/local/lib/python3.7/dist-packages/skbuild/cmaker.py", line 82, in get_cmake_version usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'įile "/usr/local/lib/python3.7/dist-packages/skbuild/setuptools_wrap.py", line 560, in setupįile "/usr/local/lib/python3.7/dist-packages/skbuild/cmaker.py", line 95, in _init_ Running setup.py bdist_wheel for opencv-python: finished with status 'error'Ĭomplete output from command /usr/bin/python -u -c "import setuptools, tokenize _file_='/tmp/pip-build-w49xv99a/opencv-python/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/tmpycj03zlwpip-wheel-python-tag cp37: Running setup.py bdist_wheel for opencv-python: started Step 13/25 : RUN pip install opencv-python opencv-contrib-pythonĬollecting numpy>=1.14.5 (from opencv-python)īuilding wheels for collected packages: opencv-python Removing intermediate container afe0c5c0fca0 Successfully installed distro-1.5.0 packaging-20.4 pyparsing-2.4.7 scikit-build-0.11.1 Installing collected packages: pyparsing, packaging, distro, scikit-build Requirement already satisfied: six in /usr/lib/python3/dist-packages (from packaging->scikit-build)Ĭollecting pyparsing>=2.0.2 (from packaging->scikit-build) ![]() Requirement already satisfied: setuptools>=28.0.0 python_version >= "3" in /usr/lib/python3/dist-packages (from scikit-build) Requirement already satisfied: wheel>=0.29.0 in /usr/lib/python3/dist-packages (from scikit-build) I added pip install scikit-build one step before opencv installation but I get another error related to cmake: Step 12/25 : RUN pip install scikit-build I tried it on different python and pip versions, python versions 3.6 and 3.7 and pip version 19.12 and 20.2.2 and 9.0.1 (the one inside image). ![]() Is this because their server has some problems or it is related to my pip? Update Hits = arch(, 'or')įile "/usr/lib/python3.6/xmlrpc/client.py", line 1112, in _call_įile "/usr/lib/python3.6/xmlrpc/client.py", line 1452, in _requestįile "/usr/local/lib/python3.6/dist-packages/pip/_internal/network/xmlrpc.py", line 45, in requestįile "/usr/lib/python3.6/xmlrpc/client.py", line 1342, in parse_responseįile "/usr/lib/python3.6/xmlrpc/client.py", line 656, in close If executing pip with sudo, you may want sudo's -H flag.įile "/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/base_command.py", line 216, in _mainįile "/usr/local/lib/python3.6/dist-packages/pip/_internal/commands/search.py", line 60, in runįile "/usr/local/lib/python3.6/dist-packages/pip/_internal/commands/search.py", line 80, in search Check the permissions and owner of that directory. WARNING: The directory '/home/ali/.cache/pip' or its parent directory is not owned or is not writable by the current user. ModuleNotFoundError: No module named 'skbuild'Īnd on the host also I cannot find that module and pip search is either return nothing or returns a server error: sudo pip3 search skbuild I have a docker image that I need to install openCV in it and from yesterday it started to fail because it cannot find the "skbuild" module: Step 12/24 : RUN pip install opencv-python opencv-contrib-pythonĬomplete output from command python setup.py egg_info:įile "/tmp/pip-build-cciracwm/opencv-python/setup.py", line 9, in ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |