简体   繁体   English

无法将地理空间工具依赖项添加到 Palantir Foundry 代码库

[英]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.

相关问题 Palantir Foundry 中地理空间索引的最佳方法 - Best approach for geospatial indexes in Palantir Foundry 在 Palantir Foundry 的代码存储库中使用 PDF2Image - Using PDF2Image in Code Repository on Palantir Foundry 在 Palantir Foundry 代码存储库中定义 Pandas UDF 的正确方法是什么 - What is the proper way to define a Pandas UDF in a Palantir Foundry Code Repository PALANTIR-FOUNDRY:如何在转换中添加 dataframe 的描述? - PALANTIR-FOUNDRY: How can I add a description for a dataframe in a transform? 你能在 VS Code 中本地预览/运行 Palantir Foundry Transforms - Can you preview/run Palantir Foundry Transforms locally in VS Code 在 Palantir Foundry 的代码工作簿中如何分配执行者? - How are executors assigned in Code Workbooks in Palantir Foundry? 如何在 Palantir Foundry 中配置 object 以添加选项卡 - How to configure an object in Palantir Foundry to add a tab 在多个代码库中搜索关键字 - Palantir Foundry - Searching for keywords in multiple code repositories - Palantir Foundry 我们可以使用 Palantir Foundry 进行图像处理吗? - Can we do image processing with Palantir Foundry? 如何在 Palantir Foundry 的 Code Workbook 中使用 sparkcontext 创建一个空数据集? - How can I create an empty dataset using sparkcontext in Code Workbook in Palantir Foundry?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM