Dear Sir
The result is “ModuleNotFoundError: No module named ‘cv2’”
How to go the terminal view? I’m looking for install module.
Dear Sir
The result is “ModuleNotFoundError: No module named ‘cv2’”
How to go the terminal view? I’m looking for install module.
Terminal mode is available from the main kernel selection pane. At the bottom under ‘Other
’, you should have choice of ‘Terminal
’.
Alternatively, you can choose from the main ‘File
’ menu ‘File
’ > ‘New
’ > ‘Terminal
’.
Another route to get to the main kernel selection pane where you can select a terminal to start is to use the ‘plus’ symbol.
However, you don’t need to need to have a terminal to do installs now. You can from inside a cell in the Jupyter notebook to insure the installation is happening in the environment backing your current kernel. See here about using the modern %pip install
and %conda install
magic commands inside the notebook.
For example in your case run the following in a notebook if pip is your main package manager:
%pip install opencv-python
If conda is your main package manager, use the following:
`%conda install -c conda-forge opencv