我正在尝试在/mnt/c/Windows/System32
目录中的 WSL 上安装 Anaconda 并使用以下命令:
sudo wget https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
但是,结果中出现错误(这是终端中的输出):
--2020-07-06 14:36:43-- https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
Resolving repo.anaconda.com (repo.anaconda.com)... 104.16.131.3, 104.16.130.3, 2606:4700::6810:8203, ...
Connecting to repo.anaconda.com (repo.anaconda.com)|104.16.131.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 685906562 (654M) [application/x-sh]
Anaconda3-2019.03-Linux-x86_64.sh: Permission denied
Cannot write to ‘Anaconda3-2019.03-Linux-x86_64.sh’ (Success).
似乎wget
需要指定一些特殊的下载访问权限(如果我在这里对问题的理解有误,请纠正我)。
如何解决问题?