Skip to content

Instantly share code, notes, and snippets.

@dmkent
Last active January 26, 2016 03:50
Show Gist options
  • Select an option

  • Save dmkent/a18c4fbbc80132d52f24 to your computer and use it in GitHub Desktop.

Select an option

Save dmkent/a18c4fbbc80132d52f24 to your computer and use it in GitHub Desktop.
conda-env pip silent failure
name: root
dependencies:
- numpy
- pip:
- package-does-not-exist
dkent@devel-vm:~/src/conda-env$ conda info --all
Using Anaconda Cloud api site https://api.anaconda.org
Current conda install:
platform : linux-32
conda version : 3.19.0
conda-build version : not installed
python version : 3.5.1.final.0
requests version : 2.9.1
root environment : /home/dkent/miniconda3 (writable)
default environment : /home/dkent/miniconda3
envs directories : /home/dkent/miniconda3/envs
package cache : /home/dkent/miniconda3/pkgs
channel URLs : https://repo.continuum.io/pkgs/free/linux-32/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/linux-32/
https://repo.continuum.io/pkgs/pro/noarch/
config file : None
is foreign system : False
# conda environments:
#
test /home/dkent/miniconda3/envs/test
root * /home/dkent/miniconda3
sys.version: 3.5.1 |Continuum Analytics, Inc.| (defau...
sys.prefix: /home/dkent/miniconda3
sys.executable: /home/dkent/miniconda3/bin/python3
conda location: /home/dkent/miniconda3/lib/python3.5/site-packages/conda
conda-build: None
conda-env: /home/dkent/miniconda3/bin/conda-env
conda-server: /home/dkent/miniconda3/bin/conda-server
user site dirs:
CIO_TEST: <not set>
CONDA_DEFAULT_ENV: <not set>
CONDA_ENVS_PATH: <not set>
LD_LIBRARY_PATH: <not set>
PATH: /home/dkent/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PYTHONHOME: <not set>
PYTHONPATH: <not set>
WARNING: could not import _license.show_info
# try:
# $ conda install -n root _license
dkent@devel-vm:~/src/conda-env$ conda list
# packages in environment at /home/dkent/miniconda3:
#
anaconda-client 1.2.2 py35_0
binstar 0.12 2
clyent 1.2.0 py35_0
conda 3.19.0 py35_0
conda-env 2.4.5 py35_0
decorator 4.0.6 py35_0
funcsigs 0.4 py35_0
ipython-genutils 0.1.0 <pip>
ipython_genutils 0.1.0 py35_0
jsonschema 2.4.0 py35_0
jupyter-core 4.0.6 <pip>
jupyter_core 4.0.6 py35_0
mock 1.3.0 py35_0
nbformat 4.0.1 py35_0
nose 1.3.7 py35_0
openssl 1.0.2e 0
pbr 1.3.0 py35_0
pip 8.0.1 py35_0
pycosat 0.6.1 py35_0
pycrypto 2.6.1 py35_0
python 3.5.1 0
python-dateutil 2.4.2 py35_0
pytz 2015.7 py35_0
pyyaml 3.11 py35_1
readline 6.2 2
requests 2.9.1 py35_0
setuptools 19.4 py35_0
six 1.10.0 py35_0
sqlite 3.9.2 0
tk 8.5.18 0
traitlets 4.1.0 py35_0
wheel 0.26.0 py35_1
xz 5.0.5 0
yaml 0.1.6 0
zlib 1.2.8 0
dkent@devel-vm:~/src/conda-env$ conda env create -n test -f bad_pip_env.yml
Using Anaconda Cloud api site https://api.anaconda.org
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ....
Solving package specifications: .............Linking packages ...
[ COMPLETE ]|###########################################################################################################################| 100%
Collecting package-does-not-exist
Could not find a version that satisfies the requirement package-does-not-exist (from versions: )
No matching distribution found for package-does-not-exist
#
# To activate this environment, use:
# $ source activate test
#
# To deactivate this environment, use:
# $ source deactivate
#
dkent@devel-vm:~/src/conda-env$ echo $?
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment