来源“ $ cwd” / OpenCV-“ $ cvVersion” -py3 / bin / activate bash:/ OpenCV--py3 / bin / activate:无此类文件或目录

时间:2019-03-16 06:49:45

标签: virtual-environment

cd $cwd
pi@raspberrypi:~ $ # Install virtual environment
pi@raspberrypi:~ $ python3 -m venv OpenCV-"$cvVersion"-py3
pi@raspberrypi:~ $ echo "# Virtual Environment Wrapper" >> ~/.bashrc
pi@raspberrypi:~ $ echo "alias workoncv-$cvVersion=\"source $cwd/OpenCV-$cvVersion-py3/bin/activate\"" >> ~/.bashrc
pi@raspberrypi:~ $ source "$cwd"/OpenCV-"$cvVersion"-py3/bin/activate
bash: /OpenCV--py3/bin/activate: No such file or directory
pi@raspberrypi:~ $ #############

0 个答案:

没有答案