I've installed pytorch 0.4.1 with both pip and conda in an effort to get a specific package working. Somehow version 1.5.0 is installed somewhere on my filesystem and despite my best efforts (following all these instructions) I cannot find and uninstall this version.
Running python3.6 -c "import torch; print(torch.__version__)"
results in 1.5.0
no matter how many uninstalls I attempt.
I was using some virtual environments to help in my development, using venv
.
I am running macOS 10.15.4, Intel Core i9 8-core, 32 GB 2667 DDR4, AMD Radeon Pro 5500M 8 GB.
Asked
Active
Viewed 4,555 times
0

Benjamin Parfitt
- 21
- 1
- 4
-
How about you install to a specific location and update the bashrc file to point to the installation location? – Wasi Ahmad May 09 '20 at 07:40
-
@WasiAhmad I was able to locate and delete the version that was installed. See my answer for details. – Benjamin Parfitt May 09 '20 at 19:19
-
You installed the package inside a Conda environment? – AMC May 10 '20 at 20:43
-
@AMC Nope, my environments were made using `venv`. – Benjamin Parfitt May 10 '20 at 22:20
1 Answers
1
I was able to locate all installs of torch using sudo find . -name "*torch*"
.
My version, which I ended up deleting 'by hand', was located at /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torch
.
Hopefully this can help someone else.

Benjamin Parfitt
- 21
- 1
- 4