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

Cannot install matplotlib #7685

Closed
melaniefp opened this issue Aug 23, 2018 · 3 comments
Closed

Cannot install matplotlib #7685

melaniefp opened this issue Aug 23, 2018 · 3 comments
Labels
locked [bot] locked due to inactivity source::community catch-all for issues filed by community members type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere

Comments

@melaniefp
Copy link

Current Behavior

Steps to Reproduce

$  conda install -c conda-forge matplotlib 
Fetching package metadata ...An unexpected error has occurred.
Please consider posting the following information to the
conda GitHub issue tracker at:

    https://github.com/conda/conda/issues



Current conda install:

               platform : linux-64
          conda version : 4.3.8
       conda is private : False
      conda-env version : 4.3.8
    conda-build version : not installed
         python version : 2.7.13.final.0
       requests version : 2.12.4
       root environment : /n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x  (read only)
    default environment : /n/home11/mfernandezpradier/.conda/envs/bnn
       envs directories : /n/home11/mfernandezpradier/.conda/envs
                          /n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/envs
          package cache : /n/home11/mfernandezpradier/.conda/envs/.pkgs
                          /n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/pkgs
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/linux-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : None
           offline mode : False
             user-agent : conda/4.3.8 requests/2.12.4 CPython/2.7.13 Linux/3.10.0-693.21.1.el7.x86_64 CentOS Linux/7.4.1708 glibc/2.17
                UID:GID : 11822:403036



`$ /n/home11/mfernandezpradier/.conda/envs/bnn/bin/conda install -c conda-forge matplotlib`




    Traceback (most recent call last):
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/site-packages/conda/exceptions.py", line 617, in conda_exception_handler
        return_value = func(*args, **kwargs)
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/site-packages/conda/cli/main.py", line 137, in _main
        exit_code = args.func(args, p)
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/site-packages/conda/cli/main_install.py", line 80, in execute
        install(args, parser, 'install')
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/site-packages/conda/cli/install.py", line 210, in install
        unknown=index_args['unknown'], prefix=prefix)
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/site-packages/conda/core/index.py", line 120, in get_index
        index = fetch_index(channel_priority_map, use_cache=use_cache)
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/site-packages/conda/core/index.py", line 445, in fetch_index
        repodatas = _collect_repodatas(use_cache, urls)
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/site-packages/conda/core/index.py", line 433, in _collect_repodatas
        repodatas = _collect_repodatas_serial(use_cache, urls)
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/site-packages/conda/core/index.py", line 401, in _collect_repodatas_serial
        for url in urls]
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/site-packages/conda/core/index.py", line 141, in func
        res = f(*args, **kwargs)
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/site-packages/conda/core/index.py", line 385, in fetch_repodata
        mod_etag_headers.get('_mod'))
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/site-packages/conda/core/index.py", line 204, in fetch_repodata_remote_request
        fetched_repodata = json.loads(json_str) if json_str else {}
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/json/__init__.py", line 339, in loads
        return _default_decoder.decode(s)
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/json/decoder.py", line 364, in decode
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
      File "/n/sw/fasrcsw/apps/Core/Anaconda/4.3.0-fasrc01/x/lib/python2.7/json/decoder.py", line 380, in raw_decode
        obj, end = self.scan_once(s, idx)
    MemoryError

Expected Behavior

Environment Information

`conda info`


`conda config --show-sources`


`conda list --show-channel-urls`


@kalefranz
Copy link
Contributor

kalefranz commented Sep 4, 2018

Your user environment ran out of allocatable memory 🤷‍♂️

@kalefranz kalefranz added type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere source::community catch-all for issues filed by community members labels Sep 4, 2018
@kalefranz
Copy link
Contributor

Operation in memory-constrained environments is a known issue, but it also hasn't generally been that big of a problem in practice. Other issues that discuss memory usage are #1197 and #5003.

@github-actions
Copy link

github-actions bot commented Sep 7, 2021

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Sep 7, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity source::community catch-all for issues filed by community members type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere
Projects
None yet
Development

No branches or pull requests

2 participants