Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Install conda-standalone from conda-forge instead of Anaconda channel #25

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Commits on Feb 4, 2024

  1. Install conda-standalone from conda-forge instead of Anaconda channel

    With the latest version installed from Anaconda I get this error:
    ```
    mambauser ➜ /workspaces/env (main ✗) $ /home/mambauser/.local/share/ensure-conda/conda_standalone --version
    
    # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
    
        Traceback (most recent call last):
          File "conda/exception_handler.py", line 17, in __call__
          File "conda/cli/main.py", line 73, in main_subshell
          File "conda/cli/conda_argparse.py", line 124, in generate_parser
          File "conda/cli/conda_argparse.py", line 352, in configure_parser_plugins
          File "conda/cli/find_commands.py", line 54, in find_commands
          File "conda/cli/find_commands.py", line 54, in <listcomp>
          File "sysconfig.py", line 532, in get_path
          File "sysconfig.py", line 522, in get_paths
          File "sysconfig.py", line 175, in _expand_vars
          File "sysconfig.py", line 572, in get_config_vars
          File "sysconfig.py", line 438, in _init_posix
        ModuleNotFoundError: No module named '_sysconfigdata_x86_64_conda_cos6_linux_gnu'
    
    `$ /home/mambauser/.local/share/ensure-conda/conda_standalone --version`
    
      environment variables:
                     CIO_TEST=<not set>
            CMAKE_PREFIX_PATH=/opt/conda:/opt/conda/x86_64-conda-linux-gnu/sysroot/usr
          CONDA_BUILD_SYSROOT=/opt/conda/x86_64-conda-linux-gnu/sysroot
            CONDA_DEFAULT_ENV=base
                 CONDA_PREFIX=/opt/conda
        CONDA_PROMPT_MODIFIER=(base)
                   CONDA_ROOT=/tmp/_MEIYFuu5Y
                  CONDA_SHLVL=1
        CONDA_TOOLCHAIN_BUILD=x86_64-conda-linux-gnu
         CONDA_TOOLCHAIN_HOST=x86_64-conda-linux-gnu
               CURL_CA_BUNDLE=<not set>
              LD_LIBRARY_PATH=/tmp/_MEIYFuu5Y:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
                   LD_PRELOAD=<not set>
                         PATH=/opt/conda/bin:/vscode/vscode-server/bin/linux-x64/8b3775030ed1a69b13e
                              4f4c628c612102e30a681/bin/remote-cli:/opt/conda/condabin:/usr/local/nv
                              idia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:
                              /usr/bin:/sbin:/bin:/home/mambauser/.local/bin
           REQUESTS_CA_BUNDLE=<not set>
                SSL_CERT_FILE=<not set>
    
         active environment : /opt/conda
        active env location : /opt/conda
                shell level : 1
           user config file : /home/mambauser/.condarc
     populated config files : /home/mambauser/.condarc
              conda version : 23.10.0
        conda-build version : not installed
             python version : 3.9.18.final.0
           virtual packages : __archspec=1=zen3
                              __cuda=12.0=0
                              __glibc=2.35=0
                              __linux=5.4.0=0
                              __unix=0=0
           base environment : /tmp/_MEIYFuu5Y  (read only)
          conda av data dir : /tmp/_MEIYFuu5Y/etc/conda
      conda av metadata url : None
               channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                              https://conda.anaconda.org/conda-forge/noarch
              package cache : /tmp/_MEIYFuu5Y/pkgs
                              /home/mambauser/.conda/pkgs
           envs directories : /home/mambauser/.conda/envs
                              /tmp/_MEIYFuu5Y/envs
                   platform : linux-64
                 user-agent : conda/23.10.0 requests/2.31.0 CPython/3.9.18 Linux/5.4.0-146-generic ubuntu/22.04.3 glibc/2.35 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.3
                    UID:GID : 1022:1022
                 netrc file : None
               offline mode : False
    
    
    An unexpected error has occurred. Conda has prepared the above report.
    If you suspect this error is being caused by a malfunctioning plugin,
    consider using the --no-plugins option to turn off plugins.
    
    Example: conda --no-plugins install <package>
    
    Alternatively, you can set the CONDA_NO_PLUGINS environment variable on
    the command line to run the command without plugins enabled.
    
    Example: CONDA_NO_PLUGINS=true conda install <package>
    
    If submitted, this report will be used by core maintainers to improve
    future releases of conda.
    Would you like conda to send this report to the core maintainers? [y/N]: 
    ```
    
    Installing it from conda-forge solves the issue.
    basnijholt authored and maresb committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    5d828cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f7da20 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cd6d732 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f9791ff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    741e804 View commit details
    Browse the repository at this point in the history
  6. test: root → src_root

    maresb committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    d30f479 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2d3872c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1103981 View commit details
    Browse the repository at this point in the history
  9. Support also .conda archives

    maresb committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    7495d70 View commit details
    Browse the repository at this point in the history
  10. Bump Go version

    maresb committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    b04154f View commit details
    Browse the repository at this point in the history
  11. Improve error message

    maresb committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    23fe99f View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Configuration menu
    Copy the full SHA
    c215f4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f974fb9 View commit details
    Browse the repository at this point in the history
  3. Validate the channel name

    maresb committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    2d6ca5b View commit details
    Browse the repository at this point in the history