Skip to content

Instantly share code, notes, and snippets.

@kwilcox
Created February 24, 2016 18:31
Show Gist options
  • Save kwilcox/f7e7b6386c1caac28bf4 to your computer and use it in GitHub Desktop.
Save kwilcox/f7e7b6386c1caac28bf4 to your computer and use it in GitHub Desktop.
$ conda create -n cftest python=3.4
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ......
Solving package specifications: ...........
Package plan for installation in environment /home/kwilcox/miniconda3/envs/cftest:
The following packages will be downloaded:
package | build
---------------------------|-----------------
setuptools-20.1.1 | py34_0 372 KB
The following NEW packages will be INSTALLED:
openssl: 1.0.2f-0
pip: 8.0.2-py34_0
python: 3.4.4-0
readline: 6.2-2
setuptools: 20.1.1-py34_0
sqlite: 3.9.2-0
tk: 8.5.18-0
wheel: 0.29.0-py34_0
xz: 5.0.5-1
zlib: 1.2.8-0
Proceed ([y]/n)? y
Fetching packages ...
setuptools-20. 100% |##########################################################################################################################| Time: 0:00:00 1.95 MB/s
Extracting packages ...
[ COMPLETE ]|#############################################################################################################################################| 100%
Linking packages ...
[ COMPLETE ]|#############################################################################################################################################| 100%
#
# To activate this environment, use:
# $ source activate cftest
#
# To deactivate this environment, use:
# $ source deactivate
#
~/Development/ansible-playbook-servers   master ✘ ✹ 
$ sa cftest
discarding /home/kwilcox/miniconda3/bin from PATH
pipprepending /home/kwilcox/miniconda3/envs/cftest/bin to PATH
% (cftest)
~/Development/ansible-playbook-servers   master ✘ ✹ 
$ pip install cf_units
Downloading/unpacking cf-units
Downloading cf_units-1.0.0.tar.gz (41kB): 41kB downloaded
Running setup.py egg_info for package cf-units
Installing collected packages: cf-units
Running setup.py install for cf-units
Could not find .egg-info directory in install record for cf-units
Successfully installed cf-units
Cleaning up...
(cftest)
~/Development/ansible-playbook-servers   master ✘ ✹ 
$ python
Python 3.4.4 |Continuum Analytics, Inc.| (default, Jan 11 2016, 13:54:01)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cf_units
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/kwilcox/miniconda3/envs/cftest/lib/python3.4/site-packages/cf_units/__init__.py", line 29, in <module>
from six.moves import (filter, input, map, range, zip) # noqa
ImportError: No module named 'six'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment