Spaces:
Runtime error
Runtime error
File size: 236 Bytes
8ba1dcf |
1 2 3 4 5 6 7 8 |
import os
import subprocess
# Set the environment variable
os.environ["SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL"] = "True"
# Run pip install
subprocess.check_call(["pip", "install", "--no-cache-dir", "-r", "requirements.txt"]) |