When i create a project by Pycharm in Anconda environment, use : conda info --envs
i get this :
base C:\Users\Admin\Anaconda3
env_dlib C:\Users\Admin\Anaconda3\envs\env_dlib
opencv-env C:\Users\Admin\Anaconda3\envs\opencv-env
then use command : conda activate env_dilb
i can import dlib easily by using this command :python
then import dlib
, but i can not import cv2 by import cv2
, it get notice : "ModuleNotFoundError: No module named 'cv2'".
And conversely when i use conda activate opencv-env
, I can only do
import cv2
.
How can i import two of both, and some other libraries too.