Package Details: python-conda 24.9.2-2

Git Clone URL: https://aur.archlinux.org/python-conda.git (read-only, click to copy)
Package Base: python-conda
Description: OS-agnostic, system-level binary package manager and ecosystem https://conda.io
Upstream URL: https://github.com/conda/conda
Licenses: BSD-3-Clause
Provides: python-conda, python-conda-env
Submitter: cyrevolt
Maintainer: flying-sheep (brianrobt)
Last Packager: flying-sheep
Votes: 34
Popularity: 2.84
First Submitted: 2016-04-08 07:41 (UTC)
Last Updated: 2024-10-31 13:00 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

huyz commented on 2022-05-13 05:07 (UTC)

A workaround of this issue is to edit /usr/lib/python3.10/site-packages/conda-4.12.0-py3.10.egg-info/requires.txt and remove the ruamel_yaml_conda>=0.11.14 line.

huyz commented on 2022-05-13 04:36 (UTC)

It seems that python-setuptools 1:60.0.0-1 breaks conda.

With python-setuptools 60.0.0 I got the following error:

    Traceback (most recent call last):
      File "/usr/lib/python3.10/site-packages/conda/cli/main.py", line 142, in main
        from ..activate import main as activator_main
      File "/usr/lib/python3.10/site-packages/conda/activate.py", line 22, in <module>
        from .base.context import ROOT_ENV_NAME, context, locate_prefix_by_name
      File "/usr/lib/python3.10/site-packages/conda/base/context.py", line 32, in <module>
        from ..common.configuration import (Configuration, ConfigurationLoadError, MapParameter,
      File "/usr/lib/python3.10/site-packages/conda/common/configuration.py", line 36, in <module>
        from .path import expand
      File "/usr/lib/python3.10/site-packages/conda/common/path.py", line 17, in <module>
        from distutils.spawn import find_executable
      File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
      File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 674, in _load_unlocked
      File "<frozen importlib._bootstrap>", line 571, in module_from_spec
      File "/usr/lib/python3.10/site-packages/_distutils_hack/__init__.py", line 92, in create_module
        return importlib.import_module('setuptools._distutils')
      File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 16, in <module>
        import setuptools.version
      File "/usr/lib/python3.10/site-packages/setuptools/version.py", line 1, in <module>
        import pkg_resources
      File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3267, in <module>
        def _initialize_master_working_set():
      File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3241, in _call_aside
        f(*args, **kwargs)
      File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3279, in _initialize_master_working_set
        working_set = WorkingSet._build_master()
      File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 573, in _build_master
        ws.require(__requires__)
      File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 891, in require
        needed = self.resolve(parse_requirements(requirements))
      File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 777, in resolve
        raise DistributionNotFound(req, requirers)
    pkg_resources.DistributionNotFound: The 'ruamel_yaml_conda>=0.11.14' distribution was not found and is required by conda

Downgrade python-setuptools to 59.8.0 solves this issue.

mdeff commented on 2022-03-24 23:44 (UTC)

Found a fix:

sed -i "s/'conda=conda\.cli\.main_pip:main'/'conda=conda\.cli\.main:main','conda-env=conda_env\.cli\.main:main'/" setup.py

We replace main_pip by main to avoid the hook that says to run conda init, and we create a second entrypoint for conda-env.

The lack of a conda-env entrypoint should probably be reported upstream.

mdeff commented on 2022-03-24 20:56 (UTC) (edited on 2022-03-24 20:59 (UTC) by mdeff)

conda env fails with CommandNotFoundError: No command 'conda env'., while python /usr/lib/python3.10/site-packages/conda/shell/bin/conda-env works. Though conda-env says "WARNING: Not a real conda entry point. Do not use other than for tests.".

I wonder why there is no /usr/bin/conda-env while /usr/bin/conda is created.

specter119 commented on 2022-03-16 08:20 (UTC)

Hi @monson fixed with version 4.12, you may comment if still have any issues.

monson commented on 2022-03-14 07:49 (UTC)

@specter119 HI, https://aur.archlinux.org/packages/python-conda/#comment-769183 still not fixed, would you add it to PKGBUILD?

TJM commented on 2022-01-18 03:11 (UTC)

The python /usr/bin/conda shell.bash hook process slows down the terminal opening. Is there a way to limit the hook running only when necessary?

specter119 commented on 2021-08-24 00:39 (UTC) (edited on 2021-08-25 01:35 (UTC) by specter119)

@x3oo conda init is only needed when the conda function doesn't works. If you use bash/zsh/fish as login shell, all setting is done. If conda is just a binary but not a function, try to change your terminal shell setting as bash/zsh/fish -l, hope it will works.

x3oo commented on 2021-08-23 19:30 (UTC)

how do you init conda bash? it tells mit needs sudo, but it doesnt work with sudo either.

monson commented on 2021-06-01 08:38 (UTC)

@specter119 Would you make /etc/conda/condarc as backup in PKGBUILD?