When building from source I would prefer to use pip install .
or pip install -e
, instead of python setup.py install
or python setup.py develop
, so I can uninstall the package more easily.
Is there any reason I should NOT do this? Seems like a simple question but I can’t find the answer anywhere.
Thanks.
Looks like I can still pip uninstall torch
even if using python setup.py
, but I’m still curious, is there a reason not to use pip explicitly during the install?
If I’m not mistaken, the setup.py
approach is considered legacy as mentioned here so you might be find building via pip
. However, I haven’t carefully read through the mentioned PEPs.