OS-agnostic, system-level binary package manager and ecosystem

Related tags

conda package-management
Overview

Conda Logo


CI Tests (GitHub Actions) Codecov Status latest release version

Conda is a cross-platform, language-agnostic binary package manager. It is the package manager used by Anaconda installations, but it may be used for other systems as well. Conda makes environments first-class citizens, making it easy to create independent environments even for C libraries. Conda is written entirely in Python, and is BSD licensed open source.

Conda is enhanced by organizations, tools, and repositories created and managed by the amazing members of the conda community. Some of them can be found here.

Installation

Conda is a part of the Anaconda Distribution. Use Miniconda to bootstrap a minimal installation that only includes conda and its dependencies.

Getting Started

If you install Anaconda, you will already have hundreds of packages installed. You can see what packages are installed by running

$ conda list

to see all the packages that are available, use

$ conda search

and to install a package, use

$ conda install <package-name>

The real power of conda comes from its ability to manage environments. In conda, an environment can be thought of as a completely separate installation. Conda installs packages into environments efficiently using hard links by default when it is possible, so environments are space efficient, and take seconds to create.

The default environment, which conda itself is installed into is called base. To create another environment, use the conda create command. For instance, to create an environment with the IPython notebook and NumPy 1.6, which is older than the version that comes with Anaconda by default, you would run

$ conda create -n numpy16 ipython-notebook numpy=1.6

This creates an environment called numpy16 with the latest version of the IPython notebook, NumPy 1.6, and their dependencies.

We can now activate this environment, use

# On Linux and Mac OS X
$ source activate numpy16

# On Windows
> activate numpy16

This puts the bin directory of the numpy16 environment in the front of the PATH, and sets it as the default environment for all subsequent conda commands.

To go back to the base environment, use

# On Linux and Mac OS X
$ source deactivate

# On Windows
> deactivate

Building Your Own Packages

You can easily build your own packages for conda, and upload them to anaconda.org, a free service for hosting packages for conda, as well as other package managers. To build a package, create a recipe. Package building documentation is available here. See https://github.com/AnacondaRecipes for the recipes that make up the Anaconda Distribution and defaults channel. Conda-forge and Bioconda are community-driven conda-based distributions.

To upload to anaconda.org, create an account. Then, install the anaconda-client and login

$ conda install anaconda-client
$ anaconda login

Then, after you build your recipe

$ conda build <recipe-dir>

you will be prompted to upload to anaconda.org.

To add your anaconda.org channel, or the channel of others to conda so that conda install will find and install their packages, run

$ conda config --add channels https://conda.anaconda.org/username

(replacing username with the user name of the person whose channel you want to add).

Getting Help

The documentation for conda is at https://conda.io/en/latest/. You can subscribe to the conda mailing list. The source code and issue tracker for conda are on GitHub.

Contributing

Contributions to conda are welcome. See the contributing documentation for instructions on setting up a development environment.

