Skip to content

Instantly share code, notes, and snippets.

@neuromaancer
Created November 13, 2019 14:45
Show Gist options
  • Save neuromaancer/f308777e678560a7086f96692d7ae9da to your computer and use it in GitHub Desktop.
Save neuromaancer/f308777e678560a7086f96692d7ae9da to your computer and use it in GitHub Desktop.
import os
libs = {
"pillow",
"sklearn",
"numpy",
"pandas",
"jupyterlab",
"scikit-learn",
"torch torchvision",
"tensorflow",
"gensim",
"nltk",
"spacy",
"plotly",
"matplotlib",
"seaborn",
}
try:
for lib in libs:
os.system(" pip3 install " + lib)
print("{} Install successful".format(lib))
except:
print("{} failed install".format(lib))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment