Spaces:
Running
Running
File size: 401 Bytes
60a8797 |
1 2 3 4 5 6 7 8 9 10 11 |
import subprocess
def setup_imaginepy():
subprocess.run(["git", "clone", "https://github.com/ItsCEED/Imaginepy"])
subprocess.run(["cd", "Imaginepy"])
subprocess.run(["python", "-m", "venv", "env"])
subprocess.run(["source", "env/bin/activate"])
subprocess.run(["python", "setup.py", "install"])
subprocess.run(['cd',".."])
setup_imaginepy()
subprocess.run(["python","app.py"]) |