[英]Can not add geospatial-tools dependency to Palantir Foundry code repository
Nothing is returned when I attempt to add the package per the documentation's instructions on how to enable spatial queries.当我尝试按照文档中有关如何启用空间查询的说明添加 package 时,没有返回任何内容。 Have geospatial-tools been removed?
地理空间工具是否已被删除?
It works for me.这个对我有用。 Can you try to add this to your
meta.yaml
file in the code repository?您可以尝试将其添加到代码存储库中的
meta.yaml
文件中吗?
# If you need to modify the runtime requirements for your package,
# update the 'requirements.run' section in this file
package:
name: "{{ PACKAGE_NAME }}"
version: "{{ PACKAGE_VERSION }}"
source:
path: ../src
requirements:
# Tools required to build the package. These packages are run on the build system and include
# things such as revision control systems (Git, SVN) make tools (GNU make, Autotool, CMake) and
# compilers (real cross, pseudo-cross, or native when not cross-compiling), and any source pre-processors.
# https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build
build:
- python 3.6.*
- setuptools
# Packages required to run the package. These are the dependencies that are installed automatically
# whenever the package is installed.
# https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#run
run:
- python 3.6.*
- transforms {{ PYTHON_TRANSFORMS_VERSION }}
- transforms-expectations
- transforms-verbs
- shapely
- pygeos
- geojson-rewind
- geospatial-tools
build:
script: python setup.py install --single-version-externally-managed --record=record.txt
After you commit the changes, can you edit the answer with the error you might face from the checks?提交更改后,您可以使用检查中可能遇到的错误来编辑答案吗?
I was able to resolve this issue by working with a Palantir support engineer.通过与 Palantir 支持工程师合作,我能够解决这个问题。 The problem was with the stack itself not allowing access to the package.
问题在于堆栈本身不允许访问 package。 I'm not 100% sure what the engineer did to configure the cluster, but once he was done, I was able to install the lib using the UI.
我不是 100% 确定工程师做了什么来配置集群,但是一旦他完成了,我就可以使用 UI 安装 lib。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.