【发布时间】:2020-05-22 14:49:04
【问题描述】:
我正在努力构建自己的 conda 包。构建运行正常,meta.yaml 文件如下所示:
package:
name: simple_nodes_embedding
version: "0.1.0"
source:
path: ..
build:
number: 0
requirements:
build:
- pip
- python=3.7
- setuptools
run:
- python=3.7
- pypardiso
- networkx >=2.4
- scipy
- numpy>=1.18.1
- markdown
- statsmodels
about:
home: https://github.com/monomonedula/simple-graph-embedding
license: Apache License 2.0
license_file: LICENSE.txt
summary: Simple deterministic algorithm for generating graph nodes topological embeddings.
但是,当我跑步时
conda install simple_nodes_embedding -c local -c defaults -c conda-forge -c haasad
并且已安装构建的软件包,但未安装来自 haasad 频道的 pypardiso 软件包。
>>> from simple_nodes_embedding import embedding
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/vhhl/dev/simple-graph-embedding/simple_nodes_embedding/embedding.py", line 4, in <module>
from pypardiso import spsolve
ModuleNotFoundError: No module named 'pypardiso'
我该如何解决这个问题?在创建 conda 包时,从自定义渠道指定依赖关系的正确方法是什么?
【问题讨论】:
-
请同时包含完整的错误信息!
-
@cel 完成。但是没有什么特别的