Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating numpy in 0.6.6 docker breaks matplotlib #96

Closed
sashabaranov opened this issue Oct 26, 2016 · 2 comments
Closed

Updating numpy in 0.6.6 docker breaks matplotlib #96

sashabaranov opened this issue Oct 26, 2016 · 2 comments

Comments

@sashabaranov
Copy link
Contributor

% 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
Copy link
Contributor Author

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

@arogozhnikov
Copy link
Contributor

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 :) ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants