将环境变量设置为/ urs / local-底图安装

问题描述 投票:0回答:1

我正在尝试下载底图以基于此链接使用其功能:http://matplotlib.org/basemap/users/installing.html

在安装的这一部分之前,我一直按照他们所说的说:如果libgeos_c位于/ usr / local / lib中,而geos_c.h位于/ usr / local / include中,则将GEOS_DIR设置为/ usr / local] >

此步骤的目标是将环境变量GEOS_DIR设置为指向/ usr / local位置。

但是,我不确定如何设置环境变量以指向某个位置。我查看了其他答案,说我需要创建一个plist,但是对此我不太了解。我正在使用MacOS mojave:)

我正在尝试下载Basemap以基于此链接使用其功能:http://matplotlib.org/basemap/users/installing.html在安装的这一部分之前,我一直遵循他们说的所有话:...] >

python-3.x environment-variables matplotlib-basemap
1个回答
0
投票

您可以使用bash命令列出您的环境变量:

printenv
© www.soinside.com 2019 - 2024. All rights reserved.