Why users can install modules from pip but not from conda?

On the off-chance you’ve missed it, in the first half of 2019 the %pip and %conda magics were added and are now the current best way to be running installs in the notebook.
The following are the current ways to use conda and pip in a notebook:

%pip install <python_package_name>
%conda install <dependency_name>

See here for more details.

More examples promoting this:

2 Likes
ModuleNotFoundError: No module named 'mglearn'
ModuleNotFoundError: No module named 'ase'
How to run a notebook using command line
Cannot get to command prompt mode in Jupyter Notebook
Module Not Found
JupyterHub (LTJH) on Raspberry Pi 5
Cv2 package doesn't work
I want to import Keras, but I've tried many ways to do it wrong.
Need help with Jupyter Notebook
Jupyter lab notebook `No Module Named` error upon importing installed packages
Wget not recognised as an internal or external command
How to install cesiumpy
No module named 'matplotlib'
How do I use scikit-survival in the online Jupyter Notebook?
Where is teminal mode?
Jupyter Kernel not running same Python version as the Virtual Environment
How to install package and display pandas dataframe inside the tab?
How to import Seaborn in Jupiter Notebook
`command not found` message in Notebook for installed package
Binder & Tesseract?
No module named 'ipympl' found
Trouble with pip installation
Jupytext with JupyterLab Desktop in conda environment
!pip install occur permission problem in notebook
Different package versions in terminal and jupyter notebook
Jupyter Notebook wrong directory. Unable to import seaborn
Cloning git to Binder Jupyter Lab
Help needed! Constantly getting ValueError: Format specifier missing precision
Jupyter-ai generate function produces error
Am I doing wrong ! Is this not very basic?
Unable to resolve "No module named 'seaborn' error in Jupyter Notebook
Getting administrator access so I can access jupyter notebook