Solved — Error while finding module specification for ‘pip’ (AttributeError: module ‘__main__’ has no attribute ‘__file__’)

Running "python3 -m pip install --requirement requirements.txt --upgrade --upgrade-strategy only-if-needed --no-warn-script-location --no-warn-conflicts --force-reinstall --no-compile (PIP_CACHE_DIR=/layers/google.python.pip/pipcache PIP_DISABLE_PIP_VERSION_CHECK=1)"
Step #2 - "build": /layers/google.python.pip/pip/bin/python3

--

--

--

Flutter and Native Android developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

5 Mistakes I Did as a Developer During My 15 Years Career

Upgrade OpenShift from 4.8 to 4.9

Bunzz Monitoring Feature launched!

Launching SAFELAUNCH — IDO Guidline

Day 13 of 30-Day LeetCode Challange

Dev Practices everyone should adopt while Working From Home.

Implement Google Tag Manager (GTM) in React Native

All you need to know about CircleCI 2.0 with Firebase Test Lab

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Flutter Developer

Flutter Developer

Flutter and Native Android developer

More from Medium

Making a custom Chrome extension

Application Frameworks

HTTP request-response flow: for dummies

Behavior Driven Development in Vue with Cypress and Cucumber