fmegahed commited on
Commit
8ba1dcf
·
verified ·
1 Parent(s): 6aed345

Create install_requirements.py

Browse files
Files changed (1) hide show
  1. install_requirements.py +8 -0
install_requirements.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import subprocess
3
+
4
+ # Set the environment variable
5
+ os.environ["SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL"] = "True"
6
+
7
+ # Run pip install
8
+ subprocess.check_call(["pip", "install", "--no-cache-dir", "-r", "requirements.txt"])