Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.97 KB

issues.md

File metadata and controls

43 lines (34 loc) · 1.97 KB

Below are some problems we encountered while testing endocal, together with a possible solution to each. If you experience others, please report them by opening a new issue on the project's issue tracker.

PyYAML problems

package directory 'lib3/yaml' does not exist

Solution: install PyYAML separately with pip install pyyaml.

(On Windows) The system cannot find the file specified

The error log would look like this:

[...]
copying lib3\yaml\serializer.py -> build\lib.win-amd64-3.5\yaml
copying lib3\yaml\tokens.py -> build\lib.win-amd64-3.5\yaml
copying lib3\yaml\__init__.py -> build\lib.win-amd64-3.5\yaml
running build_ext
creating build\temp.win-amd64-3.5
creating build\temp.win-amd64-3.5\Release
checking if libyaml is compilable
error: [WinError 2] The system cannot find the file specified

Solution:

  1. Download the wheel (e.g. PyYAML-3.11-cp27-cp27m-win_amd64.whl (choose the right one for your system by inspecting the Python and platform version encoded in the file name) from the Unofficial Windows Binaries for Python Extension Packages.
  2. Install the downloaded wheel, e.g. pip install PyYAML-3.11-cp27-cp27m-win_amd64.whl.

ImportError: numpy.core.multiarray failed to import

Solution: install numpy separately with pip install --upgrade numpy.

Installing OpenCV3 on Mac OS X

  1. Install Homebrew
  2. Install OpenCV3 by running the following commands:
  3. brew tap homebrew/science
  4. brew install opencv3 --with-contrib --with-tbb --with-python3 --with-ffmpeg

Installing and using OpenCV3 on Windows

  1. Download the binary installer from http://opencv.org/downloads.html.
  2. Extract it to e.g. C:\OpenCV\OpenCV310.
  3. Add the following directories to the system PATH:
    • C:\OpenCV\OpenCV310\build\python\2.7\x64
    • C:\OpenCV\OpenCV310\build\bin
  4. Add C:\OpenCV\OpenCV310\build\python\2.7\x64 to PYTHONPATH (create PYTHONPATH if it does not exist).