win10安装Anaconda3 5-2出现Error opening file for writing错误

本文提供了解决在Windows 10环境下安装Anaconda 3.5-2版本时遇到的Erroropeningfileforwriting错误的方法。通过选择所有用户而非仅限我选项进行安装,并忽略过程中出现的黑色命令窗口,即可顺利完成安装。
部署运行你感兴趣的模型镜像

您可能感兴趣的与本文相关的镜像

Python3.8

Python3.8

Conda
Python

Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本

Traceback (most recent call last): File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/torch/serialization.py", line 965, in save _save( File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/torch/serialization.py", line 1266, in _save zip_file.write_record(name, storage, num_bytes) RuntimeError: [enforce fail at inline_container.cc:857] . PytorchStreamWriter failed writing file data/228: file write failed During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/liuhao/anaconda3/envs/nnunet/bin/nnUNetv2_train", line 8, in <module> sys.exit(run_training_entry()) File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/nnunetv2/run/run_training.py", line 266, in run_training_entry run_training(args.dataset_name_or_id, args.configuration, args.fold, args.tr, args.p, args.pretrained_weights, File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/nnunetv2/run/run_training.py", line 207, in run_training nnunet_trainer.run_training() File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/nnunetv2/training/nnUNetTrainer/nnUNetTrainer.py", line 1387, in run_training self.on_epoch_end() File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/nnunetv2/training/nnUNetTrainer/nnUNetTrainer.py", line 1142, in on_epoch_end self.save_checkpoint(join(self.output_folder, &#39;checkpoint_latest.pth&#39;)) File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/nnunetv2/training/nnUNetTrainer/nnUNetTrainer.py", line 1176, in save_checkpoint torch.save(checkpoint, filename) File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/torch/serialization.py", line 964, in save with _open_zipfile_writer(f) as opened_zipfile: File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/torch/serialization.py", line 798, in __exit__ self.file_like.write_end_of_file() RuntimeError: [enforce fail at inline_container.cc:659] . unexpected pos 317681600 vs 317681488 Exception in thread Thread-3 (results_loop): Traceback (most recent call last): File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 125, in results_loop raise e File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 103, in results_loop raise RuntimeError("One or more background workers are no longer alive. Exiting. Please check the " RuntimeError: One or more background workers are no longer alive. Exiting. Please check the print statements above for the actual error message Exception in thread Thread-2 (results_loop): Traceback (most recent call last): File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 125, in results_loop raise e File "/home/liuhao/anaconda3/envs/nnunet/lib/python3.10/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 103, in results_loop raise RuntimeError("One or more background workers are no longer alive. Exiting. Please check the " RuntimeError: One or more background workers are no longer alive. Exiting. Please check the print statements above for the actual error message
10-13
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值