Spaces:
Running
Running
rm -rf /var/lib/apt/lists/* | |
apt update | |
apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake rsync gcc make python3-venv libgl1-mesa-glx | |
git lfs install | |
git clone https://github.com/python/cpython | |
cd cpython | |
./configure --enable-optimizations --prefix=$HOME/python | |
make | |
make install | |
alias python=$HOME/python/cpython | |
python -m pip install --upgrade --no-cache-dir pip | |
python -m pip install --upgrade --no-cache-dir -r requirements.txt | |