#Conda install package in a file list install
I am not certain if it is a best practice but, when I am using pip3, I generally use the command syntax of pip3 install -user which will "Install to the Python user install directory for your platform. Especially if you use sudo or sudo -H to install the Python package. When you use pip3 install, you are potentially affecting your system Python installation. Generally, conda will modify your $PATH so that this isolates the package installation from your system somewhat.
If you delete your conda installation, those packages will be removed as well. One surefire method is to only use conda packages.Ĭonda install will be constrained to your use within conda environment. There are a few steps which can be used to avoid broken environments when using conda and pip together. In some cases these breakages are cosmetic, where a few files are present that should have been removed, but in other cases the environment may evolve into an unusable state. Similarly, pip may upgrade or remove a package which a conda-installed package requires. Running conda after pip has the potential to overwrite and potentially break packages installed via pip. Using pip in a conda environment & Understanding Conda and Pip See the following two documents that explain the relationship between conda and pip in more detail: YMMV depending upon your experience with both. If you are a relative new user of conda and python, I would recommend using only conda to install your packages.
It really depends upon your familiarity with pip and conda and how package installation interacts between the two methods.