python – Necesscity of pip inside conda environment

The most common reason I know of for using pip while already in a conda environment is because anaconda.org does not have the package. It is rare for Anaconda to not have a package that pip does have but I’ve encountered it before. In general though, avoid using pip whenever you can. Installing from pip can be dangerous because it doesn’t check for conflicts between the package and other packages already in your environment, whereas the conda installation process does.

Side note: If you like conda, I would recommend switching to mamba or micromamba (if you want something lighter on the system) and setting the default installation channel to condaforge – this is all explained on the website. It just makes managing environments more enjoyable than regular conda (or pip). For example, it makes pretty colours in the terminal and installs libraries in parallel, so it’s really fast.

Read more here: Source link