installation - 'make install' 进入 conda 环境

标签 installation makefile conda

在 conda 环境 ( source activate ) 中,我如何才能 make install进入环境库目录( libbin 等)而不是系统目录?

请注意,我不想要与 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/

相关文章:

java - 为作为 Windows 服务运行的 Java 应用程序创建安装程序

MySQL 无法在 Ubuntu 11.04 上安装

java - 使用 Makefile 编译 .jrxml 设计以获取 .jasper 文件

python - 使用 conda (anaconda) 安装 geopandas 时出现问题

conda - 设置 ~/.conda/pkgs 目录的路径

r - 在 Windows 上安装 odbc R 包时出现问题

perl - 如何更改 cpan 缓存文件的位置?

c++ - 链接器错误 - clang++

java - 从 getContent 将文件保存在 java 中,包括新行

python - conda 在激活环境之外寻找库