Skip to content

Commit 06991f2

Browse files
committed
minor changes to readmes
1 parent df7227c commit 06991f2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ A: No, the packages are special wheel binary packages and they already contain s
5555

5656
**Q: Pip does not find package ``opencv-python``?**
5757

58-
A: The wheel package format and manylinux builds are pretty new things. Most likely the issue is related to too old pip and can be fixed by running ``pip install --upgrade pip``.
58+
A: The wheel package format and manylinux builds are pretty new things. Most likely the issue is related to too old pip and can be fixed by running ``pip install --upgrade pip`` and ``pip install wheel``.
5959

6060
**Q: I need contrib modules?**
6161

@@ -73,7 +73,7 @@ A: Make sure you have removed old manual installations of OpenCV Python bindings
7373

7474
A: OpenCV video I/O depends heavily on FFmpeg. Manylinux and macOS OpenCV binaries are not compiled against it.
7575
The purpose of these packages is to provide as easy as possible installation experience for OpenCV Python bindings and they should work directly out-of-the-box.
76-
Adding FFmpeg as an additional dependency without a "universal" FFmpeg build (e.g. LGPL licensed static build like in the Windows wheels) the goal is considerably harder to achieve. This might change in the future.
76+
Adding FFmpeg as an additional dependency without a "universal" FFmpeg build (e.g. LGPL licensed build like in the Windows wheels) the goal is considerably harder to achieve. This might change in the future.
7777

7878
**Q: Why I can't open GUI windows (``cv2.imshow()``) on GNU/Linux distribution X or on macOS?**
7979

Diff for: README_CONTRIB.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ A: No, the packages are special wheel binary packages and they already contain s
5454

5555
**Q: Pip does not find package opencv-contrib-python?**
5656

57-
A: The wheel package format and manylinux builds are pretty new things. Most likely the issue is related to too old pip and can be fixed by running ``pip install --upgrade pip``.
57+
A: The wheel package format and manylinux builds are pretty new things. Most likely the issue is related to too old pip and can be fixed by running ``pip install --upgrade pip`` and ``pip install wheel``.
5858

5959
**Q: Import fails on Windows to some DLL load error?**
6060

@@ -68,7 +68,7 @@ A: Make sure you have removed old manual installations of OpenCV Python bindings
6868

6969
A: OpenCV video I/O depends heavily on FFmpeg. Manylinux and macOS OpenCV binaries provided withing these packages are not compiled against it.
7070
The purpose of these packages is to provide as easy as possible installation experience for OpenCV Python bindings and they should work directly out-of-the-box.
71-
Adding FFmpeg as an additional dependency without a "universal" FFmpeg build (e.g. LGPL licensed static build like in the Windows wheels) the goal is considerably harder to achieve. This might change in the future.
71+
Adding FFmpeg as an additional dependency without a "universal" FFmpeg build (e.g. LGPL licensed build like in the Windows wheels) the goal is considerably harder to achieve. This might change in the future.
7272

7373
**Q: Why I can't open GUI windows (``cv2.imshow()``) on GNU/Linux distribution X or on macOS?**
7474

@@ -119,9 +119,9 @@ Currently the ``find_version.py`` file parses OpenCV version information
119119
from the OpenCV sources. OpenCV depends on numpy, so ``setup.py`` checks
120120
the minimum required numpy version also with the help of pip.
121121

122-
The ``cv2.pyd`` file is normally copied to site-packages.
122+
The ``cv2.pyd/so`` file is normally copied to site-packages.
123123
To avoid polluting the root folder the ``__init__.py`` file in cv2 folder
124-
handles the import logic correctly by importing the actual ``.pyd`` module
124+
handles the import logic correctly by importing the actual ``.pyd./.so`` module
125125
and replacing the imported cv2 package in ``sys.modudes`` with the
126126
cv2 module to retain backward compatibility.
127127

0 commit comments

Comments
 (0)