R
R
Roman Manechkin2018-03-29 20:42:52
linux
Roman Manechkin, 2018-03-29 20:42:52

The cv2 Python3 module does not work. What to do ??

I want to master computer vision. It is very necessary in robotics, especially in competitions. I decided to start with Opencv in python. I installed python , virtual environment on Linux Mint , installed the necessary modules : numpy, cv2 ... Launched , played around with nano . When I run the code from the virtual environment everything works fine. However , when I try to use a more convenient editor like pycharm or atom , problems start . Editors don't see modules, nothing runs, and no tooltips. I guess it's in the virtual environment, but what can I do to make the editors work properly??

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2018-03-29
@sim3x

Select interpreter from virtualenv in pycharm

R
researcher1111, 2018-04-12
@researcher1111

In pycharme, press Ctrl+Shift+A and type in Python Interpreter. And select the one on which you installed cv2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question