| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f23bb48 commit b3973c7
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,7 @@ RUN sed -i "s/httpredir.debian.org/debian.uchicago.edu/" /etc/apt/sources.list & | |||
| 10 | 10 | # https://stackoverflow.com/a/46498173 | |
| 11 | 11 | conda update -y conda && conda update -y python && \ | |
| 12 | 12 | pip install --upgrade pip && \ | |
| 13 | + apt-get -y install cmake && \ | ||
| 13 | 14 | # Vowpal Rabbit | |
| 14 | 15 | #apt-get install -y libboost-program-options-dev zlib1g-dev libboost-python-dev && \ | |
| 15 | 16 | #cd /usr/lib/x86_64-linux-gnu/ && rm -f libboost_python.a && rm -f libboost_python.so && \ | |
@@ -41,7 +42,6 @@ libxcb-render0 libxcb-shm0 netpbm poppler-data p7zip-full && \ | |||
| 41 | 42 | RUN pip install opencv-python | |
| 42 | 43 | #apt-get -y install libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev && \ | |
| 43 | 44 | #apt-get -y install libtbb2 libtbb-dev libjpeg-dev libtiff-dev libjasper-dev && \ | |
| 44 | - #apt-get -y install cmake && \ | ||
| 45 | 45 | #cd /usr/local/src && git clone --depth 1 https://github.com/Itseez/opencv.git && \ | |
| 46 | 46 | #cd opencv && \ | |
| 47 | 47 | #mkdir build && cd build && \ | |
@@ -154,18 +154,24 @@ vader_lexicon verbnet webtext word2vec_sample wordnet wordnet_ic words ycoe && \ | |||
| 154 | 154 | # Make sure the dynamic linker finds the right libstdc++ | |
| 155 | 155 | ENV LD_LIBRARY_PATH=/opt/conda/lib | |
| 156 | 156 | ||
| 157 | + # Install Basemap via conda temporarily | ||
| 157 | 158 | RUN apt-get update && \ | |
| 158 | - # Libgeos, for mapping libraries | ||
| 159 | - apt-get -y install libgeos-dev && \ | ||
| 160 | - # pyshp and pyproj are now external dependencies of Basemap | ||
| 161 | - pip install pyshp pyproj && \ | ||
| 162 | - cd /usr/local/src && git clone https://github.com/matplotlib/basemap.git && \ | ||
| 163 | - export GEOS_DIR=/usr/local && \ | ||
| 164 | - cd basemap && python setup.py install && \ | ||
| 159 | + #apt-get -y install libgeos-dev && \ | ||
| 160 | + #pip install matplotlib && \ | ||
| 161 | + #pip install pyshp && \ | ||
| 162 | + #pip install pyproj && \ | ||
| 163 | + #cd /usr/local/src && git clone https://github.com/matplotlib/basemap.git && \ | ||
| 164 | + #cd basemap/geos-3.3.3 && \ | ||
| 165 | + #export GEOS_DIR=/usr/local && \ | ||
| 166 | + #./configure --prefix=$GEOS_DIR && \ | ||
| 167 | + #make && make install && \ | ||
| 168 | + #cd .. && python setup.py install && \ | ||
| 169 | + conda install basemap && \ | ||
| 165 | 170 | # Pillow (PIL) | |
| 166 | 171 | apt-get -y install zlib1g-dev liblcms2-dev libwebp-dev && \ | |
| 167 | - pip install Pillow && \ | ||
| 168 | - cd /usr/local/src && git clone https://github.com/vitruvianscience/opendeep.git && \ | ||
| 172 | + pip install Pillow | ||
| 173 | + | ||
| 174 | + RUN cd /usr/local/src && git clone https://github.com/vitruvianscience/opendeep.git && \ | ||
| 169 | 175 | cd opendeep && python setup.py develop && \ | |
| 170 | 176 | # sasl is apparently an ibis dependency | |
| 171 | 177 | apt-get -y install libsasl2-dev && \ | |
@@ -248,8 +254,6 @@ RUN pip install scipy && \ | |||
| 248 | 254 | apt-get install -y sox libsox-dev libsox-fmt-all && \ | |
| 249 | 255 | pip install cffi && \ | |
| 250 | 256 | cd /usr/local/src && git clone https://github.com/pytorch/audio && cd audio && python setup.py install && \ | |
| 251 | - # ggpy / ggplot | ||
| 252 | - pip install git+https://github.com/yhat/ggplot.git && \ | ||
| 253 | 257 | # ~~~~ CLEAN UP ~~~~ | |
| 254 | 258 | rm -rf /root/.cache/pip/* && \ | |
| 255 | 259 | apt-get autoremove -y && apt-get clean && \ | |
@@ -305,8 +309,11 @@ RUN pip install --upgrade mpld3 && \ | |||
| 305 | 309 | pip install pystan && \ | |
| 306 | 310 | pip install ImageHash && \ | |
| 307 | 311 | conda install -y ecos && \ | |
| 308 | - conda install -y CVXcanon && \ | ||
| 309 | - pip install fancyimpute && \ | ||
| 312 | + conda install -y CVXcanon | ||
| 313 | + | ||
| 314 | + RUN cd /usr/local/src && git clone https://github.com/iskandr/fancyimpute && \ | ||
| 315 | + cd fancyimpute && \ | ||
| 316 | + python setup.py install && \ | ||
| 310 | 317 | pip install git+https://github.com/pymc-devs/pymc3 && \ | |
| 311 | 318 | pip install tifffile && \ | |
| 312 | 319 | pip install spectral && \ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -76,9 +76,6 @@ | |||
| 76 | 76 | import plotly.graph_objs as go | |
| 77 | 77 | print("plotly ok") | |
| 78 | 78 | ||
| 79 | - from ggplot import * | ||
| 80 | - print("ggplot ok") | ||
| 81 | - | ||
| 82 | 79 | import theano | |
| 83 | 80 | print("Theano ok") | |
| 84 | 81 | ||
@@ -149,4 +146,4 @@ def do_GET(s): | |||
| 149 | 146 | print("shap ok") | |
| 150 | 147 | ||
| 151 | 148 | import kmapper | |
| 152 | - print("kmapper ok") | ||
| 149 | + print("kmapper ok") | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments