首页 > 解决方案 > Julia 编译期间的自定义 Python 位置

问题描述

我从源代码编译 Julia。我安装的 Python 版本(3.6.3)比我的操作系统(2.7.5)附带的版本更新。较新的 Python 版本在 my PATHandLD_LIBRARY_PATH中,但在 Julia 编译期间检测到较旧版本的 Python:

-- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.5") 

如何make在 Julia 编译期间强制在特定位置使用 Python 版本?

谢谢您的帮助!

标签: pythoncompilationjulia

解决方案


推荐阅读