I want to deploy a python flask app using Amazon’s Elastic Beanstalk. Therefore, I want to use virtualenv to make sure to get the right packages.
However, one package (docx) isn't available through pip and I'd like to install it manually.
If I do install it manually via python setup.py install
the installation works, but the package screws up lxml dependencies.
Do I need the virtualenv in the first place, or can I also just log into the amazon console and install all packages manually?
I'm running a Mac at home, and linux on amazon's S3 server, so can building the package on my Mac (I think some c-code is compiled) work anyway?
If you do recommend to still use virtualenv, any idea of how to resolve the screwed up library issue above? (if I am outside of the virtualenv and use
conda install lxml
, I'm good. But inside of virtualenv,conda install lxml
will not install lxml for some reason,import lxml
gives an error that the library isn't found.
I'd appreciate your input.