在 conda 环境 ( source activate
) 中,我如何才能 make install
进入环境库目录( lib
、 bin
等)而不是系统目录?
请注意,我不想要与 conda-build
有关的答案.
最佳答案
使用 -C
(更改目录)参数告诉 make
使用不同的目录:
make -C $CONDA_PREFIX/lib install
从手册: -C dir, --directory=dir
Change to directory dir before reading the makefiles or doing anything else.
关于installation - 'make install' 进入 conda 环境,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47840427/