Package Details: miniconda3 24.9.2.0-1

Git Clone URL: https://aur.archlinux.org/miniconda3.git (read-only, click to copy)
Package Base: miniconda3
Description: Mini version of Anaconda Python distribution
Upstream URL: https://conda.io/en/latest/miniconda
Keywords: anaconda conda python
Licenses: BSD-3-Clause
Provides: conda
Submitter: jadelord
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 50
Popularity: 0.93
First Submitted: 2018-06-02 04:06 (UTC)
Last Updated: 2024-10-26 02:20 (UTC)

Pinned Comments

user7z commented on 2024-09-19 23:08 (UTC)

it gives this error :

Error while loading conda entry point: conda-content-trust (OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration.)

the solution is to put this : " export CRYPTOGRAPHY_OPENSSL_NO_LEGACY='1' " into /etc/profile.d/conda.sh

carlosal1015 commented on 2024-07-10 02:47 (UTC)

In order to check a new version

$ git clone https://aur.archlinux.org/miniconda3.git
$ cd miniconda3
$ nvchecker -c .nvchecker.toml                        
[I 07-09 21:47:02.603 core:416] miniconda3: updated to 24.5.0.0

carlosal1015 commented on 2022-05-26 20:15 (UTC) (edited on 2022-05-26 20:15 (UTC) by carlosal1015)

Important note: This is the way how to upgrade.

Suppose that we have this line in ~/.bashrc or ~/.zshrc or etc.

