'I cant install the package kneed

I installed in a local environment in anaconda (JupyterLab) the package kneed with the command conda install -c conda-forge kneed. Previously I installed in the same environment the packages jupyter,kneed, matplotlib, numpy, pandas ,seaborn, scikit-learn. While importing these modules in a jupyter notebook I get an error message saying that kneed is not installed:

ModuleNotFoundError: No module named 'kneed'

I have Python 3.9.7 installed.

To the contrary, when I check on the command line within the environment the same commands I have no problem. It seems as if Jupyter notebook is missing the information of the new installation of kneed. Do you have any suggestion ? Many thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source