Closed dmahto05 closed 1 week ago
Setting it up on EC2 - Amazon Linux
During installation from source it was failing with below issue.
_no such option: --break-system-packages make: *** [Makefile:27: install_pythonpackages] Error 2
WIth some research found below workaround that worked, i.e. setting up PIP_BREAK_SYSTEM_PACKAGES and remove --break-system-packages from MakeFile.
export PIP_BREAK_SYSTEM_PACKAGES=1 # Install the required Python packages install_python_packages: @pip3 install -r requirements.txt
Sharing it as issue to retrospect if we can use PIP_BREAK_SYSTEM_PACKAGES as default way in MakeFile.
Setting it up on EC2 - Amazon Linux
During installation from source it was failing with below issue.
_no such option: --break-system-packages make: *** [Makefile:27: install_pythonpackages] Error 2
WIth some research found below workaround that worked, i.e. setting up PIP_BREAK_SYSTEM_PACKAGES and remove --break-system-packages from MakeFile.
Sharing it as issue to retrospect if we can use PIP_BREAK_SYSTEM_PACKAGES as default way in MakeFile.