marvin
marvin copied to clipboard
conda skeleton fails
I have been trying to install marvin through conda, by building a recipe using skeleton
, instead of pip
, on python 3.6. My environment looks like this:
attrs 17.3.0 py36h5ab58ff_0
bleach 2.1.1 py36hd521086_0
ca-certificates 2017.08.26 h1d4fec5_0
certifi 2017.11.5 py36hf29ccca_0
coverage 4.4.2 py36hca7c4c5_0
cycler 0.10.0 py36h93f1223_0
dbus 1.10.22 h3b5a359_0
decorator 4.1.2 py36hd076ac8_0
entrypoints 0.2.3 py36h1aec115_2
expat 2.2.5 he0dffb1_0
fontconfig 2.12.4 h88586e7_1
freetype 2.8 hab7d2ae_1
glib 2.53.6 h5d9569c_2
gmp 6.1.2 h6c8ec71_1
gst-plugins-base 1.12.2 he3457e5_0
gstreamer 1.12.2 h4f93127_0
html5lib 1.0.1 py36h2f9c1c0_0
hypothesis 3.38.5 py36h196a6cc_0
icu 58.2 h9c2bf20_1
intel-openmp 2018.0.0 hc7b2577_8
ipykernel 4.7.0 py36h2f9c1c0_0
ipython 6.2.1 py36h88c514a_1
ipython_genutils 0.2.0 py36hb52b0d5_0
ipywidgets 7.0.5 py36h31d6531_0
jedi 0.11.0 py36_2
jinja2 2.10 py36ha16c418_0
jpeg 9b h024ee3a_2
jsonschema 2.6.0 py36h006f8b5_0
jupyter 1.0.0 py36h9896ce5_0
jupyter_client 5.1.0 py36h614e9ea_0
jupyter_console 5.2.0 py36he59e554_1
jupyter_core 4.4.0 py36h7c827e3_0
libedit 3.1 heed3624_0
libffi 3.2.1 hd88cf55_4
libgcc-ng 7.2.0 h7cc24e2_2
libgfortran-ng 7.2.0 h9f7466a_2
libpng 1.6.32 hbd3595f_4
libsodium 1.0.15 hf101ebd_0
libstdcxx-ng 7.2.0 h7a57d05_2
libxcb 1.12 hcd93eb1_4
libxml2 2.9.4 h2e8b1d7_6
markupsafe 1.0 py36hd9260cd_1
matplotlib 2.1.1 py36ha26af80_0
mistune 0.8.1 py36h3d5977c_0
mkl 2018.0.1 h19d6760_4
nbconvert 5.3.1 py36hb41ffb7_0
nbformat 4.4.0 py36h31c9010_0
ncurses 6.0 h9df7e31_2
notebook 5.2.2 py36h40a37e6_0
numpy 1.13.3 py36ha12f23b_0
openssl 1.0.2n hb7f436b_0
pandoc 1.19.2.1 hea2e7c5_1
pandocfilters 1.4.2 py36ha6701b7_1
parso 0.1.1 py36h35f843b_0
pcre 8.41 hc27e229_1
pexpect 4.3.0 py36h673ed17_0
pickleshare 0.7.4 py36h63277f8_0
pip 9.0.1 py36h6c6f9ce_4
pluggy 0.6.0 py36hb689045_0
prompt_toolkit 1.0.15 py36h17d85b1_0
ptyprocess 0.5.2 py36h69acd42_0
py 1.5.2 py36h29bf505_0
pygments 2.2.0 py36h0d3125c_0
pympler 0.5 py36h6b12e4d_0
pyparsing 2.2.0 py36hee85983_1
pyqt 5.6.0 py36h0386399_5
pytest 3.3.0 py36h23ce9bc_0
python 3.6.4 hc3d631a_0
python-dateutil 2.6.1 py36h88d3b88_1
pytz 2017.3 py36h63b9c63_0
pyzmq 16.0.3 py36he2533c7_0
qt 5.6.2 h974d657_12
qtconsole 4.3.1 py36h8f73b5b_0
readline 7.0 ha6073c6_4
scipy 1.0.0 py36hbf646e7_0
setuptools 36.5.0 py36he42e2e1_0
simplegeneric 0.8.1 py36h2cb9092_0
sip 4.18.1 py36h51ed4ed_2
six 1.11.0 py36h372c433_1
sqlite 3.20.1 hb898158_2
terminado 0.6 py36ha25a19f_0
testpath 0.3.1 py36h8cadb63_0
tk 8.6.7 hc745277_3
tornado 4.5.2 py36h1283b2a_0
traitlets 4.3.2 py36h674d592_0
wcwidth 0.1.7 py36hdf4376a_0
webencodings 0.5.1 py36h800622e_1
wheel 0.30.0 py36hfd4bba0_1
widgetsnbextension 3.0.8 py36h25a1d49_0
xz 5.2.3 h55aa19d_2
zeromq 4.2.2 hbedb6e5_2
zlib 1.2.11 ha838bed_2
zope 1.0 py36_0
zope.interface 4.4.3 py36h0ccbf34_0
It seems like I should be able to run something like conda skeleton pypi --recursive --output-dir skeleton-recipes sdss-marvin
, but it fails, providing the following feedback:
INFO:conda_build.source:Trying to apply patch as-is
Traceback (most recent call last):
File "setup.py", line 18, in <module>
from astropy.utils.data import download_file
ModuleNotFoundError: No module named 'astropy'
Error: command failed: /home/zpace/miniconda3/conda-bld/skeleton_1514044065295/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/bin/python setup.py install
My best guess is that there's something going wrong with dependency-handling, since I understand skeleton initializes a new environment to build the skeleton. However, there does not seem to be a top-level requirements.txt
--just one in the egg-info directory. It would be nice if there were a solution to this, but I'm mostly putting this here so that others know.