QIIME 2 Installation (about CondaVerificationError, and it solved by python3.9 installation)

Hello, now I have another question about QIIME2 :qiime2: installation.
I've installed Miniconda at my non-system disk, and the conda update is OK, but when I create a conda qiime2 environment in WSL, it shows wrong, and the following are wrong messages:

…
info     libmamba Parsing MatchSpec defaults::conda>24.7.1
Preparing transaction: ...working... done
Verifying transaction: ...working... failed
CondaVerificationError: The package for numpy located at /mnt/d/WSL/conda_env/miniconda3/pkgs/numpy-1.26.4-py39h474f0d3_0
appears to be corrupted. The path 'lib/python3.9/site-packages/numpy/array_api/__pycache__/__init__.cpython-39.pyc'
specified in the package manifest cannot be found.
…

How can I solve this question :question:
Thank you!

Hello @yangyue,

Try conda clean --all and then re-running.

2 Likes

Thank you for your reply!
Though I have tried it, it not works.
I solved this problem in an unknown way, it may be solve by upgrate the version of python, the core codes as below:

sudo apt update
apt list --upgradable
sudo apt upgrade
sudo apt install python3 python3-pip
sudo apt-get install python3 python3-dev
python3 -m pip install --upgrade pip