按官网教程Natively installing QIIME2,执行到
conda env create -n qiime2-2021.11 --file qiime2-2021.11-py38-linux-conda.yml
报错:
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/home/dicklees/anaconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1080, in __call__
return func(*args, **kwargs)
File "/home/dicklees/anaconda3/lib/python3.9/site-packages/conda_env/cli/main.py", line 80, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "/home/dicklees/anaconda3/lib/python3.9/site-packages/conda_env/cli/main_create.py", line 88, in execute
spec = specs.detect(name=name, filename=get_filename(args.file), directory=os.getcwd())
File "/home/dicklees/anaconda3/lib/python3.9/site-packages/conda_env/specs/__init__.py", line 43, in detect
if spec.can_handle():
File "/home/dicklees/anaconda3/lib/python3.9/site-packages/conda_env/specs/yaml_file.py", line 18, in can_handle
self._environment = env.from_file(self.filename)
File "/home/dicklees/anaconda3/lib/python3.9/site-packages/conda_env/env.py", line 160, in from_file
with open(filename, 'rb') as fp:
PermissionError: [Errno 13] Permission denied: '/home/dicklees/qiime2-2021.11-py38-linux-conda.yml'
`$ /home/dicklees/anaconda3/bin/conda-env create -n qiime2-2021.11 --file qiime2-2021.11-py38-linux-conda.yml`
environment variables:
CIO_TEST=<not set>
CONDA_AUTO_UPDATE_CONDA=false
CONDA_DEFAULT_ENV=base
CONDA_EXE=/home/dicklees/anaconda3/bin/conda
CONDA_PREFIX=/home/dicklees/anaconda3
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=/home/dicklees/anaconda3/bin/python
CONDA_ROOT=/home/dicklees/anaconda3
CONDA_SHLVL=1
CURL_CA_BUNDLE=<not set>
PATH=/home/dicklees/anaconda3/bin:/home/dicklees/anaconda3/bin:/home/dickle
es/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bi
n:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files/WindowsA
pps/CanonicalGroupLimited.UbuntuonWindows_2004.2021.825.0_x64__79rhkp1
fndgsc:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/
Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/sys
tem32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/Syste
m32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Prog
ram Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program
Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Windows/system32:/mnt/c
/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsP
owerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Users/dickl/AppD
ata/Local/Microsoft/WindowsApps:/mnt/e/VScode/Microsoft VS
Code/bin:/snap/bin
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
active environment : base
active env location : /home/dicklees/anaconda3
shell level : 1
user config file : /home/dicklees/.condarc
populated config files :
conda version : 4.11.0
conda-build version : 3.21.7
python version : 3.9.7.final.0
virtual packages : __linux=4.4.0=0
__glibc=2.31=0
__unix=0=0
__archspec=1=x86_64
base environment : /home/dicklees/anaconda3 (writable)
conda av data dir : /home/dicklees/anaconda3/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/dicklees/anaconda3/pkgs
/home/dicklees/.conda/pkgs
envs directories : /home/dicklees/anaconda3/envs
/home/dicklees/.conda/envs
platform : linux-64
user-agent : conda/4.11.0 requests/2.26.0 CPython/3.9.7 Linux/4.4.0-19041-Microsoft ubuntu/20.04.3 glibc/2.31
UID:GID : 1000:1000
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
请问应该如何解决?谢谢!