Spaces:
Running
Running
Yaron Koresh
commited on
Create install.sh
Browse files- install.sh +13 -0
install.sh
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/sh
|
2 |
+
rm -rf /var/lib/apt/lists/*
|
3 |
+
apt update
|
4 |
+
apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake rsync gcc make python3-venv libgl1-mesa-glx
|
5 |
+
git lfs install
|
6 |
+
git clone https://github.com/python/cpython
|
7 |
+
cd cpython
|
8 |
+
./configure --enable-optimizations --prefix=$HOME/python
|
9 |
+
make
|
10 |
+
make install
|
11 |
+
alias python=$HOME/python/cpython
|
12 |
+
python -m pip install --upgrade --no-cache-dir pip
|
13 |
+
python -m pip install --upgrade --no-cache-dir -r requirements.txt
|