Traceback (most recent call last):
File "/share/work/biosoft/python/Python3/bin/picrust2_pipeline.py", line 4, in <module>
__import__('pkg_resources').run_script('PICRUSt2==2.5.2', 'picrust2_pipeline.py')
File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/pkg_resources/__init__.py", line 651, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1448, in run_script
exec(code, namespace, namespace)
File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/PICRUSt2-2.5.2-py3.9.egg-info/scripts/picrust2_pipeline.py", line 277, in <module>
main()
File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/PICRUSt2-2.5.2-py3.9.egg-info/scripts/picrust2_pipeline.py", line 239, in main
func_outfiles, pathway_outfiles = full_pipeline(study_fasta=args.study_fasta,
File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/picrust2/pipeline.py", line 202, in full_pipeline
system_call_check(hsp_cmd, print_command=verbose,
File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/picrust2/util.py", line 265, in system_call_check
print(stderr_log, file=sys.stderr)
File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/picrust2/util.py", line 842, in __exit__
self.cleanup()
File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/picrust2/util.py", line 851, in cleanup
_shutil.rmtree(self.name)
File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/shutil.py", line 740, in rmtree
onerror(os.rmdir, path, sys.exc_info())
File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/shutil.py", line 738, in rmtree
os.rmdir(path)
OSError: [Errno 39] Directory not empty: '/work/my_ampliseq/tmp/tmpw4bhe56h'
修改:/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/shutil.py 第851行 如下:解决问题
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!