Spaces:
No application file

collab / src /common /shared /deps.py
agurod42's picture
Synced repo using 'sync_with_huggingface' Github Action
c4c8ae2 verified
Raw History Blame Contribute Delete
459 Bytes
import sys
import subprocess
def install(package):
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
# List of packages to be installed
required_packages = [
"boto3",
"eth_abi",
"itables",
"matplotlib",
"mercury",
"nbformat",
"pandas",
"plotly",
"sqlalchemy",
"web3"
]
for package in required_packages:
try:
__import__(package)
except ImportError:
install(package)