sudo conda update conda 升级后,再次尝试安装PyTorch相关包。总结:解决Linux下普通权限用户conda安装pytorch相关包报错——conda.gateways.disk.delete:unlink_or_rename_to_trash的问题需要具体问题具体分析。您可以根据实际情况尝试上述提到的更改文件/目录权限、使用sudo命令、配置用户权限、检查磁盘空间以及升级conda版本等...
Delete an Environment in Conda conda envlist# check the environment nameconda deactivate your_envronment_name# stop the environmentconda remove --name your_envronment_name --all# delete the environment
Collecting environment information... PyTorch version: 2.2.2+cu118 Is debug build: False CUDA used to build PyTorch: 11.8 ROCM used to build PyTorch: N/A OS: Ubuntu 22.04.4 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: Could not collect CMake version...
mkdir ~/.conda/envs/delete tar -xzvf delete.tar.gz -C ~/.conda/envs/delete conda activate delete CUDA 12.1: Install manually Since Nvidia 40 series cards no longer support CUDA 11.3, I also created the SurfGen environment for an RTX-4080-powered linux system. mamba create -n delete pyt...
Collecting environment information... PyTorch version: 2.1.0.dev20230815+cu121 Is debug build: False CUDA used to build PyTorch: 12.1 ROCM used to build PyTorch: N/A OS: Debian GNU/Linux 11 (bullseye) (x86_64) GCC version: (Debian 10.2.1-6) 10.2.1 20210110 Clang version: Could not ...
#- OS (e.g., Linux): #- CUDA/cuDNN version: #- GPU models and configuration: #- How you installed Lightning(conda, pip, source): #- Running environment of LightningApp (e.g. local, cloud): ### More info _No response_ cc @carmocca @awaelchli mhex added the needs triage ...
build/temp.linux-x86_64-3.7/torch/csrc/stub.o: file not recognized: file format not recognized collect2: error: ld returned 1 exit status error: command 'g++' failed with exit status 1 This is caused by ld from the Conda environment shadowing the system ld. You should use a newer ver...