bdist_conda не может установить зависимости - PullRequest
0 голосов
/ 20 февраля 2019

Я пытаюсь собрать пакет conda, используя python setup.py bdist_conda.

## Package Plan ##

  environment location: /Applications/anaconda3/conda-bld/bdist_conda_1550693590209/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place


The following NEW packages will be INSTALLED:
     ...
     ...


export SRC_DIR=/Applications/anaconda3/conda-bld/bdist_conda_1550693590209/test_tmp
Traceback (most recent call last):
  File "/Applications/anaconda3/conda-bld/bdist_conda_1550693590209/test_tmp/run_test.py", line 2, in <module>
    import slideslicer

import numpy as np
ModuleNotFoundError: No module named 'numpy'

Numpy не отображается под The following NEW packages will be INSTALLED.

My setup.py содержит

from distutils.core import setup
import distutils.command.bdist_conda

setup(
    install_requires=['openslide_python', 'Pillow>=5.0.0', 'pycocotools',
                      'shapely', 'opencv-python', #'beautifulsoup4>=4.6.0',
                      'scikit-image>=0.14.1', # used solely in hsv_histeq.py
                      'descartes',
                      'matplotlib','numpy','pandas', 'lxml'],
     ...)

Также повторяется с setup_requires

...