micromamba version : 2.6.2
(d52py313) user@cd4c86aaf95f:~$ python -c "import cffi"
(d52py313) user@cd4c86aaf95f:~$ python -c "import ldap"
Traceback (most recent call last):
File "<string>", line 1, in <module>
import ldap
File "/home/user/micromamba/envs/d52py313/lib/python3.13/site-packages/ldap/__init__.py", line 34, in <module>
import _ldap
ImportError: /usr/lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0
(d52py313) user@cd4c86aaf95f:~$ pip freeze | grep ldap
python-ldap==3.4.7
(d52py313) user@cd4c86aaf95f:~$
(d52py313) user@f340759bba63:~$ micromamba install -y libffi"<=3.4" --allow-downgrade
⚠ Shard Index for nodefaults/linux-64 not available, falling back to flat repodata
Using Flat Repodata for nodefaults/linux-64 ✔ Done (0.0 sec)
⚠ Shard Index for nodefaults/noarch not available, falling back to flat repodata
Using Flat Repodata for nodefaults/noarch ✔ Done (0.0 sec)
Using Cached Shard Index for conda-forge/linux-64 ✔ Done
Using Cached Shard Index for conda-forge/noarch ✔ Done
Fetching and Parsing Packages' Shards ✔ Done (0.1 sec)
Using Cached Shard Index for conda-forge/linux-64 ✔ Done
Using Cached Shard Index for conda-forge/noarch ✔ Done
Fetching and Parsing Packages' Shards ✔ Done (0.1 sec)
Parsing Packages' Records ✔ Done (0.3 sec)
Pinned packages:
- python=3.13
Resolving Environment ✔ Done (0.3 sec)
Transaction
Prefix: /home/user/micromamba/envs/d52py313
Updating specs:
- libffi<=3.4
Package Version Build Channel Size
───────────────────────────────────────────────────────────────────────
Install:
───────────────────────────────────────────────────────────────────────
+ libstdcxx-ng 15.2.0 hdf11a46_19 conda-forge 28kB
Remove:
───────────────────────────────────────────────────────────────────────
- pip 26.1.2 pyh145f28c_0 conda-forge Cached
- python 3.13.11 hcf712cf_100_cp313 anaconda Cached
Change:
───────────────────────────────────────────────────────────────────────
- libgcc 15.2.0 h69a1729_8 anaconda Cached
+ libgcc 15.2.0 he0feb66_19 conda-forge 1MB
- libgcc-ng 15.2.0 h166f726_8 anaconda Cached
+ libgcc-ng 15.2.0 h69a702a_19 conda-forge 28kB
- libstdcxx 15.2.0 h39759b7_8 anaconda Cached
+ libstdcxx 15.2.0 h934c35e_19 conda-forge 6MB
Downgrade:
───────────────────────────────────────────────────────────────────────
- libffi 3.5.2 h3435931_0 conda-forge Cached
+ libffi 3.3 h58526e2_2 conda-forge 53kB
Summary:
Install: 1 packages
Remove: 2 packages
Change: 3 packages
Downgrade: 1 packages
Total download: 7MB
───────────────────────────────────────────────────────────────────────
Transaction starting
libstdcxx-ng 27.8kB @ 120.3kB/s 0.1s
libgcc-ng 27.7kB @ ??.?MB/s 0.1s
libffi 52.6kB @ ??.?MB/s 0.1s
libgcc 1.0MB @ 2.9MB/s 0.3s
libstdcxx 5.9MB @ 6.4MB/s 0.8s
Unlinking libgcc-15.2.0-h69a1729_8
Unlinking python-3.13.11-hcf712cf_100_cp313
Unlinking libstdcxx-15.2.0-h39759b7_8
Unlinking libgcc-ng-15.2.0-h166f726_8
Unlinking libffi-3.5.2-h3435931_0
Linking libgcc-15.2.0-he0feb66_19
Linking libstdcxx-15.2.0-h934c35e_19
Linking libgcc-ng-15.2.0-h69a702a_19
Linking libstdcxx-ng-15.2.0-hdf11a46_19
Linking libffi-3.3-h58526e2_2
Transaction finished
(d52py313) user@f340759bba63:~$
Why Python and Pip gets removed ? ... mhm ....
micromamba version : 2.6.2
Why Python and Pip gets removed ? ... mhm ....