1 | initial version |
As of Pypy 5.9, OpenCV just works. Instructions for usage in virtual environment:
virtualenv -p /usr/bin/pypy3
python setup.py build && python setup.py install
cp /usr/lib/libpypy3-c.so $VIRTUAL_ENV/libpython3.5.3.so
-D PYTHON_EXECUTABLE=$VIRTUAL_ENV/bin/python3
-D PYTHON_LIBRARY=$VIRTUAL_ENV/libpython3.5.3.so
cp lib/python3/cv2.pypy3-59-x86_64-linux-gnu.so ~/.pypyenv/site-packages/
python -c "import cv2"