How To Install Opencv-python On Amazon Elastic Beanstalk
Solution 1:
Here are some options if you are able to consider workarounds.
With AWS Elastic Beanstalk
AWS EB supports Windows Server 2012 and 2008
Since your installer appears to be a Windows executable, you might consider deploying on Windows. https://aws.amazon.com/net/
Use Docker to package Fedora platform to run on EB's AMI Linux host.
Elastic Beanstalk supports Docker. http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker.html
Here is an example of a Docker buildfile for opencv on python. https://registry.hub.docker.com/u/ibotdotout/python-opencv/
Without AWS Elastic Beanstalk
Other Linux distribution
If you don't absolutely require Elastic Beanstalk, what about running Fedora? These installation instructions are straightforward.
http://docs.opencv.org/trunk/doc/py_tutorials/py_setup/py_setup_in_fedora/py_setup_in_fedora.html (basically yum install numpy opencv* )
You can use EC2 without Elastic Beanstalk.
Solution 2:
The easy workaround for now, is to install pip 1.2.1, which does not require SSL:
curl -O https://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz
tar xvfz pip-1.2.1.tar.gz
cd pip-1.2.1
python setup.py install
Maybe that can help you
Solution 3:
I am running OpenCV with Python support on Amazon EC2 on dedicated instances of Ubuntu 14.04. I had to install and compile from source to get a reliable stack with python.
Post a Comment for "How To Install Opencv-python On Amazon Elastic Beanstalk"