Use pip install to install the program in jupyter notebook

After using pip install to install the package in jupyter notebook, the package will be installed to conda base by default instead of the selected kernel myenv

How can I fix this?Any suggestion welcome!

Using the %pip magic will generally provide a more predictable outcome.

1 Like

Thank you very much, it worked