Issues
  • conda extremely slow

    conda extremely slow

    I'm submitting a...

    • [ ] bug report
    • [x] feature request

    Current Behavior

    conda operations appear to be particularly slow, this seems to have got worse as the versions have progressed.

    Steps to Reproduce

    time conda install -c simplistix picky-conda=2.0.2
    

    The above currently takes 30-40s into an existing environment.

    Expected Behavior

    Hopefully done and dusted within a second or two.

    Environment Information

    `conda info`

    $ conda info
    
         active environment : myproj
        active env location : /Users/chris/anaconda2/envs/moneybox
                shell level : 1
           user config file : /Users/chris/.condarc
     populated config files : /Users/chris/.condarc
              conda version : 4.5.1
        conda-build version : 3.8.0
             python version : 2.7.14.final.0
           base environment : /Users/chris/anaconda2  (writable)
               channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
                              https://repo.anaconda.com/pkgs/main/noarch
                              https://repo.anaconda.com/pkgs/free/osx-64
                              https://repo.anaconda.com/pkgs/free/noarch
                              https://repo.anaconda.com/pkgs/r/osx-64
                              https://repo.anaconda.com/pkgs/r/noarch
                              https://repo.anaconda.com/pkgs/pro/osx-64
                              https://repo.anaconda.com/pkgs/pro/noarch
                              https://conda.anaconda.org/conda-forge/osx-64
                              https://conda.anaconda.org/conda-forge/noarch
              package cache : /Users/chris/anaconda2/pkgs
                              /Users/chris/.conda/pkgs
           envs directories : /Users/chris/anaconda2/envs
                              /Users/chris/.conda/envs
                   platform : osx-64
                 user-agent : conda/4.5.1 requests/2.18.4 CPython/2.7.14 Darwin/17.5.0 OSX/10.13.4
                    UID:GID : 501:20
                 netrc file : None
               offline mode : False
    

    type-feature tag-solver source-community 
    opened by cjw296 147
  • Any Package Results in Elapsed: -"">

    Any Package Results in "CondaHTTPError: HTTP 000 CONNECTION FAILED for url Elapsed: -"

    Hi there,

    Whatever package I try to install, I seem to get this error:

    conda install -c anaconda accelerate Fetching package metadata ... CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/anaconda/linux-64/repodata.json Elapsed: -

    An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. SSLError(SSLError("Can't connect to HTTPS URL because the SSL module is not available.",),)

    On another note, I have (un-/re-)installed many packages (such as curl) recently, could that be the issue? Must I reinstall anaconda? Thanks

    type-support source-community 
    opened by Chaztikov 114
  • NotWritableError: The current user does not have write permissions to a required path.

    NotWritableError: The current user does not have write permissions to a required path.

    Conda is seriously confused about permissions. Right after I installed Anaconda from Anaconda3-5.1.0-Linux-x86_64.sh into my home (/home/marek/anaconda3) and added

    . /home/marek/anaconda3/etc/profile.d/conda.sh
    

    into my ~/.zshrc and started new shell, I tried to create new environment:

    % conda create --name condatest python=3
    Solving environment: failed
    
    NotWritableError: The current user does not have write permissions to a required path.
      path: /home/marek/.conda/pkgs/urls.txt
      uid: 1009
      gid: 1009
    
    If you feel that permissions on this path are set incorrectly, you can manually
    change them by executing
    
      $ sudo chown 1009:1009 /home/marek/.conda/pkgs/urls.txt
    
    In general, it's not advisable to use 'sudo conda'.
    
    • My user and group ids are 1009.
    • ~/.conda directory didn't exist before I run the command above
    • ~/.conda directory DID exist after I run the command above, though it was empty
    • % touch ~/.conda/foo works

    This happens on latest ArchLinux, latest Ubuntu (bionic) and with both bash and zsh as shell...

    opened by marak8 89
  • Recent conda changes breaking Travis

    Recent conda changes breaking Travis

    Not 100% sure that this is a conda issue, but it looks like changes in .27 are breaking Travis builds that use extension modules.

    In particular, the compiler is identified as

    compiler: x86_64-conda_cos6-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -fPIC
    

    Not sure why conda would be in the compiler.

    And example of a failed build can be see https://travis-ci.org/statsmodels/statsmodels/builds/280537305

    locked 
    opened by bashtage 83
  • Add generic support for bourne- and c-based shells

    Add generic support for bourne- and c-based shells

    With these changes conda's activate/deactivate now support bash/zsh/tcsh/csh.

    The scripts assume that activate*, deactivate*, and conda* can be found on the user's $PATH as opposed to detecting the $_SCRIPT_LOCATION as was done previously. This change is necessary to support tcsh/csh where the script location cannot be reliably detected when sourced.

    bash/zsh:

    source activate [ENVNAME]
    source deactivate
    

    tcsh/csh (since the which command doesn't search the user $PATH in tcsh/csh):

    source \`which activate\` [ENVNAME]
    source \`which deactivate\`
    

    The old activate script has effectively been renamed as activate.sh. Likewise with the old deactivate script. They contain the same content but has been slightly edited to match the look and feel of the *.csh scripts that have been introduced.

    It may also make sense to encourage users to create aliases when they install Conda.

    bash/zsh:

    alias activate="source activate"
    alias deactivate="source deactivate"
    

    tcsh/csh:

    alias activate    "source \`which \activate\`"
    alias deactivate  "source \`which \deactivate\`"
    
    type-feature tag-shell locked 
    opened by kenodegard 82
  • python 2.7.10-0 fails to create virtualenv with Symbol not found: __PyErr_ReplaceException

    python 2.7.10-0 fails to create virtualenv with Symbol not found: __PyErr_ReplaceException

    This morning I wanted to create a virtualenv on Mac OS X where my default python is now anaconda, so I needed to install virtualenv:

    $ conda install virtualenv
    Fetching package metadata: ....
    Solving package specifications: .
    Package plan for installation in environment /Users/cwithers/anaconda:
    
    The following packages will be downloaded:
    
        package                    |            build
        ---------------------------|-----------------
        conda-env-2.2.1            |           py27_0          21 KB
        python-2.7.10              |                0        11.4 MB
        requests-2.7.0             |           py27_0         594 KB
        setuptools-17.0            |           py27_0         341 KB
        conda-3.13.0               |           py27_0         168 KB
        pip-7.0.3                  |           py27_0         1.4 MB
        virtualenv-13.0.1          |           py27_0         1.6 MB
        ------------------------------------------------------------
                                               Total:        15.5 MB
    
    The following NEW packages will be INSTALLED:
    
        virtualenv: 13.0.1-py27_0
    
    The following packages will be UPDATED:
    
        conda:      3.11.0-py27_0 --> 3.13.0-py27_0
        conda-env:  2.1.4-py27_0  --> 2.2.1-py27_0 
        pip:        6.1.1-py27_0  --> 7.0.3-py27_0 
        python:     2.7.9-1       --> 2.7.10-0     
        requests:   2.6.2-py27_0  --> 2.7.0-py27_0 
        setuptools: 15.1-py27_1   --> 17.0-py27_0  
    

    However, now when I try to create the env I get this error:

    $ virtualenv ve
    New python executable in ve/bin/python
    Installing setuptools, pip, wheel...
      Complete output from command /Users/cwithers/vcs/x/ve/bin/python -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip wheel:
      Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/Users/cwithers/anaconda/lib/python2.7/site-packages/virtualenv_support/pip-7.0.1-py2.py3-none-any.whl/pip/__init__.py", line 13, in <module>
      File "/Users/cwithers/anaconda/lib/python2.7/site-packages/virtualenv_support/pip-7.0.1-py2.py3-none-any.whl/pip/utils/__init__.py", line 15, in <module>
      File "/Users/cwithers/anaconda/lib/python2.7/zipfile.py", line 6, in <module>
        import io
      File "/Users/cwithers/anaconda/lib/python2.7/io.py", line 51, in <module>
        import _io
    ImportError: dlopen(/Users/cwithers/vcs/x/ve/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyErr_ReplaceException
      Referenced from: /Users/cwithers/vcs/x/ve/lib/python2.7/lib-dynload/_io.so
      Expected in: dynamic lookup
    

    Downgrading to Python 2.7.9-1 made this problem go away. It looks like I'm not the only one experiencing this:

    http://stackoverflow.com/questions/30674338/upgrade-to-python-2-7-10-target-wsgi-script-cannot-be-loaded-as-python-module

    locked 
    opened by cjw296 76
  • Added basic activate/deactivate, conda activate/deactivate/ls for fish shell

    Added basic activate/deactivate, conda activate/deactivate/ls for fish shell

    This is a basic take on fish-compatible activate and deactivate commands. This also adds conda activate, conda deactivate and conda ls commands for convenience.

    Autocompletions and event handlers may follow later; the basics seem to work fine for now.

    Usage:

    source (conda info --root)/bin/conda.fish
    
    tag-shell locked 
    opened by aldanor 76
  • Powershell activate and deactivate

    Powershell activate and deactivate

    See https://github.com/Liquidmantis/PSCondaEnvs.

    type-feature tag-windows source-core help-wanted tag-shell locked 
    opened by asmeurer 74
  • Add `conda run` command, more `--json` flags

    Add `conda run` command, more `--json` flags

    $ conda launch -h
    usage: conda launch [-h] [COMMAND]
    
    Launches an application installed with Conda.
    
    positional arguments:
    COMMAND     package to launch
    
    optional arguments:
    -h, --help  show this help message and exit
    
    $ conda launch ipython-qtconsole  
    Fetching package metadata: ...
    Started app. Some apps may take a while to finish loading.
    
    $ conda launch ipython-qtconsole --json
    {
      "fn": "ipython-qtconsole-2.1.0-py34_0.tar.bz2"
    }
    
    $ conda launch conda                   
    Fetching package metadata: ...
    Error: Not an application: conda-3.5.5-py34_0.tar.bz2
    
    $ conda launch conda --json
    {
      "error": "Not an application: conda-3.5.5-py34_0.tar.bz2"
    }
    
    $ conda launch nonexistent_package       
    Fetching package metadata: ...
    Error: App nonexistent_package not installed.
    
    $ conda launch nonexistent_package --json
    {
      "error": "App nonexistent_package not installed."
    }
    
    $ conda launch ipython-qtconsole-2.1.0-py34_0.tar.bz2
    Started app. Some apps may take a while to finish loading.
    
    $ conda launch ipython-qtconsole-2.1.0-py34_0.tar.bz2 --json
    {
      "fn": "ipython-qtconsole-2.1.0-py34_0.tar.bz2"
    }
    

    TODO:

    • [x] conda info package1 package2 ... --json
    • [x] conda list --json (fixes #713)
    • [x] conda info ipython-qtconsole-2.1.0-py34_0.tar.bz2 [--json]?(retrieve metadata such as install status, features,...)
    • [x] conda search --json
    • ~~[ ] create~~
    • [x] install (fixes #773)
    • [x] install when a hint is generated
    • [x] update
    • [x] update --json with No packages found matching error
    • [x] remove
    • [x] config
    • [x] clean
    • [x] Handle progressbars (requires parsing by client; uses JSON messages flushed to stdout separated by nulls)
    • [x] Add tests
    • [ ] Some way to get all info from conda.config (perhaps conda info --json should include that data)
    • [x] Windows has additional printing in install.py that needs to be handled
    • [x] Handle locking with --json
    • [x] Printing in resolve.py
    • [x] More informative JSON errors? (e.g. provide an error code/exception type to make it easier for APIs to raise an appropriate exception)
    • [x] Handle HTTP errors in JSON
    • [x] Resolve this launch vs IPython Notebook conda-launch
    • ~~[ ] Figure out how to trap yaml ImportError in main_config~~ can't be trapped - conda won't start at all.
    • [x] conda run with packages not in the index (e.g. conda-ui)
    locked 
    opened by lidavidm 73
  • CondaHTTPError: HTTP 000 Connection Failed during conda install with new 2018.12 Anaconda3 Windows install

    CondaHTTPError: HTTP 000 Connection Failed during conda install with new 2018.12 Anaconda3 Windows install

    First off, I am not behind a firewall. I am on a home broadband network. Using a Windows 10 Pro, Version 10.0.17134 Build 17134 HP machine.

    Unable to install any packages with Conda command lines or the Anaconda Navigator. Anaconda Navigator never completes install. Conda returns the following error messages. C:\Users\owen>conda install geopandas Solving environment: failed

    CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/main/win-64/repodata.json.bz2 Elapsed: -

    An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way.

    If your current network has https://www.anaconda.com blocked, please file a support request with your network engineering team.

    SSLError(MaxRetryError('HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/win-64/repodata.json.bz2 (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))'))

    Steps to Reproduce

    I upgraded from Anaconda3-5.0.1-Windowsx86_64 to Anaconda3-2018.12-Windows-x86_64

    Conda works once. I installed Cartopy package. Then I tried to install Geopandas, and error message appeared. I tried researching problem, but all old post dealt with issue behind a firewall. I uninstalled Anaconda and reinstalled. Same issue appeared in same order of events as previously. conda install geopandas

    
    
    ## Expected Behavior
    <!-- What do you think should happen? -->
    Old version of Anaconda never had SSL issues during conda installs.
    
    
    ## Environment Information
    <details open><summary><code>`conda info`</code></summary><p>
    <!-- between the ticks below, paste the output of 'conda info' -->
    conda version 4.5.12
    
    opened by mygethub-99 66
  • Dependency difference between two identical packages

    Dependency difference between two identical packages

    Checklist

    • [X] I added a descriptive title
    • [X] I searched for other issues and couldn't find a solution or duplication
    • [X] I already searched in Google and didn't find any good information or help
    • [X] I looked at the docs and didn't see anything to help

    What happened?

    I have a conda environment that I'm trying to create based off of a local (mirrored) repository of the channel defaults. I have two identical packages that display a dependency version difference and I'm unsure why.

    Despite conda info identifying that these are the same packages, the external repository is reporting a more permissive dependency for glib. I've replaced my local package (after performing a conda clean -a), but the dependency max always reverts back to `<2.57.0a0'.

    Command conda info gst-plugins-base=1.14.0=hbbd80ab_1

    Internal Repository

    gst-plugins-base 1.14.0 hbbd80ab_1
    ----------------------------------
    file name   : gst-plugins-base-1.14.0-hbbd80ab_1.tar.bz2
    name        : gst-plugins-base
    version     : 1.14.0
    build string: hbbd80ab_1
    build number: 1
    channel     : https://internal-repo/linux-64
    size        : 6.3 MB
    arch        : None
    constrains  : ()
    md5         : d0d3ac97d7a559d27b9e99959db81207
    platform    : None
    sha256      : 1c675b50fae5b9a2ce7c7944f9d7e5f3725b9d426d0b2ba507aaf95dd856356b
    subdir      : linux-64
    timestamp   : 1523671420695
    url         : https://internal-repo/linux-64/gst-plugins-base-1.14.0-hbbd80ab_1.tar.bz2
    dependencies:
        glib >=2.56.1,<2.57.0a0
        gstreamer >=1.14.0,<2.0a0
        libgcc-ng >=7.2.0
        libstdcxx-ng >=7.2.0
        libxcb >=1.13,<2.0a0
        xz >=5.2.3,<6.0a0
        zlib >=1.2.11,<1.3.0a0
    

    External Anaconda Repository

    gst-plugins-base 1.14.0 hbbd80ab_1
    ----------------------------------
    file name   : gst-plugins-base-1.14.0-hbbd80ab_1.tar.bz2
    name        : gst-plugins-base
    version     : 1.14.0
    build string: hbbd80ab_1
    build number: 1
    channel     : https://repo.anaconda.com/pkgs/main/linux-64
    size        : 6.3 MB
    arch        : None
    constrains  : ()
    md5         : d0d3ac97d7a559d27b9e99959db81207
    platform    : None
    sha256      : 1c675b50fae5b9a2ce7c7944f9d7e5f3725b9d426d0b2ba507aaf95dd856356b
    subdir      : linux-64
    timestamp   : 1523671420695
    url         : https://repo.anaconda.com/pkgs/main/linux-64/gst-plugins-base-1.14.0-hbbd80ab_1.tar.bz2
    dependencies:
        glib >=2.56.1,<3.0a0
        gstreamer >=1.14.0,<2.0a0
        libgcc-ng >=7.2.0
        libstdcxx-ng >=7.2.0
        libxcb >=1.13,<2.0a0
        xz >=5.2.3,<6.0a0
        zlib >=1.2.11,<1.3.0a0
    

    Conda info

    `$ conda info
    
         active environment : /home/username/de_python
        active env location : /home/username/de_python
                shell level : 2
           user config file : /home/username/.condarc
     populated config files : /home/username/.condarc
              conda version : 4.10.3
        conda-build version : not installed
             python version : 3.7.7.final.0
           virtual packages : __linux=3.10.0=0
                              __glibc=2.17=0
                              __unix=0=0
                              __archspec=1=x86_64
           base environment : /home/username/miniconda3  (writable)
          conda av data dir : /home/username/miniconda3/etc/conda
      conda av metadata url : None
               channel URLs : http://internal-repo/linux-64
                              http://internal-repo/noarch
                              https://internal-repo/linux-64
                              https://internal-repo/noarch
                              https://repo.anaconda.com/pkgs/main/linux-64
                              https://repo.anaconda.com/pkgs/main/noarch
                              https://repo.anaconda.com/pkgs/r/linux-64
                              https://repo.anaconda.com/pkgs/r/noarch
              package cache : /home/username/miniconda3/pkgs
                              /home/username/.conda/pkgs
           envs directories : /home/username/miniconda3/envs
                              /home/username/.conda/envs
                   platform : linux-64
                 user-agent : conda/4.10.3 requests/2.26.0 CPython/3.7.7 Linux/3.10.0-1127.el7.x86_64 centos/7.8.2003 glibc/2.17
                    UID:GID : 000:000
                 netrc file : None
               offline mode : False
    

    Conda config

    ssl_verify: False
    channel_priority: flexible
    channels:
      - http://internal-repo
      - https://internal-repo
      - defaults
    show_channel_urls: True
    use_only_tar_bz2: True
    

    Conda list

    # Name                    Version                   Build  Channel
    _libgcc_mutex             0.1                        main    https://internal-repo
    altgraph                  0.17               pyhd3eb1b0_0    https://internal-repo
    appdirs                   1.4.4                      py_0    https://internal-repo
    argon2-cffi               20.1.0           py37h7b6447c_1    https://internal-repo
    async_generator           1.10             py37h28b3542_0    https://internal-repo
    attrs                     20.3.0             pyhd3eb1b0_0    https://internal-repo
    backcall                  0.2.0                      py_0    https://internal-repo
    black                     19.10b0                    py_0    https://internal-repo
    blas                      1.0                         mkl    https://internal-repo
    bleach                    3.2.1                      py_0    https://internal-repo
    bokeh                     2.3.3            py37h06a4308_0    https://internal-repo
    boto3                     1.17.7             pyhd3eb1b0_0    https://internal-repo
    botocore                  1.20.50            pyhd3eb1b0_1    https://internal-repo
    brotlipy                  0.7.0           py37h27cfd23_1003    https://internal-repo
    ca-certificates           2021.5.30            ha878542_0    https://internal-repo
    certifi                   2021.5.30        py37h89c1867_0    https://internal-repo
    cffi                      1.14.4           py37h261ae71_0    https://internal-repo
    click                     7.1.2                      py_0    https://internal-repo
    cloudpickle               1.6.0                      py_0    https://internal-repo
    cryptography              2.9.2            py37h1ba5d50_0    https://internal-repo
    cycler                    0.10.0                   py37_0    https://internal-repo
    cytoolz                   0.11.0           py37h7b6447c_0    https://internal-repo
    dask                      2021.7.2           pyhd3eb1b0_0    https://internal-repo
    dask-core                 2021.7.2           pyhd3eb1b0_0    https://internal-repo
    dbus                      1.13.18              hb2f20db_0    https://internal-repo
    decorator                 4.4.2                      py_0    https://internal-repo
    defusedxml                0.6.0                      py_0    https://internal-repo
    distributed               2021.7.2         py37h06a4308_0    https://internal-repo
    entrypoints               0.3                      py37_0    https://internal-repo
    expat                     2.2.10               he6710b0_2    https://internal-repo
    fasteners                 0.16.3             pyhd3eb1b0_0    https://internal-repo
    flask                     1.1.2                      py_0    https://internal-repo
    fontconfig                2.13.0               h9420a91_0    https://internal-repo
    freetds                   1.1.15               h8385b1f_0    https://internal-repo
    freetype                  2.10.4               h5ab3b9f_0    https://internal-repo
    fsspec                    2021.7.0           pyhd3eb1b0_0    https://internal-repo
    gettext                   0.19.8.1             h5e8e0c9_1    https://internal-repo
    glib                      2.66.1               h92f7085_0    https://internal-repo
    gst-plugins-base          1.14.0               hbbd80ab_1    defaults
    gstreamer                 1.14.0               hb31296c_0    defaults
    heapdict                  1.0.1                      py_0    https://internal-repo
    hypothesis                6.13.14            pyhd3eb1b0_0    https://internal-repo
    icu                       58.2                 he6710b0_3    https://internal-repo
    idna                      2.10               pyhd3eb1b0_0    https://internal-repo
    importlib-metadata        2.0.0                      py_1    https://internal-repo
    importlib_metadata        2.0.0                         1    https://internal-repo
    intel-openmp              2020.2                      254    https://internal-repo
    ipykernel                 5.3.4            py37h5ca1d4c_0    https://internal-repo
    ipython                   7.19.0           py37hb070fc8_0    https://internal-repo
    ipython_genutils          0.2.0              pyhd3eb1b0_1    https://internal-repo
    ipywidgets                7.5.1                      py_1    https://internal-repo
    itsdangerous              1.1.0                    py37_0    https://internal-repo
    jedi                      0.17.0                   py37_0    https://internal-repo
    jinja2                    2.11.2                     py_0    https://internal-repo
    jmespath                  0.10.0             pyh9f0ad1d_0    https://internal-repo
    jpeg                      9b                   h024ee3a_2    defaults
    jsonschema                3.2.0                      py_2    https://internal-repo
    jupyter                   1.0.0                    py37_7    https://internal-repo
    jupyter_client            6.1.7                      py_0    https://internal-repo
    jupyter_console           6.2.0                      py_0    https://internal-repo
    jupyter_core              4.7.0            py37h06a4308_0    https://internal-repo
    jupyterlab_pygments       0.1.2                      py_0    https://internal-repo
    kiwisolver                1.3.0            py37h2531618_0    https://internal-repo
    krb5                      1.17.1               h173b8e3_0    https://internal-repo
    lcms2                     2.11                 h396b838_0    https://internal-repo
    ld_impl_linux-64          2.33.1               h53a641e_7    https://internal-repo
    libedit                   3.1.20191231         h14c3975_1    https://internal-repo
    libffi                    3.3                  he6710b0_2    https://internal-repo
    libgcc-ng                 9.1.0                hdf63c60_0    https://internal-repo
    libgfortran-ng            7.3.0                hdf63c60_0    https://internal-repo
    libiconv                  1.16                 h516909a_0    https://internal-repo
    libpng                    1.6.37               hbc83047_0    https://internal-repo
    libpq                     12.2                 h20c2e04_0    https://internal-repo
    libsodium                 1.0.18               h7b6447c_0    https://internal-repo
    libstdcxx-ng              9.1.0                hdf63c60_0    https://internal-repo
    libtiff                   4.1.0                h2733197_1    defaults
    libuuid                   1.0.3                h1bed415_2    https://internal-repo
    libxcb                    1.14                 h7b6447c_0    https://internal-repo
    libxml2                   2.9.10               hb55368b_3    https://internal-repo
    llvmlite                  0.29.0           py37hd408876_0    https://internal-repo
    locket                    0.2.1            py37h06a4308_1    https://internal-repo
    lz4                       3.1.0            py37h7b6447c_0    https://internal-repo
    lz4-c                     1.9.2                heb0550a_3    https://internal-repo
    macholib                  1.14               pyhd3eb1b0_1    https://internal-repo
    mako                      1.1.4              pyhd3eb1b0_0    https://internal-repo
    markdown                  3.3.3            py37h06a4308_0    https://internal-repo
    markupsafe                1.1.1            py37h14c3975_1    https://internal-repo
    matplotlib                3.3.2                h06a4308_0    https://internal-repo
    matplotlib-base           3.3.2            py37h817c723_0    https://internal-repo
    mistune                   0.8.4           py37h14c3975_1001    https://internal-repo
    mkl                       2020.2                      256    https://internal-repo
    mkl-service               2.3.0            py37he904b0f_0    defaults
    mkl_fft                   1.2.0            py37h23d657b_0    defaults
    mkl_random                1.1.1            py37h0573a6f_0    https://internal-repo
    mono                      5.14.0.177        he1b5a44_1001    https://internal-repo
    msgpack-python            1.0.2            py37hff7bd54_1    https://internal-repo
    munch                     2.5.0                      py_0    https://internal-repo
    mypy_extensions           0.4.3                    py37_0    https://internal-repo
    nbclient                  0.5.1                      py_0    https://internal-repo
    nbconvert                 6.0.7                    py37_0    https://internal-repo
    nbformat                  5.0.8                      py_0    https://internal-repo
    ncurses                   6.2                  he6710b0_1    https://internal-repo
    nest-asyncio              1.4.3              pyhd3eb1b0_0    https://internal-repo
    notebook                  6.1.5            py37h06a4308_0    https://internal-repo
    numba                     0.44.1           py37h962f231_0    https://internal-repo
    numpy                     1.19.2           py37h54aff64_0    defaults
    numpy-base                1.19.2           py37hfa32c7d_0    defaults
    olefile                   0.46                     py37_0    https://internal-repo
    openssl                   1.1.1                h7b6447c_0    https://internal-repo
    packaging                 20.8               pyhd3eb1b0_0    https://internal-repo
    pandas                    1.1.3            py37he6710b0_0    https://internal-repo
    pandera                   0.6.4              pyhd8ed1ab_0    https://internal-repo
    pandoc                    2.11                 hb0f4dca_0    https://internal-repo
    pandocfilters             1.4.3            py37h06a4308_1    https://internal-repo
    parso                     0.8.1              pyhd3eb1b0_0    https://internal-repo
    partd                     1.2.0              pyhd3eb1b0_0    https://internal-repo
    pathspec                  0.7.0                      py_0    https://internal-repo
    patsy                     0.5.1                    py37_0    https://internal-repo
    pcre                      8.44                 he6710b0_0    https://internal-repo
    pdoc3                     0.9.2              pyhd3eb1b0_0    https://internal-repo
    pexpect                   4.8.0              pyhd3eb1b0_3    https://internal-repo
    pickleshare               0.7.5           pyhd3eb1b0_1003    https://internal-repo
    pillow                    8.1.0            py37he98fc37_0    https://internal-repo
    pip                       20.2.4                   py37_0    https://internal-repo
    prometheus_client         0.9.0              pyhd3eb1b0_0    https://internal-repo
    prompt-toolkit            3.0.8                      py_0    https://internal-repo
    prompt_toolkit            3.0.8                         0    https://internal-repo
    psutil                    5.8.0            py37h27cfd23_1    https://internal-repo
    psycopg2                  2.8.6            py37h3c74f83_1    https://internal-repo
    ptyprocess                0.6.0              pyhd3eb1b0_2    https://internal-repo
    pycparser                 2.20                       py_2    https://internal-repo
    pycrypto                  2.6.1           py37h14c3975_1002    https://internal-repo
    pygments                  2.7.3              pyhd3eb1b0_0    https://internal-repo
    pyinstaller               3.4              py37hbc83047_1    https://internal-repo
    pymssql                   2.1.4           py37hf484d3e_2001    https://internal-repo
    pyopenssl                 19.1.0                   py37_0    https://internal-repo
    pyparsing                 2.4.7                      py_0    https://internal-repo
    pyqt                      5.9.2            py37h05f1152_2    https://internal-repo
    pyrsistent                0.17.3           py37h7b6447c_0    https://internal-repo
    pysocks                   1.7.1                    py37_0    https://internal-repo
    python                    3.7.9                h7579374_0    https://internal-repo
    python-dateutil           2.8.1                      py_0    https://internal-repo
    python_abi                3.7                     1_cp37m    https://internal-repo
    pythonnet                 2.4.0            py37haf93ef1_1    https://internal-repo
    pytz                      2020.1                     py_0    https://internal-repo
    pyyaml                    5.4.1            py37h27cfd23_1    https://internal-repo
    pyzmq                     20.0.0           py37h2531618_1    https://internal-repo
    qt                        5.9.7                h5867ecd_1    defaults
    qtconsole                 4.7.7                      py_0    https://internal-repo
    qtpy                      1.9.0                      py_0    https://internal-repo
    readline                  8.0                  h7b6447c_0    https://internal-repo
    regex                     2021.4.4         py37h27cfd23_0    https://internal-repo
    s3transfer                0.3.3                    py37_0    https://internal-repo
    scikit-learn              0.19.2           py37h4989274_0    https://internal-repo
    scipy                     1.5.2            py37h0b6359f_0    defaults
    seaborn                   0.11.1             pyhd3eb1b0_0    https://internal-repo
    send2trash                1.5.0              pyhd3eb1b0_1    https://internal-repo
    setuptools                50.3.0           py37hb0f4dca_1    https://internal-repo
    sip                       4.19.8           py37hf484d3e_0    https://internal-repo
    six                       1.15.0                     py_0    https://internal-repo
    sortedcontainers          2.3.0              pyhd3eb1b0_0    https://internal-repo
    sqlite                    3.33.0               h62c20be_0    https://internal-repo
    statsmodels               0.10.1           py37hdd07704_0    https://internal-repo
    tbb                       2021.2.0             hff7bd54_0    https://internal-repo
    tblib                     1.7.0                      py_0    https://internal-repo
    terminado                 0.9.1                    py37_0    https://internal-repo
    testpath                  0.4.4                      py_0    https://internal-repo
    tk                        8.6.10               hbc83047_0    https://internal-repo
    toml                      0.10.2             pyhd3eb1b0_0    https://internal-repo
    toolz                     0.11.1             pyhd3eb1b0_0    https://internal-repo
    tornado                   6.1              py37h27cfd23_0    https://internal-repo
    traitlets                 5.0.5                      py_0    https://internal-repo
    typed-ast                 1.4.2            py37h27cfd23_1    https://internal-repo
    typing_extensions         3.7.4.3            pyha847dfd_0    https://internal-repo
    typing_inspect            0.6.0              pyhd3eb1b0_0    https://internal-repo
    unixodbc                  2.3.7                h14c3975_0    https://internal-repo
    urllib3                   1.26.4             pyhd3eb1b0_0    https://internal-repo
    wcwidth                   0.2.5                      py_0    https://internal-repo
    webencodings              0.5.1                    py37_1    https://internal-repo
    werkzeug                  1.0.1                      py_0    https://internal-repo
    wheel                     0.35.1                     py_0    https://internal-repo
    widgetsnbextension        3.5.1                    py37_0    https://internal-repo
    wrapt                     1.12.1           py37h7b6447c_1    https://internal-repo
    xarray                    0.17.0             pyhd3eb1b0_0    https://internal-repo
    xmltodict                 0.12.0                     py_0    https://internal-repo
    xz                        5.2.5                h7b6447c_0    https://internal-repo
    yaml                      0.2.5                h7b6447c_0    https://internal-repo
    zeromq                    4.3.3                he6710b0_3    https://internal-repo
    zict                      2.0.0              pyhd3eb1b0_0    https://internal-repo
    zipp                      3.4.0              pyhd3eb1b0_0    https://internal-repo
    zlib                      1.2.11               h7b6447c_3    https://internal-repo
    zstd                      1.4.5                h9ceee32_0    https://internal-repo
    

    Additional Context

    For any package not provided by https://internal-repo, the reason it pulled from defaults is because of a dependency mismatch for an otherwise identical package.

    type-bug 
    opened by zjdoman 0
  • CONDA_ALWAYS_SOFTLINK=yes links to package cache.

    CONDA_ALWAYS_SOFTLINK=yes links to package cache.

    Checklist

    • [X] I added a descriptive title
    • [X] I searched for other issues and couldn't find a solution or duplication
    • [X] I already searched in Google and didn't find any good information or help
    • [X] I looked at the docs and didn't see anything to help

    What happened?

    When installing a virtualenv onto a CVMFS mount, the installation makes use of a local package cache. I'm installing with CONDA_ALWAYS_SOFTLINK=yes, but the final environment seems to link back into the local package cache (which is not available on other hosts that the environment is made available on).

    The result is a broken environment.

    Is it expected that there should be symlinks to the package cache? My naive expectation was that the package cache should not be referenced at all in the final installed environment.

    Conda info

    active environment : myenv
        active env location : /opt/public/conda/miniconda3-team.2/envs/myenv                       
                shell level : 2                                                                                                         
           user config file : /home/svc_cvmfs_team/.condarc                                                                              
     populated config files : /opt/public/conda/miniconda3-team.2/.condarc                                                               
                              /home/svc_cvmfs_team/.condarc                                                                              
              conda version : 4.10.3                                                                                                    
        conda-build version : not installed                                                                                             
             python version : 3.8.5.final.0                                                                                             
           virtual packages : __linux=3.10.0=0                                                                                          
                              __glibc=2.17=0                                                                                            
                              __unix=0=0                                                                                                
                              __archspec=1=x86_64                                                                                       
           base environment : /opt/public/conda/miniconda3-team.2  (read only)                                                           
          conda av data dir : /opt/public/conda/miniconda3-team.2/etc/conda                                                              
      conda av metadata url : None                                                                                                      
               channel URLs : file:///opt/public/conda/team-pkgs/linux-64                                                                
                              file:///opt/public/conda/team-pkgs/noarch                                                                  
                              https://conda.anaconda.org/pytorch/linux-64                                                               
                              https://conda.anaconda.org/pytorch/noarch                                                                 
                              https://conda.anaconda.org/conda-forge/linux-64                                                           
                              https://conda.anaconda.org/conda-forge/noarch                                                             
                              https://repo.anaconda.com/pkgs/main/linux-64                                                              
                              https://repo.anaconda.com/pkgs/main/noarch                                                                
                              https://repo.anaconda.com/pkgs/r/linux-64                                                                 
                              https://repo.anaconda.com/pkgs/r/noarch                                                                   
                              https://conda.anaconda.org/prometeia/linux-64                                                             
                              https://conda.anaconda.org/prometeia/noarch                                                               
                              https://conda.anaconda.org/mosek/linux-64                                                                 
                              https://conda.anaconda.org/mosek/noarch                                                                   
              package cache : /opt/public/conda/miniconda3-team.2/pkgs                                                                   
                              /home/svc_cvmfs_team/.conda/pkgs                                                                           
           envs directories : /opt/public/conda/miniconda3-team.2/envs                                                                   
                              /home/svc_cvmfs_team/.conda/envs                                                                           
                   platform : linux-64                                                                                                  
                 user-agent : conda/4.10.3 requests/2.26.0 CPython/3.8.5 Linux/3.10.0-1062.9.1.el7.firm4.x86_64 rhel/7.7 glibc/2.17     
                    UID:GID : 43645:40035                                                                                               
                 netrc file : None                                                                                                      
               offline mode : False
    

    Conda config

    ==> /opt/public/conda/miniconda3-team.2/.condarc <==                         
    envs_dirs:                                                                  
      - /opt/public/conda/miniconda3-team.2/envs                                 
      - ~/.conda/envs                                                           
    channel_priority: strict                                                    
    channels:                                                                   
      - file:///opt/public/conda/team-pkgs                                       
      - pytorch                                                                 
      - conda-forge                                                             
      - defaults                                                                                                                               
                                                                                
    ==> /home/svc_cvmfs_team/.condarc <==                                        
    envs_dirs:                                                                  
      - /opt/public/conda/miniconda3-team.2/envs                                 
      - ~/.conda/envs                                                           
    channel_priority: strict                                                    
    channels:                                                                   
      - file:///opt/public/conda/team-pkgs                                       
      - pytorch                                                                 
      - conda-forge                                                             
      - defaults
    

    Conda list

    No response

    Additional Context

    $ conda list --show-channel-urls | grep decorator
    decorator                 4.4.2                      py_0    conda-forge
    
    $ ls -la /opt/public/conda/miniconda3-team.2/envs/conda3.8-jha.2/lib/python3.8/site-packages/decorator.py
    lrwxrwxrwx 1 svc_cvmfs_team software 79 Oct 10 21:05 /opt/public/conda/miniconda3-team.2/envs/myenv/lib/python3.8/site-packages/decorator.py -> /home/svc_cvmfs_team/.conda/pkgs/decorator-4.4.2-py_0/site-packages/decorator.py
    

    Some other details:

    • /opt/public/conda is a CVMFS mount. It is replicated to many machines at the same exact path etc.
    • The installed decorator.py module seems to be linking to the ~/.conda/pkgs package cache, which is not available on any of the replicated hosts, so the environment is broken. Why isn't it using the package cache in the miniconda installation base?

    The environment was installed with CONDA_ALWAYS_SOFTLINK=yes set.

    type-bug 
    opened by chebee7i 0
  • I met some problems when creating a conda environment

    I met some problems when creating a conda environment

    Checklist

    • [X] I added a descriptive title
    • [X] I searched for other issues and couldn't find a solution or duplication
    • [X] I already searched in Google and didn't find any good information or help
    • [X] I looked at the docs and didn't see anything to help

    What happened?

    When I read a book, it tells me to create a conda environment by sending the following code in the terminal:

    conda env create -f environment.yml

    There is a file named environment.yml, it has included following codes:

    name: gluon
    dependencies:
    - python=3.6
    - jupyter=1.0.0
    - matplotlib=2.2.2
    - pandas=0.23.2
    - pip:
      - requests==2.18.4
      - mxnet==1.2.1
      - gluonbook==0.8.3
    

    But it returned following traceback to let me find the solution on GitHub:

    Traceback (most recent call last):
      File "/home/pi/miniconda3/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 544, in urlopen
        body=body, headers=headers)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 341, in _make_request
        self._validate_conn(conn)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 761, in _validate_conn
        conn.connect()
      File "/home/pi/miniconda3/lib/python3.4/site-packages/requests/packages/urllib3/connection.py", line 238, in connect
        ssl_version=resolved_ssl_version)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/requests/packages/urllib3/util/ssl_.py", line 279, in ssl_wrap_socket
        return context.wrap_socket(sock, server_hostname=server_hostname)
      File "/home/pi/miniconda3/lib/python3.4/ssl.py", line 365, in wrap_socket
        _context=self)
      File "/home/pi/miniconda3/lib/python3.4/ssl.py", line 583, in __init__
        self.do_handshake()
      File "/home/pi/miniconda3/lib/python3.4/ssl.py", line 810, in do_handshake
        self._sslobj.do_handshake()
    ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/home/pi/miniconda3/lib/python3.4/site-packages/requests/adapters.py", line 370, in send
        timeout=timeout
      File "/home/pi/miniconda3/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 574, in urlopen
        raise SSLError(e)
    requests.packages.urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/home/pi/miniconda3/lib/python3.4/site-packages/conda/fetch.py", line 100, in fetch_repodata
        headers=headers, proxies=session.proxies)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/requests/sessions.py", line 477, in get
        return self.request('GET', url, **kwargs)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/requests/sessions.py", line 465, in request
        resp = self.send(prep, **send_kwargs)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/requests/sessions.py", line 573, in send
        r = adapter.send(request, **kwargs)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/requests/adapters.py", line 431, in send
        raise SSLError(e, request=request)
    requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/home/pi/miniconda3/bin/conda", line 5, in <module>
        sys.exit(main())
      File "/home/pi/miniconda3/lib/python3.4/site-packages/conda/cli/main.py", line 194, in main
        args_func(args, p)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/conda/cli/main.py", line 201, in args_func
        args.func(args, p)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/conda/cli/main_update.py", line 38, in execute
        install.install(args, parser, 'update')
      File "/home/pi/miniconda3/lib/python3.4/site-packages/conda/cli/install.py", line 244, in install
        offline=args.offline)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/conda/cli/common.py", line 548, in get_index_trap
        return get_index(*args, **kwargs)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/conda/api.py", line 42, in get_index
        unknown=unknown)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/conda/utils.py", line 119, in __call__
        value = self.func(*args, **kw)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/conda/fetch.py", line 255, in fetch_index
        repodatas.append((url, future.result()))
      File "/home/pi/miniconda3/lib/python3.4/concurrent/futures/_base.py", line 395, in result
        return self.__get_result()
      File "/home/pi/miniconda3/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
        raise self._exception
      File "/home/pi/miniconda3/lib/python3.4/concurrent/futures/thread.py", line 54, in run
        result = self.fn(*self.args, **self.kwargs)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/conda/fetch.py", line 65, in func
        res = f(*args, **kwargs)
      File "/home/pi/miniconda3/lib/python3.4/site-packages/conda/fetch.py", line 150, in fetch_repodata
        stderrlog.info("SSL verification error %s\n" % e.message)
    AttributeError: 'SSLError' object has no attribute 'message'
    

    I want to know how to solve the question to let me create the correct environment. Thank you.

    Conda info

    Current conda install:
    
                 platform : linux-armv7l
            conda version : 3.16.0
      conda-build version : not installed
           python version : 3.4.3.final.0
         requests version : 2.7.0
         root environment : /home/pi/miniconda3  (writable)
      default environment : /home/pi/miniconda3
         envs directories : /home/pi/miniconda3/envs
            package cache : /home/pi/miniconda3/pkgs
             channel URLs : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-armv7l/
                            https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch/
                            https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-armv7l/
                            https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch/
                            https://mirrors.ustc.edu.cn/anaconda/pkgs/main/linux-armv7l/
                            https://mirrors.ustc.edu.cn/anaconda/pkgs/main/noarch/
                            https://mirrors.ustc.edu.cn/anaconda/pkgs/free/linux-armv7l/
                            https://mirrors.ustc.edu.cn/anaconda/pkgs/free/noarch/
                            https://repo.continuum.io/pkgs/free/linux-armv7l/
                            https://repo.continuum.io/pkgs/free/noarch/
                            https://repo.continuum.io/pkgs/pro/linux-armv7l/
                            https://repo.continuum.io/pkgs/pro/noarch/
              config file : /home/pi/.condarc
        is foreign system : False
    

    Conda config

    usage: conda config [-h] [--json] [--system | --file FILE]
                        (--get [KEY [KEY ...]] | --add KEY VALUE | --set KEY VALUE | --remove KEY VALUE | --remove-key KEY)
                        [-f]
    conda config: error: one of the arguments --get --add --set --remove --remove-key is required
    

    Conda list

    # packages in environment at /home/pi/miniconda3:
    #
    conda                     3.16.0                   py34_0    <unknown>
    conda-env                 2.4.2                    py34_0    <unknown>
    openssl                   1.0.1k                        1    <unknown>
    pycosat                   0.6.1                    py34_0    <unknown>
    pycrypto                  2.6.1                    py34_0    <unknown>
    python                    3.4.3                         1    <unknown>
    pyyaml                    3.11                     py34_1    <unknown>
    requests                  2.7.0                    py34_0    <unknown>
    sqlite                    3.8.4.1                       1    <unknown>
    xz                        5.0.5                         0    <unknown>
    yaml                      0.1.6                         0    <unknown>
    zlib                      1.2.8                         0    <unknown>
    

    Additional Context

    I just bought my Raspberry Pi recently and am not familiar with the Linux system.

    So I might have done something incorrent before this step, please let me not if you consider the reason possible.

    Thank you very much.

    type-bug 
    opened by MazelTovy 3
  • Conda env export file is blank but conda list -e is not

    Conda env export file is blank but conda list -e is not

    Checklist

    • [X] I added a descriptive title
    • [X] I searched for other issues and couldn't find a solution or duplication
    • [X] I already searched in Google and didn't find any good information or help
    • [X] I looked at the docs and didn't see anything to help

    What happened?

    I discovered stale issues which are closed: https://github.com/conda/conda/issues/8839

    I have tried all of the below in command line, an admin command line and the anaconda command line.

    When I run conda env export --name myenv --file meta.yml the following file is rendered:

    name: myenv
    channels:
      - defaults
    prefix: C:\ProgramData\Anaconda3\envs\myenv\envs\myenv
    
    

    When I run conda list -e > foo.txt the text file contains many libraries:

    # This file may be used to create an environment using:
    # $ conda create --name <env> --file <this file>
    # platform: win-64
    aiohttp=3.7.4.post0=py38h2bbff1b_2
    argon2-cffi=20.1.0=py38h2bbff1b_1
    async-timeout=3.0.1=py38haa95532_0
    async_generator=1.10=pyhd3eb1b0_0
    attrs=21.2.0=pyhd3eb1b0_0
    backcall=0.2.0=pyhd3eb1b0_0
    beautifulsoup4=4.10.0=pyh06a4308_0
    blas=1.0=mkl
    bleach=4.0.0=pyhd3eb1b0_0
    boto3=1.18.21=pyhd3eb1b0_0
    botocore=1.21.41=pyhd3eb1b0_1
    bottleneck=1.3.2=py38h2a96729_1
    brotlipy=0.7.0=py38h2bbff1b_1003
    bzip2=1.0.8=he774522_0
    ca-certificates=2021.9.30=haa95532_1
    cachetools=4.2.2=pyhd3eb1b0_0
    catalogue=1.0.0=py38_1
    certifi=2021.10.8=py38haa95532_0
    cffi=1.14.6=py38h2bbff1b_0
    chardet=4.0.0=py38haa95532_1003
    charset-normalizer=2.0.4=pyhd3eb1b0_0
    click=7.1.2=pyhd3eb1b0_0
    colorama=0.4.4=pyhd3eb1b0_0
    conda=4.10.3=py38haa95532_0
    conda-build=3.21.5=py38haa95532_0
    conda-package-handling=1.7.3=py38h8cc25b3_1
    coverage=5.5=py38h2bbff1b_2
    cryptography=3.4.8=py38h71e12ea_0
    cymem=2.0.5=py38hd77b12b_0
    cython=0.29.24=py38hd77b12b_0
    cython-blis=0.7.4=py38h2bbff1b_1
    dataclasses=0.8=pyh6d0b6a4_7
    decorator=5.1.0=pyhd3eb1b0_0
    defusedxml=0.7.1=pyhd3eb1b0_0
    entrypoints=0.3=py38_0
    et_xmlfile=1.1.0=py38haa95532_0
    feedparser=5.2.1=py38_1
    filelock=3.0.12=pyhd3eb1b0_1
    glob2=0.7=pyhd3eb1b0_0
    google-api-core=1.25.1=pyhd3eb1b0_0
    google-auth=1.33.0=pyhd3eb1b0_0
    google-cloud-core=1.7.1=pyhd3eb1b0_0
    google-cloud-storage=1.41.0=pyhd3eb1b0_0
    google-crc32c=1.1.2=py38h2bbff1b_0
    google-resumable-media=1.3.1=pyhd3eb1b0_1
    googleapis-common-protos=1.53.0=py38h2eaa2aa_0
    greenlet=1.1.1=py38hd77b12b_0
    grpcio=1.36.1=py38hc60d5dd_1
    icu=58.2=ha925a31_3
    idna=3.2=pyhd3eb1b0_0
    importlib-metadata=4.8.1=py38haa95532_0
    importlib_metadata=4.8.1=hd3eb1b0_0
    intel-openmp=2021.3.0=haa95532_3372
    ipython_genutils=0.2.0=pyhd3eb1b0_1
    jedi=0.18.0=py38haa95532_1
    jinja2=2.11.3=pyhd3eb1b0_0
    jmespath=0.10.0=pyhd3eb1b0_0
    joblib=1.0.1=pyhd3eb1b0_0
    jpeg=9d=h2bbff1b_0
    jsonschema=3.0.2=py38_0
    jupyter_client=7.0.1=pyhd3eb1b0_0
    jupyter_core=4.8.1=py38haa95532_0
    jupyterlab_pygments=0.1.2=py_0
    libarchive=3.4.2=h5e25573_0
    libcrc32c=1.1.1=ha925a31_2
    libiconv=1.15=h1df5818_7
    liblief=0.10.1=ha925a31_0
    libpng=1.6.37=h2a8f88b_0
    libprotobuf=3.17.2=h23ce68f_1
    libxml2=2.9.12=h0ad7f3c_0
    lz4-c=1.9.3=h2bbff1b_1
    m2w64-gcc-libgfortran=5.3.0=6
    m2w64-gcc-libs=5.3.0=7
    m2w64-gcc-libs-core=5.3.0=7
    m2w64-gmp=6.1.0=2
    m2w64-libwinpthread-git=5.0.0.4634.697f757=2
    markupsafe=2.0.1=py38h2bbff1b_0
    matplotlib-inline=0.1.2=pyhd3eb1b0_2
    menuinst=1.4.18=py38h59b6b97_0
    mistune=0.8.4=py38he774522_1000
    mkl=2021.3.0=haa95532_524
    mkl-service=2.4.0=py38h2bbff1b_0
    mkl_fft=1.3.0=py38h277e83a_2
    mkl_random=1.2.2=py38hf11a4ad_0
    msys2-conda-epoch=20160418=1
    multidict=5.1.0=py38h2bbff1b_2
    murmurhash=1.0.5=py38hd77b12b_0
    nbclient=0.5.3=pyhd3eb1b0_0
    nbconvert=6.1.0=py38haa95532_0
    nbformat=5.1.3=pyhd3eb1b0_0
    nest-asyncio=1.5.1=pyhd3eb1b0_0
    nltk=3.6.5=pyhd3eb1b0_0
    numexpr=2.7.3=py38hb80d3ca_1
    numpy=1.21.2=py38hfca59bb_0
    numpy-base=1.21.2=py38h0829f74_0
    openpyxl=3.0.9=pyhd3eb1b0_0
    openssl=1.1.1l=h2bbff1b_0
    packaging=21.0=pyhd3eb1b0_0
    pandas=1.3.3=py38h6214cd6_0
    pandocfilters=1.4.3=py38haa95532_1
    parso=0.8.2=pyhd3eb1b0_0
    pathy=0.6.0=pyhd3eb1b0_0
    pickleshare=0.7.5=pyhd3eb1b0_1003
    pip=21.2.2=py38haa95532_0
    pkginfo=1.7.1=py38haa95532_0
    plac=1.1.0=py38_1
    preshed=3.0.5=py38h6c2663c_4
    prometheus_client=0.11.0=pyhd3eb1b0_0
    prompt-toolkit=3.0.20=pyhd3eb1b0_0
    prompt_toolkit=3.0.20=hd3eb1b0_0
    protobuf=3.17.2=py38hd77b12b_0
    psutil=5.8.0=py38h2bbff1b_1
    py-lief=0.10.1=py38ha925a31_0
    pyasn1=0.4.8=pyhd3eb1b0_0
    pyasn1-modules=0.2.8=py_0
    pycosat=0.6.3=py38h2bbff1b_0
    pycparser=2.20=py_2
    pydantic=1.8.2=py38h2bbff1b_0
    pygments=2.10.0=pyhd3eb1b0_0
    pyodbc=4.0.31=py38hd77b12b_0
    pyopenssl=20.0.1=pyhd3eb1b0_1
    pyparsing=2.4.7=pyhd3eb1b0_0
    pyqt=5.9.2=py38ha925a31_4
    pyrsistent=0.17.3=py38he774522_0
    pysocks=1.7.1=py38haa95532_0
    python=3.8.12=h6244533_0
    python-dateutil=2.8.2=pyhd3eb1b0_0
    python-libarchive-c=2.9=pyhd3eb1b0_1
    pytz=2021.3=pyhd3eb1b0_0
    pywin32=228=py38hbaba5e8_1
    pywinpty=0.5.7=py38_0
    pyyaml=5.4.1=py38h2bbff1b_1
    pyzmq=22.2.1=py38hd77b12b_1
    qt=5.9.7=vc14h73c81de_0
    regex=2021.8.3=py38h2bbff1b_0
    requests=2.26.0=pyhd3eb1b0_0
    rsa=4.7.2=pyhd3eb1b0_1
    ruamel_yaml=0.15.100=py38h2bbff1b_0
    s3transfer=0.5.0=pyhd3eb1b0_0
    send2trash=1.8.0=pyhd3eb1b0_1
    setuptools=58.0.4=py38haa95532_0
    shellingham=1.3.1=pyhd3eb1b0_0
    sip=4.19.13=py38ha925a31_0
    six=1.16.0=pyhd3eb1b0_0
    smart_open=5.1.0=pyhd3eb1b0_0
    soupsieve=2.2.1=pyhd3eb1b0_0
    spacy=2.3.5=py38h59b6b97_0
    sqlalchemy=1.4.22=py38h2bbff1b_0
    sqlite=3.36.0=h2bbff1b_0
    srsly=1.0.5=py38hd77b12b_0
    terminado=0.9.4=py38haa95532_0
    testpath=0.5.0=pyhd3eb1b0_0
    thinc=7.4.5=py38h757b272_0
    tornado=6.1=py38h2bbff1b_0
    tqdm=4.62.2=pyhd3eb1b0_1
    traitlets=5.1.0=pyhd3eb1b0_0
    typer=0.3.2=pyhd3eb1b0_0
    typing-extensions=3.10.0.2=hd3eb1b0_0
    typing_extensions=3.10.0.2=pyh06a4308_0
    urllib3=1.26.7=pyhd3eb1b0_0
    vc=14.2=h21ff451_1
    vs2015_runtime=14.27.29016=h5e58377_2
    wasabi=0.8.2=pyhd3eb1b0_0
    wcwidth=0.2.5=pyhd3eb1b0_0
    webencodings=0.5.1=py38_1
    wheel=0.37.0=pyhd3eb1b0_1
    win_inet_pton=1.1.0=py38haa95532_0
    wincertstore=0.2=py38haa95532_2
    winpty=0.4.3=4
    xz=5.2.5=h62dcd97_0
    yaml=0.2.5=he774522_0
    yarl=1.5.1=py38he774522_0
    zipp=3.6.0=pyhd3eb1b0_0
    zlib=1.2.11=h62dcd97_4
    zstd=1.4.9=h19a0ad4_0
    
    

    Conda info

    active environment : base
        active env location : C:\ProgramData\Anaconda3\envs\myenv
                shell level : 1
           user config file : C:\Users\bbservice\.condarc
     populated config files :
              conda version : 4.10.3
        conda-build version : 3.21.5
             python version : 3.8.12.final.0
           virtual packages : __win=0=0
                              __archspec=1=x86_64
           base environment : C:\ProgramData\Anaconda3\envs\myenv  (writable)
          conda av data dir : C:\ProgramData\Anaconda3\envs\myenv\etc\conda
      conda av metadata url : None
               channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                              https://repo.anaconda.com/pkgs/main/noarch
                              https://repo.anaconda.com/pkgs/r/win-64
                              https://repo.anaconda.com/pkgs/r/noarch
                              https://repo.anaconda.com/pkgs/msys2/win-64
                              https://repo.anaconda.com/pkgs/msys2/noarch
              package cache : C:\ProgramData\Anaconda3\envs\myenv\pkgs
                              C:\Users\bbservice\.conda\pkgs
                              C:\Users\bbservice\AppData\Local\conda\conda\pkgs
           envs directories : C:\ProgramData\Anaconda3\envs\myenv\envs
                              C:\Users\bbservice\.conda\envs
                              C:\Users\bbservice\AppData\Local\conda\conda\envs
                   platform : win-64
                 user-agent : conda/4.10.3 requests/2.26.0 CPython/3.8.12 Windows/10 Windows/10.0.17763
              administrator : False
                 netrc file : None
               offline mode : False
    

    Conda config

    this is blank
    

    Conda list

    # Name                    Version                   Build  Channel
    aiohttp                   3.7.4.post0      py38h2bbff1b_2    defaults
    argon2-cffi               20.1.0           py38h2bbff1b_1    defaults
    async-timeout             3.0.1            py38haa95532_0    defaults
    async_generator           1.10               pyhd3eb1b0_0    defaults
    attrs                     21.2.0             pyhd3eb1b0_0    defaults
    backcall                  0.2.0              pyhd3eb1b0_0    defaults
    beautifulsoup4            4.10.0             pyh06a4308_0    defaults
    blas                      1.0                         mkl    defaults
    bleach                    4.0.0              pyhd3eb1b0_0    defaults
    boto3                     1.18.21            pyhd3eb1b0_0    defaults
    botocore                  1.21.41            pyhd3eb1b0_1    defaults
    bottleneck                1.3.2            py38h2a96729_1    defaults
    brotlipy                  0.7.0           py38h2bbff1b_1003    defaults
    bzip2                     1.0.8                he774522_0    defaults
    ca-certificates           2021.9.30            haa95532_1    defaults
    cachetools                4.2.2              pyhd3eb1b0_0    defaults
    catalogue                 1.0.0                    py38_1    defaults
    certifi                   2021.10.8        py38haa95532_0    defaults
    cffi                      1.14.6           py38h2bbff1b_0    defaults
    chardet                   4.0.0           py38haa95532_1003    defaults
    charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
    click                     7.1.2              pyhd3eb1b0_0    defaults
    colorama                  0.4.4              pyhd3eb1b0_0    defaults
    conda                     4.10.3           py38haa95532_0    defaults
    conda-build               3.21.5           py38haa95532_0    defaults
    conda-package-handling    1.7.3            py38h8cc25b3_1    defaults
    coverage                  5.5              py38h2bbff1b_2    defaults
    cryptography              3.4.8            py38h71e12ea_0    defaults
    cymem                     2.0.5            py38hd77b12b_0    defaults
    cython                    0.29.24          py38hd77b12b_0    defaults
    cython-blis               0.7.4            py38h2bbff1b_1    defaults
    dataclasses               0.8                pyh6d0b6a4_7    defaults
    decorator                 5.1.0              pyhd3eb1b0_0    defaults
    defusedxml                0.7.1              pyhd3eb1b0_0    defaults
    entrypoints               0.3                      py38_0    defaults
    et_xmlfile                1.1.0            py38haa95532_0    defaults
    feedparser                5.2.1                    py38_1    defaults
    filelock                  3.0.12             pyhd3eb1b0_1    defaults
    glob2                     0.7                pyhd3eb1b0_0    defaults
    google-api-core           1.25.1             pyhd3eb1b0_0    defaults
    google-auth               1.33.0             pyhd3eb1b0_0    defaults
    google-cloud-core         1.7.1              pyhd3eb1b0_0    defaults
    google-cloud-storage      1.41.0             pyhd3eb1b0_0    defaults
    google-crc32c             1.1.2            py38h2bbff1b_0    defaults
    google-resumable-media    1.3.1              pyhd3eb1b0_1    defaults
    googleapis-common-protos  1.53.0           py38h2eaa2aa_0    defaults
    greenlet                  1.1.1            py38hd77b12b_0    defaults
    grpcio                    1.36.1           py38hc60d5dd_1    defaults
    icu                       58.2                 ha925a31_3    defaults
    idna                      3.2                pyhd3eb1b0_0    defaults
    importlib-metadata        4.8.1            py38haa95532_0    defaults
    importlib_metadata        4.8.1                hd3eb1b0_0    defaults
    intel-openmp              2021.3.0          haa95532_3372    defaults
    ipython_genutils          0.2.0              pyhd3eb1b0_1    defaults
    jedi                      0.18.0           py38haa95532_1    defaults
    jinja2                    2.11.3             pyhd3eb1b0_0    defaults
    jmespath                  0.10.0             pyhd3eb1b0_0    defaults
    joblib                    1.0.1              pyhd3eb1b0_0    defaults
    jpeg                      9d                   h2bbff1b_0    defaults
    jsonschema                3.0.2                    py38_0    defaults
    jupyter_client            7.0.1              pyhd3eb1b0_0    defaults
    jupyter_core              4.8.1            py38haa95532_0    defaults
    jupyterlab_pygments       0.1.2                      py_0    defaults
    libarchive                3.4.2                h5e25573_0    defaults
    libcrc32c                 1.1.1                ha925a31_2    defaults
    libiconv                  1.15                 h1df5818_7    defaults
    liblief                   0.10.1               ha925a31_0    defaults
    libpng                    1.6.37               h2a8f88b_0    defaults
    libprotobuf               3.17.2               h23ce68f_1    defaults
    libxml2                   2.9.12               h0ad7f3c_0    defaults
    lz4-c                     1.9.3                h2bbff1b_1    defaults
    m2w64-gcc-libgfortran     5.3.0                         6    defaults
    m2w64-gcc-libs            5.3.0                         7    defaults
    m2w64-gcc-libs-core       5.3.0                         7    defaults
    m2w64-gmp                 6.1.0                         2    defaults
    m2w64-libwinpthread-git   5.0.0.4634.697f757               2    defaults
    markupsafe                2.0.1            py38h2bbff1b_0    defaults
    matplotlib-inline         0.1.2              pyhd3eb1b0_2    defaults
    menuinst                  1.4.18           py38h59b6b97_0    defaults
    mistune                   0.8.4           py38he774522_1000    defaults
    mkl                       2021.3.0           haa95532_524    defaults
    mkl-service               2.4.0            py38h2bbff1b_0    defaults
    mkl_fft                   1.3.0            py38h277e83a_2    defaults
    mkl_random                1.2.2            py38hf11a4ad_0    defaults
    msys2-conda-epoch         20160418                      1    defaults
    multidict                 5.1.0            py38h2bbff1b_2    defaults
    murmurhash                1.0.5            py38hd77b12b_0    defaults
    nbclient                  0.5.3              pyhd3eb1b0_0    defaults
    nbconvert                 6.1.0            py38haa95532_0    defaults
    nbformat                  5.1.3              pyhd3eb1b0_0    defaults
    nest-asyncio              1.5.1              pyhd3eb1b0_0    defaults
    nltk                      3.6.5              pyhd3eb1b0_0    defaults
    numexpr                   2.7.3            py38hb80d3ca_1    defaults
    numpy                     1.21.2           py38hfca59bb_0    defaults
    numpy-base                1.21.2           py38h0829f74_0    defaults
    openpyxl                  3.0.9              pyhd3eb1b0_0    defaults
    openssl                   1.1.1l               h2bbff1b_0    defaults
    packaging                 21.0               pyhd3eb1b0_0    defaults
    pandas                    1.3.3            py38h6214cd6_0    defaults
    pandocfilters             1.4.3            py38haa95532_1    defaults
    parso                     0.8.2              pyhd3eb1b0_0    defaults
    pathy                     0.6.0              pyhd3eb1b0_0    defaults
    pickleshare               0.7.5           pyhd3eb1b0_1003    defaults
    pip                       21.2.2           py38haa95532_0    defaults
    pkginfo                   1.7.1            py38haa95532_0    defaults
    plac                      1.1.0                    py38_1    defaults
    preshed                   3.0.5            py38h6c2663c_4    defaults
    prometheus_client         0.11.0             pyhd3eb1b0_0    defaults
    prompt-toolkit            3.0.20             pyhd3eb1b0_0    defaults
    prompt_toolkit            3.0.20               hd3eb1b0_0    defaults
    protobuf                  3.17.2           py38hd77b12b_0    defaults
    psutil                    5.8.0            py38h2bbff1b_1    defaults
    py-lief                   0.10.1           py38ha925a31_0    defaults
    pyasn1                    0.4.8              pyhd3eb1b0_0    defaults
    pyasn1-modules            0.2.8                      py_0    defaults
    pycosat                   0.6.3            py38h2bbff1b_0    defaults
    pycparser                 2.20                       py_2    defaults
    pydantic                  1.8.2            py38h2bbff1b_0    defaults
    pygments                  2.10.0             pyhd3eb1b0_0    defaults
    pyodbc                    4.0.31           py38hd77b12b_0    defaults
    pyopenssl                 20.0.1             pyhd3eb1b0_1    defaults
    pyparsing                 2.4.7              pyhd3eb1b0_0    defaults
    pyqt                      5.9.2            py38ha925a31_4    defaults
    pyrsistent                0.17.3           py38he774522_0    defaults
    pysocks                   1.7.1            py38haa95532_0    defaults
    python                    3.8.12               h6244533_0    defaults
    python-dateutil           2.8.2              pyhd3eb1b0_0    defaults
    python-libarchive-c       2.9                pyhd3eb1b0_1    defaults
    pytz                      2021.3             pyhd3eb1b0_0    defaults
    pywin32                   228              py38hbaba5e8_1    defaults
    pywinpty                  0.5.7                    py38_0    defaults
    pyyaml                    5.4.1            py38h2bbff1b_1    defaults
    pyzmq                     22.2.1           py38hd77b12b_1    defaults
    qt                        5.9.7            vc14h73c81de_0    defaults
    regex                     2021.8.3         py38h2bbff1b_0    defaults
    requests                  2.26.0             pyhd3eb1b0_0    defaults
    rsa                       4.7.2              pyhd3eb1b0_1    defaults
    ruamel_yaml               0.15.100         py38h2bbff1b_0    defaults
    s3transfer                0.5.0              pyhd3eb1b0_0    defaults
    send2trash                1.8.0              pyhd3eb1b0_1    defaults
    setuptools                58.0.4           py38haa95532_0    defaults
    shellingham               1.3.1              pyhd3eb1b0_0    defaults
    sip                       4.19.13          py38ha925a31_0    defaults
    six                       1.16.0             pyhd3eb1b0_0    defaults
    smart_open                5.1.0              pyhd3eb1b0_0    defaults
    soupsieve                 2.2.1              pyhd3eb1b0_0    defaults
    spacy                     2.3.5            py38h59b6b97_0    defaults
    sqlalchemy                1.4.22           py38h2bbff1b_0    defaults
    sqlite                    3.36.0               h2bbff1b_0    defaults
    srsly                     1.0.5            py38hd77b12b_0    defaults
    terminado                 0.9.4            py38haa95532_0    defaults
    testpath                  0.5.0              pyhd3eb1b0_0    defaults
    thinc                     7.4.5            py38h757b272_0    defaults
    tornado                   6.1              py38h2bbff1b_0    defaults
    tqdm                      4.62.2             pyhd3eb1b0_1    defaults
    traitlets                 5.1.0              pyhd3eb1b0_0    defaults
    typer                     0.3.2              pyhd3eb1b0_0    defaults
    typing-extensions         3.10.0.2             hd3eb1b0_0    defaults
    typing_extensions         3.10.0.2           pyh06a4308_0    defaults
    urllib3                   1.26.7             pyhd3eb1b0_0    defaults
    vc                        14.2                 h21ff451_1    defaults
    vs2015_runtime            14.27.29016          h5e58377_2    defaults
    wasabi                    0.8.2              pyhd3eb1b0_0    defaults
    wcwidth                   0.2.5              pyhd3eb1b0_0    defaults
    webencodings              0.5.1                    py38_1    defaults
    wheel                     0.37.0             pyhd3eb1b0_1    defaults
    win_inet_pton             1.1.0            py38haa95532_0    defaults
    wincertstore              0.2              py38haa95532_2    defaults
    winpty                    0.4.3                         4    defaults
    xz                        5.2.5                h62dcd97_0    defaults
    yaml                      0.2.5                he774522_0    defaults
    yarl                      1.5.1            py38he774522_0    defaults
    zipp                      3.6.0              pyhd3eb1b0_0    defaults
    zlib                      1.2.11               h62dcd97_4    defaults
    zstd                      1.4.9                h19a0ad4_0    defaults
    

    Additional Context

    No response

    type-bug 
    opened by jasonoberme 0
  • libsolv solver prefers arch over build number

    libsolv solver prefers arch over build number

    Checklist

    • [X] I added a descriptive title
    • [X] I searched for other issues and couldn't find a solution or duplication
    • [X] I already searched in Google and didn't find any good information or help
    • [X] I looked at the docs and didn't see anything to help

    What happened?

        def test_noarch_preferred_over_arch_when_build_greater(self, env):
            env.repo_packages += [
                helpers.record(
                    name='package1',
                    build_number=0,
                ),
                helpers.record(
                    name='package1',
                    build_number=1,
                    subdir='noarch',
                ),
            ]
            records = env.install('package1', container='original')
            assert len(records) == 1
            assert records[0].subdir == 'noarch'
    
    
    Traceback (most recent call last):
      File "/home/anubis/git/conda/tests/test_solvers.py", line 1130, in test_noarch_preferred_over_arch_when_build_greater
        assert records[0].subdir == 'noarch'
    AssertionError: assert 'linux-64' == 'noarch'
      - noarch
      + linux-64
    

    It seems like the libsolv solver is picking package1-1.0-0 over package1-1.0-1 because -0 has the linux-64 subdir. The legacy solver prefers -1 regardless of the arch, and has a test to make sure of this behavior.

    cc @jaimergp

    Conda info

    No response

    Conda config

    No response

    Conda list

    No response

    Additional Context

    No response

    type-bug tag-solver tag-solver_behavior tag-solver-libsolv 
    opened by FFY00 0
  • Build Docker image for Linux with Python 3.10.

    Build Docker image for Linux with Python 3.10.

    Just the Docker image part of #10992 so we can use the image in the PR.

    cla-signed 
    opened by jezdez 1
  • Add Python 3.10 as a test target.

    Add Python 3.10 as a test target.

    Fix #10991.

    NOTE: This builds on #10993 which should be merged first.

    cla-signed 
    opened by jezdez 0
  • Run tests on Python 3.10

    Run tests on Python 3.10

    Checklist

    • [X] I added a descriptive title
    • [X] I searched for other feature requests and couldn't find a duplicate (including also the type-feature tag)
    • [X] I confirmed that it's not related to another project (see the above section)

    What is the idea?

    Now that Python 3.10 is out we should be testing Conda regularly on it.

    Why is this needed

    No response

    What should happen?

    No response

    Additional Context

    No response

    type-feature source-community s-1 
    opened by jezdez 0
  • Add macOS as a platform to the CI system

    Add macOS as a platform to the CI system

    Checklist

    • [X] I added a descriptive title
    • [X] I searched for other feature requests and couldn't find a duplicate (including also the type-feature tag)
    • [X] I confirmed that it's not related to another project (see the above section)

    What is the idea?

    We need to run the tests regularly on macOS.

    Why is this needed

    No response

    What should happen?

    No response

    Additional Context

    No response

    type-feature s-1 
    opened by jezdez 0
  • conda install (`conda install ipykernel`) takes first decimal place of python version alone.

    conda install (`conda install ipykernel`) takes first decimal place of python version alone.

    Checklist

    • [X] I added a descriptive title
    • [X] I searched for other issues and couldn't find a solution or duplication
    • [X] I already searched in Google and didn't find any good information or help
    • [X] I looked at the docs and didn't see anything to help

    What happened?

    _When doing a conda install, for example conda install ipykernel, the installer takes in the first decimal place of python version alone.

    For example the following command works well with python 3.9 conda install ipykernel

    But doesnt work with python 3.10 It just considers this as python 3.1 dependency and returns error._

    `Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve.

    PackagesNotFoundError: The following packages are not available from current channels:

    • python=3.1

    Current channels:

    • https://repo.anaconda.com/pkgs/main/win-64
    • https://repo.anaconda.com/pkgs/main/noarch
    • https://repo.anaconda.com/pkgs/r/win-64
    • https://repo.anaconda.com/pkgs/r/noarch
    • https://repo.anaconda.com/pkgs/msys2/win-64
    • https://repo.anaconda.com/pkgs/msys2/noarch

    To search for alternate channels that may provide the conda package you're looking for, navigate to

    https://anaconda.org
    

    and use the search bar at the top of the page.`

    Its a serious bug.

    Conda info

    active environment : merlion-env
        active env location : C:\Users\skand\.conda\envs\merlion-env
                shell level : 1
           user config file : C:\Users\skand\.condarc
     populated config files : C:\Users\skand\.condarc
              conda version : 4.9.2
        conda-build version : 3.20.5
             python version : 3.8.5.final.0
           virtual packages : __cuda=11.1=0
                              __win=0=0
                              __archspec=1=x86_64
           base environment : C:\ProgramData\Anaconda3  (read only)
               channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                              https://repo.anaconda.com/pkgs/main/noarch
                              https://repo.anaconda.com/pkgs/r/win-64
                              https://repo.anaconda.com/pkgs/r/noarch
                              https://repo.anaconda.com/pkgs/msys2/win-64
                              https://repo.anaconda.com/pkgs/msys2/noarch
              package cache : C:\ProgramData\Anaconda3\pkgs
                              C:\Users\skand\.conda\pkgs
                              C:\Users\skand\AppData\Local\conda\conda\pkgs
           envs directories : C:\Users\skand\.conda\envs
                              C:\ProgramData\Anaconda3\envs
                              C:\Users\skand\AppData\Local\conda\conda\envs
                   platform : win-64
                 user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Windows/10 Windows/10.0.19041
              administrator : False
                 netrc file : None
               offline mode : False
    

    Conda config

    ==> C:\Users\skand\.condarc <==
    ssl_verify: True
    channels:
      - defaults
    

    Conda list

    # packages in environment at C:\Users\skand\.conda\envs\merlion-env:
    #
    # Name                    Version                   Build  Channel
    backcall                  0.2.0              pyhd3eb1b0_0    defaults
    ca-certificates           2021.9.30            haa95532_1    defaults
    certifi                   2021.10.8        py38haa95532_0    defaults
    colorama                  0.4.4              pyhd3eb1b0_0    defaults
    debugpy                   1.4.1            py38hd77b12b_0    defaults
    decorator                 5.1.0              pyhd3eb1b0_0    defaults
    entrypoints               0.3                      py38_0    defaults
    ipykernel                 6.4.1            py38haa95532_1    defaults
    ipython                   7.27.0           py38hd4e2768_0    defaults
    ipython_genutils          0.2.0              pyhd3eb1b0_1    defaults
    jedi                      0.18.0           py38haa95532_1    defaults
    jupyter_client            7.0.1              pyhd3eb1b0_0    defaults
    jupyter_core              4.8.1            py38haa95532_0    defaults
    matplotlib-inline         0.1.2              pyhd3eb1b0_2    defaults
    nest-asyncio              1.5.1              pyhd3eb1b0_0    defaults
    openssl                   1.1.1l               h2bbff1b_0    defaults
    parso                     0.8.2              pyhd3eb1b0_0    defaults
    pickleshare               0.7.5           pyhd3eb1b0_1003    defaults
    pip                       21.0.1           py38haa95532_0    defaults
    prompt-toolkit            3.0.20             pyhd3eb1b0_0    defaults
    pygments                  2.10.0             pyhd3eb1b0_0    defaults
    python                    3.8.12               h6244533_0    defaults
    python-dateutil           2.8.2              pyhd3eb1b0_0    defaults
    pywin32                   228              py38hbaba5e8_1    defaults
    pyzmq                     22.2.1           py38hd77b12b_1    defaults
    setuptools                58.0.4           py38haa95532_0    defaults
    six                       1.16.0             pyhd3eb1b0_0    defaults
    sqlite                    3.36.0               h2bbff1b_0    defaults
    tornado                   6.1              py38h2bbff1b_0    defaults
    traitlets                 5.1.0              pyhd3eb1b0_0    defaults
    vc                        14.2                 h21ff451_1    defaults
    vs2015_runtime            14.27.29016          h5e58377_2    defaults
    wcwidth                   0.2.5              pyhd3eb1b0_0    defaults
    wheel                     0.37.0             pyhd3eb1b0_1    defaults
    wincertstore              0.2              py38haa95532_2    defaults
    

    Additional Context

    No response

    type-bug source-community s-1 
    opened by Skandagn 2
Releases(4.10.3)
  • 4.10.3(Jun 30, 2021)

    Bug fixes

    • Revert "Don't create an unused S3 client at import time (#10516)" in 4.10.2 that introduced a regression for users of S3-based channels. (#10756)
    Source code(tar.gz)
    Source code(zip)
  • 4.10.2(Jun 28, 2021)

    Enhancements

    • Add --dry-run option to conda env create (#10635)
    • Print warning about pip-installed dependencies only once (#10638)
    • Explicit install now respects --download-only flag (#10688)
    • Bump vendored tqdm version (#10721)

    Bug fixes

    • Fix changeps1 handling for PowerShell (#10624)
    • Handle unbound $PS1 so sh activation does not fail with set -u (#10701)
    • Fix sh activation so $PATH is properly restored on errors (#10631)
    • Fix -c option handling so defaults channel is not always re-added (#10735)
    • Fix artifact verification-related warnings and errors (#10627, #10677)
    • Fix log level used in conda/core/prefix_data.py (#9998)
    • Fix log level used when fetching artifact verification metadata (#10621)
    • Don't create an unused S3 client at import time (#10516)
    • Don't load binstar_client until needed (#10692)
    • Reflect dropping of older Python versions in setup.py (#10642)

    Docs

    • Merge release notes and changelog to reduce maintenance burden (#10745)
    • Add mentions to PyPy, Anaconda terms of service (#10329, #10712)
    • Update Python versions in examples (#10329, #10744)
    • Update install macOS instructions (#10728)

    Contributors

    • @AlbertDeFusco
    • @awwad
    • @casperdcl
    • @cgranade
    • @chenghlee
    • @ColemanTom
    • @dan-hook
    • @dbast
    • @ericpre
    • @HedgehogCode
    • @jamesp
    • @jezdez
    • @johnhany97
    • @lightmare
    • @mattip
    • @maxerbubba
    • @mrakitin
    • @stinos
    • @thermokarst
    Source code(tar.gz)
    Source code(zip)
  • 4.10.1(Apr 15, 2021)

    4.10.1 (2021-04-12)

    Bug fixes

    • Fix version detection for __linux virtual package (#10599)
    • Fix import from conda_content_trust (#10589)
    • Fix how URL for verification metadata files are constructed (#10617)
    • Partially fix profile $PATH setup on MSYS2 (#10459)
    • Remove .empty directory even when rsync is not installed (#10331)

    Contributors

    • @awwad
    • @chenghlee
    • @codepage949
    • @niklasholm
    Source code(tar.gz)
    Source code(zip)
  • 4.10.0(Apr 9, 2021)

    4.10.0 (2021-03-30)

    NOTE: This release formally drops support for Python 2.7 and Python < 3.6.

    Enhancements

    • Add pilot support for metadata signatures and verification (#10578)
    • Add __linux virtual package (#10552, #10561)
    • Support nested keys when using conda config --get (#10447, #10572)
    • Support installing default packages when using conda env create (#10530)
    • Support HTTP sources for conda env update -f (#10536)
    • Make macOS code signing operations less verbose (#10372)

    Bug fixes

    • Fix conda search crashing on Python 3.9 (#10542)
    • Allow {channel}::pip to satisfy pip requirements (#10550)
    • Support {host}:{port} specifications in environment YAML files (#10417)
    • Fall back to system .condarc if user .condarc is absent (#10479)
    • Try UTF-16 if UTF-8 fails when reading environment YAML files (#10356)
    • Properly parse Python version >= 3.10 (#10478)
    • Fix zsh initialization when $ZDOTDIR is defined (#10413)
    • Fix path handling for csh (#10410)
    • Fix setup.py requirement for vendored ruamel_yaml_conda (#10441)
    • Fix errors when pickling vendored auxlib objects (#10386)

    Docs

    • Document the __unix and __windows virtual packages (#10511)
    • Update list of supported and default versions of Python (#10531)
    • Favor using pip instead of setup.py when setting up CI (#10308)

    Miscellaneous

    • CI: drop Python 2.7 and add Python 3.9 (#10548)

    Contributors

    • @awwad
    • @BastianZim
    • @beenje
    • @bgobbi
    • @blubs
    • @chenghlee
    • @cjmartian
    • @ericpre
    • @erykoff
    • @felker
    • @giladmaya
    • @jamesmyatt
    • @mingwandroid
    • @opoplawski
    • @saadparwaiz1
    • @saucoide
    Source code(tar.gz)
    Source code(zip)
  • 4.9.2(Nov 12, 2020)

    4.9.2 (2020-11-10)

    Enhancements

    • Use vendored tqdm in conda.resolve for better consistency (#10337)

    Bug fixes

    • Revert to previous naming scheme for repodata cache files when use_only_tar_bz2 config option is false (#10350)

    Docs

    • Fix missing release notes (#10342)
    • Fix permission errors when configuring deb repositories (#10347)

    Contributors

    • @chenghlee
    • @csoja
    • @dylanmorroll
    • @sscherfke
    Source code(tar.gz)
    Source code(zip)
  • 4.9.1(Oct 27, 2020)

    4.9.1 (2020-10-26)

    Enhancements

    • Respect PEP 440 ~= "compatible release" clause (#10313)

    Bug fixes

    • Remove preload_openssl for Win32 (#10298)
    • Add if exist to Windows registry hook (#10305)

    Contributors

    • @mingwandroid
    Source code(tar.gz)
    Source code(zip)
  • 4.9.0(Oct 19, 2020)

    4.9.0 (2020-10-19)

    Enhancements:

    • Add osx-arm64 as a recognized platform (#10128, #10134, #10137)
    • Resign files modified during installation on ARM64 macOS (#10260)
    • Add __archspec virtual package to identify CPU microarchitecture (#9930)
    • Add __unix and __win virtual packages (#10214)
    • Add --no-capture--output option to conda run (#9646)
    • Add --live-stream option to conda run (#10270)
    • Export and import environment variables set using conda env config (#10169)
    • Cache repodata from file:// channels (#9730)
    • Do not relink already-installed packages (#10208)
    • Speed up JSON formatting in logz module (#10189)

    Bug fixes:

    • Stop env remove --dry-run from actually removing environments (#10261)
    • Virtual package requirements are now considered by the solver (#10057)
    • Fix cached filename processing when using only tar.bz2 (#10193)
    • Stop showing solver hints about CUDA when it is not a dependency (#10275)
    • Ignore virtual packages when checking environment consistency (#10196)
    • Fix config --json output errors in certain circumstances (#10194)
    • More consistent error handling by conda shell (#10238)
    • Bump vendored version of tqdm to fix various threading and I/O bugs (#10266)

    Docs:

    • Correctly state default /AddToPath option in Windows installer (#10179)
    • Fix typos in --repodata-fn help text (#10279)

    Miscellaneous:

    • Update CI infrastructure to use GitHub Actions (#10176, #10186, #10234)
    • Update README badge to show GitHub Actions status (#10254)

    Contributors

    • @AlbertDeFusco
    • @angloyna
    • @bbodenmiller
    • @casperdcl
    • @chenghlee
    • @chrisburr
    • @cjmartian
    • @dhirschfeld
    • @ericpre
    • @gabrielcnr
    • @InfiniteChai
    • @isuruf
    • @jjhelmus
    • @LorcanHamill
    • @maresb
    • @mingwandroid
    • @mlline00
    • @xhochy
    • @ydmytryk
    Source code(tar.gz)
    Source code(zip)
  • 4.8.5(Oct 5, 2020)

  • 4.8.4(Aug 12, 2020)

    4.8.4 (2020-08-06)

    Enhancements:

    • Add linux-ppc64 as a recognized platform (#9797, #9877)
    • Add linux-s390x as a recognized platform (#9933, #10051)
    • Add spinner to pip installer (#10032)
    • Add support for running conda in PyPy (#9764)
    • Support creating conda environments using remote specification files (#9835)
    • Allow request retries on various HTTP errors (#9919)
    • Add compare command for environments against a specification file (#10022)
    • Add (preliminary) support for JSON-format activation (#8727)
    • Properly handle the CURL_CA_BUNDLE environment variable (#10078)
    • More uniformly handle $CONDA_PREFIX when exporting environments (#10092)
    • Enable trailing _ to anchor OpenSSL-like versions (#9859)
    • Replace listdir and glob with scandir (#9889)
    • Ignore virtual packages when searching for constrained packages (#10117)
    • Add virtual packages to be considered in the solver (#10057)

    Bug fixes:

    • Prevent remove --all from deleting non-environment directories (#10086)
    • Prevent create --dry-run --yes from deleting existing environments (#10090)
    • Remove extra newline from environment export file (#9649)
    • Print help on incomplete conda env config command rather than crashing (#9660)
    • Correctly set exit code/errorlevel when conda run exits (#9665)
    • Send "inconsistent environment" warnings to stderr to avoid breaking JSON output (#9738)
    • Fix output formatting from post-link scripts (#9841)
    • Fix URL parsing for channel subdirs (#9844)
    • Fix conda env export -f sometimes producing empty output files (#9909)
    • Fix handling of Python releases with two-digit minor versions (#9999)
    • Do not use gid to determine if user is an admin on *nix platforms (#10002)
    • Suppress spurious xonsh activation warnings (#10005)
    • Fix crash when running conda update --all on a nonexistent environment (#10028)
    • Fix collections import for Python 3.8 (#10093)
    • Fix regex-related deprecation warnings (#10093, #10096)
    • Fix logic error when running under Python 2.7 on 64-bit platforms (#10108)
    • Fix Python 3.8 leaked semaphore issue (#10115)

    Docs:

    • Fix formatting and typos (#9623, #9689, #9898, #10042)
    • Correct location for yum repository configuration files (#9988)
    • Clarify usage for the --channel option (#10054)
    • Clarify Python is not installed by default into new environments (#10089)

    Miscellaneous:

    • Fixes to tests and CI pipelines (#9842, #9863, #9938, #9960, #10010)
    • Remove conda-forge dependencies for developing conda (#9857, #9871)
    • Audit YAML usage for safe_load vs round_trip_load (#9902)

    Contributors:

    • @alanhdu
    • @angloyna
    • @Anthchirp
    • @Arrowbox
    • @bbodenmiller
    • @beenje
    • @bernardoduarte
    • @birdsarah
    • @bnemanich
    • @chenghlee
    • @ChihweiLHBird
    • @cjmartian
    • @ericpre
    • @error404-beep
    • @esc
    • @hartb
    • @hugobuddel
    • @isuruf
    • @jjhelmus
    • @kalefranz
    • @mingwandroid
    • @mlline00
    • @mparry
    • @mrocklin
    • @necaris
    • @pdnm
    • @pradghos
    • @ravigumm
    • @Reissner
    • @scopatz
    • @sidhant007
    • @songmeixu
    • @speleo3
    • @tomsaleeba
    • @WinstonPais
    Source code(tar.gz)
    Source code(zip)
  • 4.8.3(Mar 13, 2020)

    4.8.3 (2020-03-13)

    Docs:

    • Add release notes for 4.8.2 to docs (#9632)
    • Fix typos in docs (#9637, #9643)
    • Grammatical and formatting changes (#9647)

    Bug fixes:

    • Account for channel is specs (#9748)

    Contributors:

    • @bernardoduarte
    • @forrestwaters
    • @jjhelmus
    • @msarahan
    • @rrigdon
    • @timgates42
    Source code(tar.gz)
    Source code(zip)
  • 4.8.2(Jan 24, 2020)

    4.8.2 (2020-01-24)

    Enhancements:

    • Solver messaging improvements (#9560)

    Docs:

    • Added precedence and conflict info (#9565)
    • Added how to set env variables with config API (#9536)
    • Updated user guide, deleted Overview, minor clean up (#9581)
    • Add code of conduct (#9601, #9602, #9603, #9603, #9604 #9605)

    Bug fixes:

    • change fish prompt only if changeps1 is true (#7000)
    • make frozendict JSON serializable (#9539)
    • Conda env create empyt dir (#9543)

    Contributors:

    • @msarahan
    • @jjhelmus
    • @rrigdon
    • @soapy1
    • @teake
    • @csoja
    • @kfranz
    Source code(tar.gz)
    Source code(zip)
  • 4.8.1(Dec 19, 2019)

    4.8.1 (2019-12-19)

    Enhancements:

    • improve performance for conda run by avoiding Popen.communicate (#9381)
    • Put conda keyring in /usr/share/keyrings on Debian (#9424)
    • refactor common.logic to fix some bugs and prepare for better modularity (#9427)
    • Support nested configuration (#9449)
    • Support Object configuration parameters (#9465)
    • Use freeze_installed to speed up conda env update (#9511)
    • add networking args to conda env create (#9525)

    Docs:

    • fix string concatenation running words together regarding CONDA_EXE (#9411)
    • Fix typo ("list" -> "info") (#9433)
    • improve description of DLL loading verification and activating environments (#9453)
    • Installing with specific build number (#9534)
    • typo in condarc key envs_dirs (#9478)
    • Clarify channel priority and package sorting (#9492)

    Bug fixes:

    • Fix calling python api run_command with list and string arguments (#9331)
    • set tmp to shortened path that excludes spaces (#9409)
    • Add subdir to PackageRecord dist_str (#9418)
    • revert init bash completion (#9421)
    • avoid function redefinition upon resourcing conda.fish (#9444)
    • propagate pip error level when creating envs with conda env (#9460)
    • fix incorrect chown call (#9464)
    • Don't check in pkgs for trash (#9472)
    • Fix running conda activate in multiple processes on windows (#9477)
    • remove setuptools from run_constrained in recipe (#9485)
    • Fix __conda_activate function to correctly return exit code (#9532)
    • fix overly greedy capture done by subprocess for conda run (#9537)

    Contributors:

    • @AntoinePrv
    • @brettcannon
    • @bwildenhain
    • @cjmartian
    • @felker
    • @forrestwaters
    • @gilescope
    • @isuruf
    • @jeremyjliu
    • @jjhelmus
    • @jhultman
    • @marcuscaisey
    • @mbargull
    • @mingwandroid
    • @msarahan
    • @okhoma
    • @osamoylenko
    • @rrigdon
    • @rulerofthehuns
    • @soapy1
    • @tartansandal
    Source code(tar.gz)
    Source code(zip)
  • 4.8.0(Dec 10, 2019)

  • 4.8.0rc0(Nov 4, 2019)

    4.8.0rc0 (2019-11-04)

    Enhancements:

    • retry downloads if they fail, controlled by remote_max_retries and remote_backoff_factor configuration values (#9318)
    • redact authentication information in some URLs (#9341)
    • add osx version virtual package , __osx (#9349)
    • add glibc virtual package, __glibc (#9358)

    Docs

    • removeed references to MD5s from docs (#9247)
    • Add docs on CONDA_DLL_SEARCH_MODIFICATION_ENABLED (#9286)
    • document threads, spec history and configuration (#9327)
    • more documentation on channels (#9335)
    • document the .condarc search order (#9369)
    • various minor documentation fixes (#9238, #9248, #9267, #9334, #9351, #9372, #9378, #9388, #9391, #9393)

    Bug fixes

    • fix issues with xonsh activation on Windows (#8246)
    • remove unsupported --lock argument from conda clean (#8310)
    • do not add sys_prefix_path to failed activation or deactivation (#9282)
    • fix csh setenv command (#9284)
    • do not memorize PackageRecord.combined_depends (#9289)
    • use CONDA_INTERNAL_OLDPATH rather than OLDPATH in activation script (#9303)
    • fixes xonsh activation and tab completion (#9305)
    • fix what channels are queried when context.offline is True (#9385)

    Contributors

    • @analog-cbarber
    • @andreasg123
    • @beckermr
    • @bryant1410
    • @colinbrislawn
    • @felker
    • @forrestwaters
    • @gabrielcnr
    • @isuruf
    • @jakirkham
    • @jeremyjliu
    • @jjhelmus
    • @jooh
    • @jpigla
    • @marcelotrevisani
    • @melund
    • @mfansler
    • @mingwandroid
    • @msarahan
    • @rrigdon
    • @scopatz
    • @soapy1
    • @WillyChen123
    • @xhochy
    Source code(tar.gz)
    Source code(zip)
  • 4.7.12(Sep 12, 2019)

    4.7.12 (2019-09-12)

    Enhancements:

    • add support for env file creation based on explicit specs in history (#9093)
    • detect prefix paths when -p nor -n not given (#9135)
    • Add config parameter to disable conflict finding (for faster time to errors) (#9190)

    Bug fixes

    • fix race condition with creation of repodata cache dir (#9073)
    • fix ProxyError expected arguments (#9123)
    • makedirs to initialize .conda folder when registering env - fixes permission errors with .conda folders not existing when package cache gets created (#9215)
    • fix list duplicates errors in reading repodata/prefix data (#9132)
    • fix neutered specs not being recorded in history, leading to unsatisfiable environments later (#9147)
    • Standardize "conda env list" behavior between platforms (#9166)
    • add JSON output to conda env create/update (#9204)
    • speed up finding conflicting specs (speed regression in 4.7.11) (#9218)

    Contributors

    • @beenje
    • @Bezier89
    • @cjmartian
    • @forrestwaters
    • @jjhelmus
    • @martin-raden
    • @msarahan
    • @nganani
    • @rrigdon
    • @soapy1
    • @WesRoach
    • @zheaton
    Source code(tar.gz)
    Source code(zip)
  • 4.7.11(Aug 6, 2019)

    4.7.11 (2019-08-06)

    Enhancements

    • add config for control of number of threads. These can be set in condarc or using environment variables. Names/default values are: default_threads/None, repodata_threads/None, verify_threads/1, execute_threads/1 (#9044)

    Bug fixes

    • fix repodata_fns from condarc not being respected (#8998)
    • Fix handling of UpdateModifiers other than FREEZE_INSTALLED (#8999)
    • Improve conflict finding graph traversal (#9006)
    • Fix setuptools being removed due to conda run_constrains (#9014)
    • Avoid calling find_conflicts until all retries are spent (#9015)
    • refactor _conda_activate.bat in hopes of improving behavior in parallel environments (#9021)
    • Add support for local version specs in PYPI installed packages (#9025)
    • fix boto3 initialization race condition (#9037)
    • Fix return condition in package_cache_data (#9039)
    • utilize libarchive_enabled attribute provided by conda-package-handling to fall back to .tar.bz2 files only. (#9041, #9053)
    • Fix menu creation on windows having race condition, leading to popups about python.exe not being found (#9044)
    • Improve list error when egg-link leads to extra egg-infos (#9045)
    • Fix incorrect RemoveError when operating on an env that has one of conda's deps, but is not the env in which the current conda in use resides (#9054)

    Docs

    • Document new package format better
    • Document conda init command
    • Document availability of RSS feed for CDN-backed channels that clone

    Contributors

    • @Bezier89
    • @forrestwaters
    • @hajapy
    • @ihnorton
    • @matthewwardrop
    • @msarahan
    • @rogererens
    • @rrigdon
    • @soapy1
    Source code(tar.gz)
    Source code(zip)
  • 4.7.10(Jul 19, 2019)

  • 4.7.9(Jul 18, 2019)

    Bug fixes

    • fix Non records in comprehension
    • fix potential keyerror in depth-first search
    • fix PackageNotFound attribute error

    Contributors:

    • @jjhelmus
    • @msarahan
    Source code(tar.gz)
    Source code(zip)
  • 4.7.8(Jul 17, 2019)

    4.7.8 (2019-07-17)

    Improvements

    • improve unsatisfiable messages - try to group and explain output better. Remove lots of extraneous stuff that was showing up in 4.7.7 (#8910)
    • preload openssl on windows to avoid library conflicts and missing library issues (#8949)

    Bug fixes

    • fix handling of channels where more than one channel contains packages with similar name, subdir, version and build_number. This was causing mysterious unsatisfiable errors for some users. (#8938)
    • reverse logic check in checking channel equality, because == is not reciprocal to != with py27 (no __ne__) (#8938)
    • fix an infinite loop or otherwise large process with building the unsatisfiable info. Improve the depth-first search implementation. (#8941)
    • streamline fallback paths to unfrozen solve in case frozen fails. (#8942)
    • Environment activation output only shows conda activate envname now, instead of sometimes showing just activate. (#8947)

    Contributors:

    • @forrestwaters
    • @jjhelmus
    • @katietz
    • @msarahan
    • @rrigdon
    • @soapy1
    Source code(tar.gz)
    Source code(zip)
  • 4.7.7(Jul 13, 2019)

    4.7.7 (2019-07-12)

    Improvements

    • When an update command doesn't do anything because installed software conflicts with the update, information about the conflict is shown, rather than just saying "all requests are already satisfied" (#8899)

    Bug fixes

    • fix missing package_type attr in finding virtual packages (#8917)
    • fix parallel operations of loading index to preserve channel ordering (#8921, #8922)
    • filter PrefixRecords out from PackageRecords when making a graph to show unsatisfiable deps. Fixes comparison error between mismatched types. (#8924)
    • install entry points before running post-link scripts, because post link scripts may depend on entry points. (#8925)

    Contributors

    • @jjhelmus
    • @msarahan
    • @rrigdon
    • @soapy1
    Source code(tar.gz)
    Source code(zip)
  • 4.7.6(Jul 11, 2019)

    4.7.6 (2019-07-11)

    Improvements

    • Improve cuda virtual package conflict messages to show the __cuda virtual package as part of the conflict (#8834)
    • add additional debugging info to Resolve.solve (#8895)

    Bug fixes

    • deduplicate error messages being shown for post-link scripts. Show captured stdout/stderr on failure (#8833)
    • fix the checkout step in the Windows dev env setup instructions (#8827)
    • bail out early when implicit python pinning renders an explicit spec unsatisfiable (#8834)
    • handle edge cases in pinned specs better (#8843)
    • extract package again if url is None (#8868)
    • update docs regarding indexing and subdirs (#8874)
    • remove warning about conda-build needing an update that was bothering people (#8884)
    • only add repodata fn into cache key when fn is not repodata.json (#8900)
    • allow conda to be downgraded with an explicit spec (#8892)
    • add target to specs from historic specs (#8901)
    • improve message when solving with a repodata file before repodata.json fails (#8907)
    • fix distutils usage for "which" functionality. Fix inability to change python version in envs with noarch packages (#8909)
    • fix anaconda metapackage being removed because history matching was too restrictive (#8911)
    • make freezing less aggressive; add fallback to non-frozen solve (#8912)

    Contributors

    • @forrestwaters
    • @jjhelmus
    • @mcopes73
    • @msarahan
    • @richardjgowers
    • @rrigdon
    • @soapy1
    • @twinssbc
    Source code(tar.gz)
    Source code(zip)
  • 4.7.5(Jun 24, 2019)

    4.7.5 (2019-06-24)

    Improvements

    • improve wording in informational message when a particular *_repodata.json can't be found. No need for alarm. (#8808)

    Bug fixes

    • restore tests being run on win-32 appveyor (#8801)
    • fix Dist class handling of .conda files (#8816)
    • fix strict channel priority handling when a package is unsatisfiable and thus not present in the collection (#8819)
    • handle JSONDecodeError better when package is corrupted at extract time (#8820)

    Contributors

    • @dhirschfeld
    • @msarahan
    • @rrigdon
    Source code(tar.gz)
    Source code(zip)
  • 4.7.4(Jun 19, 2019)

    4.7.4 (2019-06-19)

    Improvements

    • Revert to and improve the unsatisfiability determination from 4.7.2 that was reverted in 4.7.3. It's faster. (#8783)

    Bug fixes

    • fix tcsh/csh init scripts (#8792)

    Docs improvements

    • clean up docs of run_command
    • fix broken links
    • update docs environment.yaml file to update conda-package-handling
    • conda logo favicon
    • update strict channel priority info
    • noarch package content ported from conda-forge
    • add info about conda-forge
    • remove references to things as they were before conda 4.1. That was a long time ago. This is not a history book.

    Contributors

    • @jjhelmus
    • @msarahan
    • @rrigdon
    • @soapy1
    Source code(tar.gz)
    Source code(zip)
  • 4.7.3(Jun 14, 2019)

    4.7.3 (2019-06-14)

    Bug fixes

    • target prefix overrid applies to entry points in addition to replacements in standard files (#8769)
    • Revert to solver-based unsatisfiability determination (#8775)
    • fix renaming of existing prompt function in powershell (#8774)

    Contributors:

    • @jjhelmus
    • @msarahan
    • @rrigdon
    • @ScottEvtuch
    Source code(tar.gz)
    Source code(zip)
  • 4.7.2(Jun 11, 2019)

    4.7.2 (2019-06-10)

    Behavior changes

    • unsatisfiability is determined in a slightly different way now. It no longer uses the SAT solver, but rather determines whether any specs have no candidates at all after running through get_reduced_index. This has been faster in benchmarks, but we welcome further data from your use cases about whether this was a good change. (#8741)
    • when using the --only-deps flag for the install command, conda now explicitly records those specs in your history. This primarily serves to reduce conda accidentally removing packages that you have actually requested. (#8766)

    Improvements

    • UnsatisfiableError messages are now grouped into categories and explained a bit better. (#8741)
    • --repodata-fn argument can be passed multiple times to have more fallback paths. repodata_fns conda config setting does the same thing, but saves you from needing to do it for every command invocation. (#8741)

    Bug fixes

    • fix channel flip-flopping that was happening when adding a channel other than earlier ones (#8741)
    • refactor flow control for multiple repodata files to not use exceptions (#8741)
    • force conda to use only old .tar.bz2 files if conda-build <3.18.3 is installed. Conda-build breaks when inspecting file contents, and this is fixed in conda-build 3.18.3 (#8741)
    • use --force when using rsync to improve behavior with folders that may exist in the destination somehow. (#8750)
    • handle EPERM errors when renaming, because MacOS lets you remove or create files, but not rename them. Thanks Apple. (#8755)
    • fix conda removing packages installed via install with --only-deps flag when either update or remove commands are run. See behavior changes above. (#8766)

    Contributors

    • @csosborn
    • @jjhelmus
    • @katietz
    • @msarahan
    • @rrigdon
    Source code(tar.gz)
    Source code(zip)
  • 4.7.1(May 31, 2019)

    4.7.1 (2019-05-30)

    Improvements

    • Base initial solver specs map on explicitly requested specs (new and historic) (#8689)
    • Improve anonymization of automatic error reporting (#8715)
    • Add option to keep using .tar.bz2 files, in case new .conda isn't working for whatever reason (#8723)

    Bug fixes

    • fix parsing hyphenated PyPI specs (change hyphens in versions to .) (#8688)
    • fix PrefixRecord creation when file inputs are .conda files (#8689)
    • fix PrefixRecord creation for pip-installed packages (#8689)
    • fix progress bar stopping at 75% (no extract progress with new libarchive) (#8689)
    • preserve pre-4.7 download() interface in conda.exports (#8698)
    • virtual packages (such as cuda) are represented by leading double underscores by convention, to avoid confusion with existing single underscore packages that serve other purposes (#8738)

    Deprecations/Breaking Changes

    • The --prune flag no longer does anything. Pruning is implicitly the standard behavior now as a result of the initial solver specs coming from explicitly requested specs. Conda will remove packages that are not explicitly requested and are not required directly or indirectly by any explicitly installed package.

    Docs improvements

    • Document removal of the free channel from defaults (#8682)
    • Add reference to conda config --describe (#8712)
    • Add a tutorial for .condarc modification (#8737)

    Contributors

    • @alexhall
    • @cjmartian
    • @kalefranz
    • @martinkou
    • @msarahan
    • @rrigdon
    • @soapy1
    Source code(tar.gz)
    Source code(zip)
  • 4.7.0(May 17, 2019)

    4.7.0 (2019-05-17)

    Improvements

    • Implement support for "virtual" CUDA packages, to make conda consider the system-installed CUDA driver and act accordingly (#8267)
    • Support and prefer new .conda file format where available (#8265, #8639)
    • Use comma-separated env names in prompt when stacking envs (#8431)
    • show valid choices in error messages for enums (#8602)
    • freeze already-installed packages when running conda install as a first attempt, to speed up the solve in existing envs. Fall back to full solve as necessary (#8260, #8626)
    • add optimization criterion to prefer arch over noarch packages when otherwise equivalent (#8267)
    • Remove free channel from defaults collection. Add restore_free_channel config parameter if you want to keep it. (#8579)
    • Improve unsatisfiable hints (#8638)
    • Add capability to use custom repodata filename, for smaller subsets of repodata (#8670)
    • Parallelize SubdirData readup (#8670)
    • Parallelize transacation verification and execution (#8670)

    Bug fixes

    • Fix PATH handling with deactivate.d scripts (#8464)
    • Fix usage of deprecated collections ABCs (#)
    • fix tcsh/csh initialization block (#8591)
    • fix missing CWD display in powershell prompt (#8596)
    • wrap_subprocess_call: fallback to sh if no bash (#8611)
    • move TemporaryDirectory to avoid importing from conda.compat (#8671)
    • fix missing conda-package-handling dependency in dev/start (#8624)
    • fix path_to_url string index out of range error (#8265)
    • fix conda init for xonsh (#8644)
    • fix fish activation (#8645)
    • improve error handling for read-only filesystems (#8665, #8674)
    • break out of minimization when bisection has nowhere to go (#8672)
    • Handle None values for link channel name gracefully (#8680)

    Contributors

    • @chrisburr
    • @EternalPhane
    • @jjhelmus
    • @kalefranz
    • @mbargull
    • @msarahan
    • @rrigdon
    • @scopatz
    • @seibert
    • @soapy1
    • @nehaljwani
    • @nh3
    • @teake
    • @yuvalreches
    Source code(tar.gz)
    Source code(zip)
  • 4.6.14(Apr 17, 2019)

    4.6.14 (2019-04-17)

    Bug fixes

    • export extra function in powershell Conda.psm1 script (fixes anaconda powershell prompt) (#8570)

    Contributors

    • @msarahan
    Source code(tar.gz)
    Source code(zip)
  • 4.6.13(Apr 17, 2019)

    4.6.13 (2019-04-16)

    Bug fixes

    • disable test_legacy_repodata on win-32 (missing dependencies) (#8540)
    • Fix activation problems on windows with bash, powershell, and batch. Improve tests. (#8550, #8564)
    • pass -U flag to for pip dependencies in conda env when running "conda env update" (#8542)
    • rename conda.common.os to conda.common._os to avoid shadowing os built-in (#8548)
    • raise exception when pip subprocess fails with conda env (#8562)
    • fix installing recursive requirements.txt files in conda env specs with python 2.7 (#8562)
    • Don't modify powershell prompt when "changeps1" setting in condarc is False (#8465)

    Contributors

    • @dennispg
    • @jjhelmus
    • @jpgill86
    • @mingwandroid
    • @msarahan
    • @noahp
    Source code(tar.gz)
    Source code(zip)
  • 4.6.12(Apr 10, 2019)

    4.6.12 (2019-04-10)

    Bug fixes

    • Fix compat import warning (#8507)
    • Adjust collections import to avoid deprecation warning (#8499)
    • Fix bug in CLI tests (#8468)
    • Disallow the number sign in environment names (#8521)
    • Workaround issues with noarch on certain repositories (#8523)
    • Fix activation on Windows when spaces are in path (#8503)
    • Fix conda init profile modification for powershell (#8531)
    • Point conda.bat to condabin (#8517)
    • Fix various bugs in activation (#8520, #8528)

    Docs improvements

    • Fix links in README (#8482)
    • Changelogs for 4.6.10 and 4.6.11 (#8502)

    Contributors

    @Bezier89 @duncanmmacleod @ivigamberdiev @javabrett @jjhelmus @katietz @mingwandroid @msarahan @nehaljwani @rrigdon

    Source code(tar.gz)
    Source code(zip)
Owner
Conda
Conda is an OS-agnostic, system-level binary package manager
Conda
OS-agnostic, system-level binary package manager and ecosystem

Conda is a cross-platform, language-agnostic binary package manager. It is the package manager used by Anaconda installations, but it may be used for

Conda 4.3k Oct 23, 2021
OS-agnostic, system-level binary package manager and ecosystem

Conda is a cross-platform, language-agnostic binary package manager. It is the package manager used by Anaconda installations, but it may be used for

Conda 4.3k Oct 16, 2021
Conan - The open-source C/C++ package manager

Conan Decentralized, open-source (MIT), C/C++ package manager. Homepage: https://conan.io/ Github: https://github.com/conan-io/conan Docs: https://doc

Conan.io 5.3k Oct 22, 2021
A Poetry plugin for dynamically extracting the package version.

Poetry Version Plugin A Poetry plugin for dynamically extracting the package version. It can read the version from a file __init__.py with: # __init__

Sebastián Ramírez 148 Oct 9, 2021
:package: :fire: Python project management. Manage packages: convert between formats, lock, install, resolve, isolate, test, build graph, show outdated, audit. Manage venvs, build package, bump version.

THE PROJECT IS ARCHIVED Forks: https://github.com/orsinium/forks DepHell -- project management for Python. Why it is better than all other tools: Form

DepHell 1.7k Oct 22, 2021
A flexible package manager that supports multiple versions, configurations, platforms, and compilers.

Spack Spack is a multi-platform package manager that builds and installs multiple versions and configurations of software. It works on Linux, macOS, a

Spack 2.3k Oct 15, 2021
Install and Run Python Applications in Isolated Environments

pipx — Install and Run Python Applications in Isolated Environments Documentation: https://pipxproject.github.io/pipx/ Source Code: https://github.com

null 4.2k Oct 22, 2021
Solaris IPS: Image Packaging System

Solaris Image Packaging System Introduction The image packaging system (IPS) is a software delivery system with interaction with a network repository

Oracle 47 Sep 17, 2021
Python Development Workflow for Humans.

Pipenv: Python Development Workflow for Humans [ ~ Dependency Scanning by PyUp.io ~ ] Pipenv is a tool that aims to bring the best of all packaging wo

Python Packaging Authority 22.4k Oct 24, 2021
A set of tools to keep your pinned Python dependencies fresh.

pip-tools = pip-compile + pip-sync A set of command line tools to help you keep your pip-based packages fresh, even when you've pinned them. You do pi

Jazzband 5.3k Oct 22, 2021
Package manager based on libdnf and libsolv. Replaces YUM.

Dandified YUM Dandified YUM (DNF) is the next upcoming major version of YUM. It does package management using RPM, libsolv and hawkey libraries. For m

null 911 Oct 17, 2021
pip-run - dynamic dependency loader for Python

pip-run provides on-demand temporary package installation for a single interpreter run. It replaces this series of commands (or their Windows equivale

Jason R. Coombs 61 Oct 2, 2021
[DEPRECATED] YUM package manager

⛔ This project is deprecated. Please use DNF, the successor of YUM. YUM Yum is an automatic updater and installer for rpm-based systems. Included prog

null 94 Aug 5, 2021
Python dependency management and packaging made easy.

Poetry: Dependency Management for Python Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right sta

Poetry 16.8k Oct 24, 2021
Python dependency management and packaging made easy.

Poetry: Dependency Management for Python Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right sta

Poetry 16.8k Oct 22, 2021
A PyPI mirror client according to PEP 381 http://www.python.org/dev/peps/pep-0381/

This is a PyPI mirror client according to PEP 381 + PEP 503 http://www.python.org/dev/peps/pep-0381/. bandersnatch >=4.0 supports Linux, MacOSX + Wind

Python Packaging Authority 263 Oct 17, 2021
A PyPI mirror client according to PEP 381 http://www.python.org/dev/peps/pep-0381/

This is a PyPI mirror client according to PEP 381 + PEP 503 http://www.python.org/dev/peps/pep-0381/. bandersnatch >=4.0 supports Linux, MacOSX + Wind

Python Packaging Authority 262 Oct 11, 2021
The Python package installer

pip - The Python Package Installer pip is the package installer for Python. You can use pip to install packages from the Python Package Index and othe

Python Packaging Authority 7.5k Oct 23, 2021
Python PyPi staging server and packaging, testing, release tool

devpi: PyPI server and packaging/testing/release tool This repository contains three packages comprising the core devpi system on the server and clien

null 500 Oct 23, 2021