Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Python and Pip giving unexpected errors in build #704

Open
hrishikesh-k opened this issue Dec 5, 2021 · 0 comments
Open

Python and Pip giving unexpected errors in build #704

hrishikesh-k opened this issue Dec 5, 2021 · 0 comments
Labels

Comments

@hrishikesh-k
Copy link
Contributor

Describe the bug:

Reported by user on the forums.

When using pipfile, the build appears to fail (in installing Python dependencies phase) with the following error on focal:

ModuleNotFoundError: No module named 'pip._vendor.certifi'

and on xenial:

ImportError: No module named weakref

Both are using Python 2.7, but the error occurs when trying to use Python 3.8 on focal too. Since it fails in dependency installation phase, there is not much a user can do to create or fix this error.

Also, the same works when using requirements.txt instead of pipfile.

Repo to test: https://github.com/Hrishikesh-K/netlify-test

Configuration:

  • Did you run your build through the UI or the CLI?: UI

Deploy logs:

focal: https://app.netlify.com/sites/keen-wiles-29d30e/deploys/61a8e53f4e2d862aa8977c72
xenial: https://app.netlify.com/sites/keen-wiles-29d30e/deploys/61acc95a9622e8adc53b1d8c

@ehmicky ehmicky transferred this issue from netlify/build Dec 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants