Sunday, September 17, 2017

Install python packages (opencv) in virtual envirenment



source ${env}/bin/activate
pip install opencv-python
if cannot be installed via pip
copy the globally installed package, e.g., OpenCV

cp -R /usr/local/lib/python2.7/dist-packages/xxx ${env}/lib/python2.7/site-packages/

No comments:

Post a Comment