Mr.*_*Tom 7 python installation opencv apt-get conda
我正在尝试在我的 Jetson TX2 中安装 opencv。我想将它安装在我的 conda 环境中。我使用以下命令来执行此操作,
sudo apt-get install python-opencv
Run Code Online (Sandbox Code Playgroud)
它实际上安装了 opencv 但在 conda 之外,所以我无法在 conda 中导入它。我怎样才能将它安装在我的 conda 中?
确保您处于 conda 环境中。
运行 conda 命令,而不是 apt-get 命令。
conda install -c conda-forge opencv
Run Code Online (Sandbox Code Playgroud)