FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Upgrade scipy; fix fast.ai installation · HadokenCode/docker-python@5677cbe · GitHub

Commit 5677cbe

Browse files
Jamie Hall
authored
Upgrade scipy; fix fast.ai installation
1 parent 0073be5 commit 5677cbe

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎Dockerfile‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ RUN sed -i "s/httpredir.debian.org/debian.uchicago.edu/" /etc/apt/sources.list &
1414
#cd /usr/lib/x86_64-linux-gnu/ && rm -f libboost_python.a && rm -f libboost_python.so && \
1515
#ln -sf libboost_python-py34.so libboost_python.so && ln -sf libboost_python-py34.a libboost_python.a && \
1616
#pip install vowpalwabbit && \
17+
# Anaconda's scipy is currently behind the main release (1.0)
18+
pip install scipy --upgrade && \
1719
pip install seaborn python-dateutil dask pytagcloud pyyaml joblib \
1820
husl geopy ml_metrics mne pyshp gensim && \
1921
conda install -y -c conda-forge spacy && python -m spacy download en && \
@@ -350,7 +352,6 @@ RUN pip install --upgrade mpld3 && \
350352
pip install pydash && \
351353
pip install kmodes && \
352354
pip install librosa && \
353-
pip install fastai && \
354355
pip install polyglot && \
355356
pip install mmh3 && \
356357
pip install fbpca && \
@@ -383,6 +384,10 @@ RUN pip install --upgrade mpld3 && \
383384
# yellowbrick machine learning visualization library
384385
pip install yellowbrick && \
385386
pip install mlcrate && \
387+
pip install opencv-python && \
388+
pip install pyarrow && \
389+
cd /usr/local/src && git clone --depth=1 https://github.com/fastai/fastai && \
390+
cd fastai && python setup.py install && \
386391
# clean up pip cache
387392
rm -rf /root/.cache/pip/* && \
388393
# Required to display Altair charts in Jupyter notebook

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL