I'm trying to install OpenCV in my raspberry (I'm new with it) and I followed this post. I have done all the steps from 0 to 6.
All this installation it's done in a virtual environment, but now I don't know how to activate this environment. The post says that I have to introduce this line workon OpenCV-3.4.4-py3
but as @Heath Raftery and @Shreyas Murali say the correct line is workoncv-3.4.4 OpenCV-3.4.4-py3
because in the step 3 we do
echo "alias workoncv-$cvVersion=\"source $cwd/OpenCV-$cvVersion-py3/bin/activate\"" >> ~/.bashrc
I tried to execute workoncv-3.4.4 OpenCV-3.4.4-py3
in the folder "OpenCV-3.4.4-py3" but it fails and appear the following error message
bash: workon: command not found
I'm pretty sure it's a stupid question but I'm really lost with it.
How can I activate the virtual environment?
¡Salud!
python
.