Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pip
- # method that install modules
- def install(package):
- pip.main(['install', package])
- # Example
- if __name__ == '__main__':
- # put all the modules you want to install in the list below eg.['numpy', 'scipy']
- myModules = ['Cython','Jinja2','mysql-connector-python', 'pymysql','pickle','plotly', 'textblob', 'tweepy', 'twython', 'requests', 'xgboost']
- for myMod in myModules:
- install(myMod)
- '''
- 'pandas', 'numpy', 'sklearn', 'scipy', 'matplotlib', 'seaborn', 'django', 'poloniex' ,'Cython',
- 'Jinja2', 'MarkupSafe', 'Quandl', 'cryptography', 'gensim', 'jupyter','mysql-connector-python', 'pymysql',
- 'nltk', 'pickle','plotly', 'scikit-learn', 'textblob', 'tweepy', 'twython', 'requests', 'xgboost'
- '''
Add Comment
Please, Sign In to add comment