[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source /opt/miniconda3/etc/profile.d/conda.sh
  1. Before to upgrade I comment this line.
  2. Upgrade the package as usual.
  3. Uncomment the line.

jadelord commented on 2021-02-05 09:50 (UTC) (edited on 2022-02-03 11:32 (UTC) by jadelord)

I have packaged micromamba in AUR. Try it if you are looking for a lightweight, barebones alternative to miniconda.

Latest Comments

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

weker01 commented on 2023-10-30 22:20 (UTC)

I have a similar problem as @joanmanel and have no CONDA_* variables in env... but it is not "/opt/miniconda3/pkgs/" but "/opt/miniconda3/lib/python3.11/site-packages/" where the conflicts lie.

I also manually activate conda, so there is no need to uncomment any lines, and conda is deactivated.

carlosal1015 commented on 2023-10-28 15:44 (UTC)

Hi @joanmanel, could you look

$ env

and look if any CONDA_FOO environment variable is activated?

joanmanel commented on 2023-10-28 09:01 (UTC)

Hi there. Went to update the package (through yay). I uncommented the line in bashrc as suggested. But I went a bunch of

miniconda: /opt/miniconda3/pkgs/.... exists in filesystem

nmstoker commented on 2023-08-16 00:22 (UTC) (edited on 2023-08-16 00:23 (UTC) by nmstoker)

I'm usually wary of using sudo with pip, and I found with a slight variation of @kearneyBack's method as below, you can run a non-sudo pip in the base conda env and get the cryptography and pyOpenSSL packages updated just fine:

$ conda activate base
(base) $ pip list | grep cryptography
cryptography            39.0.1
(base) $ pip install -U cryptography pyOpenSSL
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: cryptography in /opt/miniconda3/lib/python3.11/site-packages (39.0.1)
Collecting cryptography
  Downloading cryptography-41.0.3-cp37-abi3-manylinux_2_28_x86_64.whl (4.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 8.0 MB/s eta 0:00:00
Requirement already satisfied: pyOpenSSL in /opt/miniconda3/lib/python3.11/site-packages (23.0.0)
Collecting pyOpenSSL
Downloading pyOpenSSL-23.2.0-py3-none-any.whl (59 kB)
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.0/59.0 kB 7.7 MB/s eta 0:00:00
Requirement already satisfied: cffi>=1.12 in /opt/miniconda3/lib/python3.11/site-packages (from cryptography) (1.15.1)
Requirement already satisfied: pycparser in /opt/miniconda3/lib/python3.11/site-packages (from cffi>=1.12->cryptography) (2.21)
Installing collected packages: cryptography, pyOpenSSL
Successfully installed cryptography-41.0.3 pyOpenSSL-23.2.0
(base) $ pip list | grep cryptography
cryptography            41.0.3

From then on conda worked fine again.

carlosal1015 commented on 2023-08-11 12:25 (UTC)

Hi @busywhistling, yes conda 23.7.2 is available, but no available from here https://repo.continuum.io/miniconda

kearneyBack commented on 2023-08-06 03:31 (UTC) (edited on 2023-08-06 10:21 (UTC) by kearneyBack)

I tried conda activate base but got same error. Here is a way.

$ pwd
/opt/miniconda3/bin
$ ./pip list | grep pyOpenSSL
pyOpenSSL               23.0.0
$ ./pip list | grep cryptography
cryptography            39.0.1
$ sudo ./pip uninstall cryptography pyOpenSSL
$ sudo ./pip install cryptography pyOpenSSL
Successfully installed cryptography-41.0.3 pyOpenSSL-23.2.0

conda work again. thank gru

joanmanel commented on 2023-08-03 11:39 (UTC)

Thanks that worked

gru commented on 2023-08-03 09:50 (UTC) (edited on 2023-08-03 09:50 (UTC) by gru)

I had the same issue on an old installation. I solved it by activating the base conda env and updating with pip pyopenssl and cryptography. I hope this helps.

joanmanel commented on 2023-08-03 09:37 (UTC) (edited on 2023-08-03 09:38 (UTC) by joanmanel)

On a fresh Arch installation, I just installed miniconda3 with yay, and when executing conda I get the following error

(I have openssl installed and also python-pyopenssl and other packages it installs like python-cryptography)


[juanma@desktop ~]$ conda
Traceback (most recent call last):
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/exception_handler.py", line 16, in __call__
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/cli/main.py", line 70, in main_subshell
    p = generate_parser()
        ^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/cli/conda_argparse.py", line 65, in generate_parser
    p = ArgumentParser(
        ^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/cli/conda_argparse.py", line 152, in __init__
    self._subcommands = context.plugin_manager.get_hook_results("subcommands")
                        ^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/base/context.py", line 502, in plugin_manager
    from ..plugins.manager import get_plugin_manager
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/plugins/__init__.py", line 3, in <module>
    from .hookspec import hookimpl  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/plugins/hookspec.py", line 9, in <module>
    from .types import CondaSolver, CondaSubcommand, CondaVirtualPackage
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/plugins/types.py", line 7, in <module>
    from ..core.solve import Solver
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/core/solve.py", line 41, in <module>
    from .index import _supplement_index_with_system, get_reduced_index
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/core/index.py", line 24, in <module>
    from .subdir_data import SubdirData, make_feature_record
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/core/subdir_data.py", line 53, in <module>
    from ..trust.signature_verification import signature_verification
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/trust/signature_verification.py", line 12, in <module>
    from conda_content_trust.authentication import verify_delegation, verify_root
  File "/opt/miniconda3/lib/python3.11/site-packages/conda_content_trust/authentication.py", line 34, in <module>
    from .common import (
  File "/opt/miniconda3/lib/python3.11/site-packages/conda_content_trust/common.py", line 66, in <module>
    import cryptography.hazmat.backends.openssl.ed25519
  File "/opt/miniconda3/lib/python3.11/site-packages/cryptography/hazmat/backends/openssl/__init__.py", line 6, in <module>
    from cryptography.hazmat.backends.openssl.backend import backend
  File "/opt/miniconda3/lib/python3.11/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 61, in <module>
    from cryptography.hazmat.bindings.openssl import binding
  File "/opt/miniconda3/lib/python3.11/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 232, in <module>
    Binding.init_static_locks()
  File "/opt/miniconda3/lib/python3.11/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 206, in init_static_locks
    cls._ensure_ffi_initialized()
  File "/opt/miniconda3/lib/python3.11/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 195, in _ensure_ffi_initialized
    _legacy_provider_error(cls._legacy_provider_loaded)
  File "/opt/miniconda3/lib/python3.11/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 104, in _legacy_provider_error
    raise RuntimeError(
RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/miniconda3/bin/conda", line 13, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/cli/main.py", line 129, in main
    return conda_exception_handler(main, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/exception_handler.py", line 376, in conda_exception_handler
    return_value = exception_handler(func, *args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/exception_handler.py", line 19, in __call__
    return self.handle_exception(exc_val, exc_tb)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/exception_handler.py", line 75, in handle_exception
    return self.handle_unexpected_exception(exc_val, exc_tb)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/exception_handler.py", line 88, in handle_unexpected_exception
    self.print_unexpected_error_report(error_report)
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/exception_handler.py", line 159, in print_unexpected_error_report
    from .cli.main_info import get_env_vars_str, get_main_info_str
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/cli/main_info.py", line 15, in <module>
    from ..core.index import _supplement_index_with_system
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/core/index.py", line 24, in <module>
    from .subdir_data import SubdirData, make_feature_record
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/core/subdir_data.py", line 53, in <module>
    from ..trust.signature_verification import signature_verification
  File "/opt/miniconda3/lib/python3.11/site-packages/conda/trust/signature_verification.py", line 12, in <module>
    from conda_content_trust.authentication import verify_delegation, verify_root
  File "/opt/miniconda3/lib/python3.11/site-packages/conda_content_trust/authentication.py", line 34, in <module>
    from .common import (
  File "/opt/miniconda3/lib/python3.11/site-packages/conda_content_trust/common.py", line 334, in <module>
    cryptography.hazmat.backends.openssl.ed25519._Ed25519PrivateKey, # DANGER
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'cryptography.hazmat.backends' has no attribute 'openssl'