Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install on amazonlinux docker container #173

Open
refayathaque opened this issue May 9, 2018 · 1 comment
Open

pip install on amazonlinux docker container #173

refayathaque opened this issue May 9, 2018 · 1 comment

Comments

@refayathaque
Copy link

refayathaque commented May 9, 2018

Hi guys, my problem is related to Gary's issue.

We are trying to create an AWS Lambda function that utilizes pshtt. We are using a Docker container (amazonlinux) to get the AWS specific binaries (.so files) we need for the Lambda deployment package. [ We tried this using an Ubuntu container but Lambda wasn't working, and for this we were referencing this article on Medium ]

In our amazonlinux container we are running python 3.6.5 on virtualenv, and are unable to pip install pshtt. We have the latest versions of the pip packages pip10.0.1, setuptools39.1.0, and wheel0.31.0, however when we try doing pip install pshtt we come across this error when pip is collecting publicsuffix - Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-7aa4sbyv/publicsuffix/

We looked into this and a lot of people say that you have to upgrade the setuptools package, and we did.

Any help is greatly appreciated. 🙏

@konklone
Copy link
Collaborator

Have you tried using the Lambda function builder that DHS built? https://github.com/dhs-ncats/lambda_functions

I've been using it for pshtt and it's made the packaging process worlds easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants