Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing a package inside Conda using apt install

I'm trying to install opencv in my Jetson TX2. I would like to install it within my conda environment. I used the following command to do so,

sudo apt-get install python-opencv

It actually installs opencv but outside the conda so I'm not able to import it within conda. How can I have it installed within my conda?.

like image 692
Mr. Randy Tom Avatar asked May 26 '26 01:05

Mr. Randy Tom


1 Answers

Make sure you are in a conda environment.

Run a conda command, instead of an apt-get command.

conda install -c conda-forge opencv
like image 55
Uuuuuumm Avatar answered May 28 '26 16:05

Uuuuuumm



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!