python - pip and conda environment.yml: unsupported operand type(s) for +: 'NoneType' and 'list' -
i trying install package pip inside conda env. have environment.yml file follows:
name: test-env dependencies: - pip: - "git+https://github.com/choldgraf/download" but when run conda env update --file environment.yml, get:
using anaconda api: https://api.anaconda.org fetching package metadata ............. solving package specifications: unexpected error has occurred. please consider posting following information conda github issue tracker at: # here configuration omit traceback (most recent call last): file "/home/mathurin/anaconda3/lib/python3.5/site-packages/conda/exceptions.py", line 634, in conda_exception_handler return_value = func(*args, **kwargs) file "/home/mathurin/anaconda3/lib/python3.5/site-packages/conda_env/cli/main_update.py", line 106, in execute installer.install(prefix, specs, args, env, prune=args.prune) file "/home/mathurin/anaconda3/lib/python3.5/site-packages/conda_env/installers/pip.py", line 8, in install pip_cmd = pip_args(prefix) + ['install', ] + specs typeerror: unsupported operand type(s) +: 'nonetype' , 'list' however, typing pip install git+https://github.com/choldgraf/download in bash console works fine. doing wrong ?
edit: first thought update conda. @ version 4.3.23, , trying conda update conda yields:
# requested packages installed. # packages in environment @ ~/anaconda3: # conda 4.3.23 py35_0 conda-forge
Comments
Post a Comment