Could not import setuptools which is required to install from a source distribution.
Traceback (most recent call last):
File "/Users/ejstembler/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/pip/req/req_install.py", line 387, in setup_py
import setuptools # noqa
File "/Users/ejstembler/.local/lib/python3.5/site-packages/setuptools/__init__.py", line 12, in
import setuptools.version
File "/Users/ejstembler/.local/lib/python3.5/site-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/Users/ejstembler/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 74, in
import appdirs
ImportError: No module named 'appdirs'
CondaValueError: pip returned an error.
After issuing
sh conda env create -f environment.yml
It fails when it gets to keras:
This is on macOS Sierra, version 10.12.5 (16F73)
I also tried replacing - keras==1.2.1 with - git+https://github.com/fchollet/keras.git in environment.yml; same error.