Closed pickfire closed 5 years ago
have you tried linuxbrew at all? it will give you isolated builds without having to install in a virtualenv and managing the scoping for it.
brew tap aws/tap
brew install aws-sam-cli
@TheSriram No, why do we need isolated builds? Does not that add additional space for all the libraries? My disk space here is limited but my package manager still works fine.
Are you able to run pip
generally when you have that virtualenv activated? The error is appearing to be that pip
for Python 3.7 can't be found by the build process.
It appears that it works now on another device but I don't have the old device to reproduce it, will be closing this issue.
Description
Failed to build from arch linux.
Steps to reproduce
python -m venv venv
source venv/bin/activate
sam init --runtime python3.7
cd sam-app
sam build
Observed result
Expected result
Should build as how
sam build --use-container
does.Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Linux cti 5.1.7-arch1-1-ARCH #1 SMP PREEMPT Tue Jun 4 15:47:45 UTC 2019 x86_64 GNU/Linux
(Arch Linux)sam --version
:SAM CLI, version 0.17.0
python -V
:Python 3.7.3
pip -V
:pip 19.0.3 from /tmp/venv/lib/python3.7/site-packages/pip (python 3.7)