yandex / rep

Machine Learning toolbox for Humans
http://yandex.github.io/rep/
Other
687 stars 144 forks source link

Updating numpy in 0.6.6 docker breaks matplotlib #96

Closed sashabaranov closed 7 years ago

sashabaranov commented 7 years ago
% docker run -ti yandex/rep:0.6.6 bash -lc 'pip install -U numpy; python -c "from matplotlib import pyplot as plt; plt.figure()"'
Activate: ROOT has been sourced. Environment settings are ready.
ROOTSYS=/root/miniconda/envs/rep_py2
Deactivate:Unsetting ROOT environment variables..
Activate: ROOT has been sourced. Environment settings are ready.
ROOTSYS=/root/miniconda/envs/rep_py2
Collecting numpy
  Downloading numpy-1.11.2-cp27-cp27mu-manylinux1_x86_64.whl (15.3MB)
    100% |################################| 15.3MB 46kB/s
Installing collected packages: numpy
  Found existing installation: numpy 1.10.4
    DEPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling numpy-1.10.4:
      Successfully uninstalled numpy-1.10.4
Successfully installed numpy-1.11.2
/root/miniconda/envs/rep_py2/lib/python2.7/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
bash: line 1:   222 Illegal instruction     python -c "from matplotlib import pyplot as plt; plt.figure()"
sashabaranov commented 7 years ago

Okay, conda update works just fine. Should be documented somewhere?

arogozhnikov commented 7 years ago

Yup, things are installed with conda inside. For me this is quite natural, but I have no idea where it should be documented (nobody looks at the documentation before installing stuff :) ).