We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e46f1be commit 57a5a74Copy full SHA for 57a5a74
docker/install/ubuntu_install_caffe.sh
@@ -65,4 +65,5 @@ cd / && rm -rf /caffe_src
65
66
PYCAFFE_ROOT=${CAFFE_HOME}/python
67
echo "${CAFFE_HOME}/lib" >> /etc/ld.so.conf.d/caffe.conf && ldconfig
68
-ln -s ${PYCAFFE_ROOT}/caffe "${TVM_VENV}/usr/local/lib/python3.7/dist-packages/caffe"
+site_packages=$("${TVM_VENV}/bin/python3" -c 'import site; print(site.getsitepackages()[0])')
69
+ln -s ${PYCAFFE_ROOT}/caffe "${site_packages}/caffe"
0 commit comments