After python updated to 3.13.1, I got conda module mismatch
ModuleNotFoundError: No module named 'conda'
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: | brianrobt |
Votes: | 34 |
Popularity: | 0.116239 |
First Submitted: | 2016-04-08 07:41 (UTC) |
Last Updated: | 2025-02-04 04:29 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 11 Next › Last »
After python updated to 3.13.1, I got conda module mismatch
ModuleNotFoundError: No module named 'conda'
Subject: Suggestion to Add libxcrypt-compat
as a Dependency
Thank you for maintaining this package! I encountered an issue when using a conda environment for BlenderProc. After setting up the environment, running blenderproc quickstart
gave the following error:
error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
The issue was resolved by installing libxcrypt-compat
with pacman
. Could you please consider adding libxcrypt-compat
to the depends
array in the PKGBUILD
? This would prevent similar issues for other users and streamline the installation process.
Thanks again for your work on this package!
Thanks, @flying-sheep (annoying that the normal checksum is not stable upstream ...)
OK, they provide a tarball with a stable checksum. I switched to that one.
I just did that. Did the checksum change again?
Are they constantly re-tagging this release or what?
Well, that kinda foils the entire purpose of the checksum ;) @flyingsheep, could you please update the PKGBUILD with the correct checksum? Thanks!
To resolve the issue:
Pull the package contents:
yay -G python-conda
cd python-conda
Regenerate the Correct Checksum:
makepkg -g >> PKGBUILD
This appends the new checksum to the PKGBUILD file, replacing the incorrect one.
Rebuild and Reinstall:
makepkg -si
Have a nice day, I failed to install python-conda using yay, can you help me? the error is listed as:
==> 错误: 一个或多个文件没有通过有效性检查! -> 下载源文件时出错: /home/lizhao/.cache/yay/python-conda context: exit status 1
:: (1/1) 正在解析 SRCINFO: python-conda ==> 正在创建软件包:python-conda 24.9.2-1 (2024年10月31日 星期四 08时47分11秒) ==> 正在检查运行时依赖关系... ==> 正在检查编译时依赖关系 ==> 获取源代码... -> 找到 conda-24.9.2.tar.gz ==> 正在验证 source 文件,使用sha512sums... conda-24.9.2.tar.gz ... 失败 ==> 错误: 一个或多个文件没有通过有效性检查! -> 生成时出错: python-conda-exit status 1 -> 无法安装以下软件包, 需要手动介入处理: python-conda - exit status 1
OK, here we go, it all actually works, without any workarounds relying on the dog-slow classic solver. Have fun everyone.
As said, in the future, my python-libmamba
package will probably be replaced by micromamba
at some point
this package is currently waiting for the scikit-build maintainers’ help in building python-libmamba/micromamba.
in the future python-libmamba will probably be replaced with micromamba since with a few tweaks, it can provide everything provide everything python-conda-libmamba-solver needs.
Then the dependency chain will be python-conda->python-conda-libmamba-solver->micromamba
Pinned Comments
flying-sheep commented on 2025-01-06 13:01 (UTC)
You forgot to rebuild all your AUR python packages after that update. That's a necessary step and has nothing to do with our conda package.
See e.g. https://www.reddit.com/r/archlinux/comments/1hk2wii/comment/m3g11xz/
Please ask in the Arch BBS or on e.g. Reddit if you have further questions!