[yt-dev] Issue #1241: Installation with conda (yt_analysis/yt)

Anonymous issues-reply at bitbucket.org
Tue Jul 12 10:28:37 PDT 2016


New issue 1241: Installation with conda
https://bitbucket.org/yt_analysis/yt/issues/1241/installation-with-conda

Anonymous:

I tried to install the development version of yt
but I failed.
 
Settings:
INST_CONDA=1      
INST_YT_SOURCE=1  
INST_ROCKSTAR=1
INST_SCIPY=1 
INST_H5PY=1    
INST_ASTROPY=0
INST_NOSE=1

The last lines of the log file are below.

------------------
+ mkdir /home/mmestre/ytProject/yt-conda/envs/_build/lib
+ cp librockstar.so /home/mmestre/ytProject/yt-conda/envs/_build/lib/
Removing old build environment
BUILD START: rockstar-1.0.0-0
Package: rockstar-1.0.0-0
source tree in: /home/mmestre/ytProject/yt-conda/conda-bld/work
number of files: 1
Fixing permissions
patchelf: file: /home/mmestre/ytProject/yt-conda/envs/_build/lib/librockstar.so
    setting rpath to: $ORIGIN/.
Fixing permissions
BUILD END: rockstar-1.0.0-0
Nothing to test for: rockstar-1.0.0-0
# If you want to upload this package to anaconda.org later, type:
#
# $ anaconda upload /home/mmestre/ytProject/yt-conda/conda-bld/linux-64/rockstar-1.0.0-0.tar.bz2
#
# To have conda build upload to anaconda.org automatically, use
# $ conda config --set anaconda_upload yes
EXECUTING:
  conda install /home/mmestre/ytProject/yt-conda/conda-bld/linux-64/rockstar-1.0.0-0.tar.bz2
An unexpected error has occurred, please consider sending the
following traceback to the conda GitHub issue tracker at:

    https://github.com/conda/conda/issues

Include the output of the command 'conda info' in your report.

Traceback (most recent call last):
  File "/home/mmestre/ytProject/yt-conda/bin/conda", line 6, in <module>
    sys.exit(main())
  File "/home/mmestre/ytProject/yt-conda/lib/python2.7/site-packages/conda/cli/main.py", line 120, in main
    exit_code = args_func(args, p)
  File "/home/mmestre/ytProject/yt-conda/lib/python2.7/site-packages/conda/cli/main.py", line 130, in args_func
    exit_code = args.func(args, p)
  File "/home/mmestre/ytProject/yt-conda/lib/python2.7/site-packages/conda/cli/main_install.py", line 69, in execute
    install(args, parser, 'install')
  File "/home/mmestre/ytProject/yt-conda/lib/python2.7/site-packages/conda/cli/install.py", line 203, in install
    explicit(args.packages, prefix, verbose=not args.quiet)
  File "/home/mmestre/ytProject/yt-conda/lib/python2.7/site-packages/conda/misc.py", line 126, in explicit
    index.update(get_index(**index_args))
  File "/home/mmestre/ytProject/yt-conda/lib/python2.7/site-packages/conda/api.py", line 22, in get_index
    channel_urls = normalize_urls(channel_urls, platform, offline)
  File "/home/mmestre/ytProject/yt-conda/lib/python2.7/site-packages/conda/config.py", line 250, in normalize_urls
    url = urls[0]
KeyError: 0
---------------------------





More information about the yt-dev mailing list