0
我已经安装了topojson瓦特/自制和我的工作在同一个教程在后Troubleshooting topojson installation用户,但我没有得到任何结果当我打电话故障排除后topojson安装
which topojson
which ogr2ogr
prints /usr/local/bin/ogr2ogr
但我发现了尽管刚刚成功安装了它,但没有任何东西可用。
我已经安装了topojson瓦特/自制和我的工作在同一个教程在后Troubleshooting topojson installation用户,但我没有得到任何结果当我打电话故障排除后topojson安装
which topojson
which ogr2ogr
prints /usr/local/bin/ogr2ogr
但我发现了尽管刚刚成功安装了它,但没有任何东西可用。
问题可能是topojson的二进制文件不在您的$ PATH中(除非您在安装时遇到错误消息)。检查教程中给出的位置,即键入完整路径。
谢谢,我确实发现这是问题。我应该预先考虑以下我Path环境: 在/ usr/local/share下/ NPM/bin中 这将允许被拾起NPM安装的二进制文件。任何好的资源如何做到这一点? – mpmckenna8
如果您使用的是不同的shell,请将'export PATH = $ PATH:/ usr/local/share/npm/bin'添加到您的'.bashrc'或等价物中。 –
酷也发现这个有用的小帖子在编辑器中修改Path环境http://architectryan.com/2012/10/02/add-to-the-path-on-mac-os-x-mountain-lion/# .UVd0cqtVBO8。 – mpmckenna8