Error in ruuning qiime2-amplicon-2024.5

Hello, I run qiime tools import ... and got the error message below. I still had the same message after removing the qiime2-amplicon-2024.5,
reinstalling the conda and updating all in conda as described here. Any help would be appreciated.

Traceback (most recent call last):
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/bin/qiime", line 11, in <module>
    sys.exit(qiime())
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2cli/builtin/tools.py", line 247, in import_data
    artifact.save(output_path)
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/result.py", line 233, in save
    self._archiver.save(filepath)
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/core/archive/archiver.py", line 462, in save
    _ZipArchive.save(self.path, filepath)
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/core/archive/archiver.py", line 151, in save
    with zipfile.ZipFile(str(destination), mode='w',
  File "/home/era/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/zipfile.py", line 1250, in __init__
    self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory: 'a_its/a_oom_reads_qza/a_its_reads.qza'

Operating System info
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="Bugs : Ubuntu"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

Python info
Python 3.9.19 | packaged by conda-forge | (main, Mar 20 2024, 12:50:21)
[GCC 12.3.0] on linux

Hi @E_Ra,
Welcome to the :qiime2: forum!
Can you please post your entire command and the corresponding error here? This part of the error makes me think there may be an issue with the inputs in your command:

--Hannah

1 Like
qiime tools import \
  --type SampleData[PairedEndSequencesWithQuality] \
  --input-path a_its/data/ \
  --output-path a_its/a_oom_reads_qza/a_its_reads.qza \
  --input-format CasavaOneEightSingleLanePerSampleDirFmt

Hi Hannah,
I solved it. I actually forgot to create the output folder.
Thank you
ERA

2 Likes