I’ve followed the guide to install qiime2 via conda (my conda is up-to-date at version 4.5.8)
wget https://data.qiime2.org/distro/core/qiime2-2018.6-py35-linux-conda.yml
conda env create -n qiime2-2018.6 --file qiime2-2018.6-py35-linux-conda.yml
At the end of creating new environment, I get the following error:
Preparing transaction: done
Verifying transaction: done
Executing transaction: / dbus post-link :: /etc/machine-id not found ..
dbus post-link :: .. using /proc/sys/kernel/random/boot_id
/ Enabling notebook extension jupyter-js-widgets/extension...
- Validating: OK
done
Traceback (most recent call last):
File "/home/bah29/packages/anaconda3/envs/qiime2/bin/pip", line 6, in <module>
sys.exit(pip.main())
AttributeError: module 'pip' has no attribute 'main'
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/home/bah29/packages/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 819, in __call__
return func(*args, **kwargs)
File "/home/bah29/packages/anaconda3/lib/python3.6/site-packages/conda_env/cli/main.py", line 74, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "/home/bah29/packages/anaconda3/lib/python3.6/site-packages/conda_env/cli/main_create.py", line 108, in execute
installer.install(prefix, pkg_specs, args, env)
File "/home/bah29/packages/anaconda3/lib/python3.6/site-packages/conda_env/installers/pip.py", line 40, in _pip_install_via_requirements
args, pip_version = pip_args(prefix)
File "/home/bah29/packages/anaconda3/lib/python3.6/site-packages/conda_env/pip_util.py", line 33, in pip_args
pip_version = subprocess.check_output(ret + ['-V']).decode('utf-8').split()[1]
File "/home/bah29/packages/anaconda3/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/home/bah29/packages/anaconda3/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/home/bah29/packages/anaconda3/envs/qiime2/bin/python', '/home/bah29/packages/anaconda3/envs/qiime2/bin/pip', '-V']' returned non-zero exit status 1.
`$ /home/bah29/packages/anaconda3/bin/conda-env create -n qiime2 --file qiime2-2018.6-py35-linux-conda.yml.1`