pip install on amazonlinux docker container
- Dominant language
- Python
- Stars
- 693
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
Hi guys, my problem is related to Gary's [issue](https://github.com/dhs-ncats/trustymail/issues/65).
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](https://medium.freecodecamp.org/escaping-lambda-function-hell-using-docker-40b187ec1e48) ]
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. 🙏
Contributor guide
Research direction
Start by reproducing `pip install pshtt` in the reported Amazon Linux Docker container with Python 3.6.5, focusing on the `publicsuffix` collection and its `setup.py egg_info` failure. The issue names no repository file or test; done would require a documented installation path that works for the stated AWS Lambda packaging use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker, python
- Domain
- cloud, devops, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100