[英]Where does the pip3 downloads the .whl files in Ubuntu 16.04?
I have tried to install PyTorch using pip3 install
command.我尝试使用pip3 install
命令安装 PyTorch。 It downloaded the 636 MB file of .whl type.它下载了 636 MB 的 .whl 类型文件。 Because I did not use sudo
, installation did not proceed.因为我没有使用sudo
,所以安装没有继续。 Now I do not want to download that file again.现在我不想再次下载该文件。 Where can I find that file in Ubuntu directory?我在哪里可以在 Ubuntu 目录中找到该文件? enter image description here在此处输入图片说明
pip3 install https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl
Collecting torch==1.0.1.post2 from https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl
Downloading https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl (636.8MB)
100% |████████████████████████████████| 636.8MB 70kB/s
Installing collected packages: torch
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/torch-1.0.1.post2.dist-info'
Consider using the `--user` option or check the permissions.
I am not able to find the path of those downloaded files, but I am able to install the already Downloaded file of PyTorch using the command pip3 install --user https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl
It has extracted the files from some Download Cache.我无法找到那些下载文件的路径,但我可以使用命令pip3 install --user https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl
安装已经下载的 PyTorch 文件pip3 install --user https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl
它从一些下载缓存中提取了文件。 So no need to worry about downloading again.所以不用担心再次下载。
Collecting torch==1.0.1.post2 from
https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl
Using cached
https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl
Installing collected packages: torch
Successfully installed torch-1.0.1.post2
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.