-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
552 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Assumes that Anaconda has already been downloaded and installed | ||
|
||
# Update conda | ||
conda update -n base -c defaults conda --yes | ||
|
||
# conda config --set allow_conda_downgrades true | ||
# conda install conda=4.6.11 | ||
|
||
source activate | ||
|
||
# Remove any existing environment called py36class, and create a py36class with anaconda packages | ||
conda remove -n py36class --all --yes | ||
conda create -n py36class python=3.6 | ||
source activate py36class | ||
|
||
# Install Tensorflow, PyTorch and Anaconda (lots of pacakged) | ||
# Pandas 0.24.2 is needed for some packages and scikit-learn 0.20.2 | ||
# only if you have GPU below 2 lines instead of CPU versions | ||
# conda install anaconda tensorflow-gpu=2.1.0 anaconda pandas=0.24.2 scikit-learn=0.20.2 graphviz python-graphviz --yes | ||
# conda install pytorch torchvision cudatoolkit=10.1 -c pytorch --yes | ||
conda install anaconda tensorflow=2.1.0 anaconda pandas=0.24.2 scikit-learn=0.20.2 graphviz python-graphviz --yes | ||
conda install pytorch torchvision cpuonly -c pytorch --yes | ||
|
||
# OpenCV and PyArrow need to be installed earlier | ||
conda install -c conda-forge pyarrow=0.17.1 opencv --yes | ||
|
||
# xlwings only works for Mac omit on Linux | ||
# conda install -c conda-forge xlwings=0.19.4 --yes | ||
|
||
# Install from conda-forge (pyarrow is a newer version!) | ||
conda install -c conda-forge \ | ||
jupyter_contrib_nbextensions jupyter_nbextensions_configurator \ | ||
redis-py python-blosc pathos textblob \ | ||
vaex \ | ||
spacy fastparquet python-snappy nodejs pystan fbprophet setuptools-git \ | ||
pyspark=2.4.0 koalas \ | ||
vispy datashader pyproj holoviews streamz quandl bqplot \ | ||
--yes | ||
|
||
# Install database | ||
# Install Celery | ||
# For findatapy (and NLP) and complex graphics | ||
# Install transformers/huggingface and table libraries | ||
# Install graphics/plotting libraries | ||
# Install findatapy, chartpy and findatapy | ||
# Install modin (later versions need later versions of pandas, may downgrade to pandas to 0.24.2 | ||
# opencv-contrib-python==4.2.0.34 \ | ||
pip install arctic==1.79.2 \ | ||
celery==4.4.0 celery[redis] celery[msgpack] msgpack-python \ | ||
fxcmpy alpha_vantage yfinance twython newspaper3k seasonal pdfminer.six vaderSentiment gensim wordcloud RISE requests_html \ | ||
textacy==0.8.0 \ | ||
transformers pytesseract cmdstanpy==0.4 tabula-py==1.4.3 \ | ||
cvlib \ | ||
cufflinks==0.17.3 plotly==4.8.0 \ | ||
dash==1.12.0 dash-html-components==1.0.3 dash-core-components==1.10.0 dash-table==4.7.0 jupyter-dash==0.2.1 chart_studio==1.1.0 \ | ||
dtale==1.8.1 progressbar2==3.38.0 \ | ||
finmarketpy chartpy findatapy pyldavis | ||
|
||
# To be able to plot Plotly into PNG or JPG | ||
conda install -c plotly plotly-orca --yes | ||
|
||
# Note that modin may not be compatible with other libraries, so it is recommended | ||
# you install it in its own environment if you do want to use it | ||
# pip install modin==0.5.4 | ||
# conda install -c conda-forge pyarrow=0.17.1 --yes | ||
|
||
# GPU libraries for working with DataFrames | ||
# conda install -c rapidsai -c nvidia -c conda-forge -c defaults rapids=0.10 python=3.6 | ||
|
||
# Jupyter and Jupyterlab extensions | ||
jupyter contrib nbextension install --user # to activate js on Jupyter | ||
jupyter nbextension enable execute_time/ExecuteTime | ||
jupyter-nbextension install rise --py --sys-prefix | ||
|
||
# Some of these extensions are not compatible with latest Jupyterlab | ||
# jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build | ||
# jupyter labextension install plotlywidget --no-build | ||
# jupyter labextension install jupyterlab-plotly --no-build | ||
# jupyter labextension install bqplot | ||
# jupyter lab build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.