Repository navigation
Closed
Description
I'm trying to get fig running on Mac OS X (Mountain Lion). My versions:
Python 2.7.2
pip 1.5.2 from /Library/Python/2.7/site-packages/pip-1.5.2-py2.7.egg (python 2.7)
Vagrant 1.4.3
VirtualBox 4.3.7
When I try to do anything with fig, I get the following error:
$ fig
Traceback (most recent call last):
File "/usr/local/bin/fig", line 5, in <module>
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module>
working_set.require(__requires__)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
needed = self.resolve(parse_requirements(requirements))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: six>=1.3.0
I tried making sure that six is installed and it appears to be:
$ sudo pip install -U six
Requirement already up-to-date: six in /Library/Python/2.7/site-packages
I tried installing fig again:
$ sudo pip install -U fig
Requirement already up-to-date: fig in /Library/Python/2.7/site-packages
Requirement already up-to-date: docopt==0.6.1 in /Library/Python/2.7/site-packages (from fig)
Requirement already up-to-date: PyYAML==3.10 in /Library/Python/2.7/site-packages (from fig)
Requirement already up-to-date: requests==2.2.1 in /Library/Python/2.7/site-packages (from fig)
Requirement already up-to-date: six>=1.3.0 in /Library/Python/2.7/site-packages (from fig)
Requirement already up-to-date: texttable==0.8.1 in /Library/Python/2.7/site-packages (from fig)
Requirement already up-to-date: websocket-client==0.11.0 in /Library/Python/2.7/site-packages (from fig)
Cleaning up...
six appears to be at the right version - in /Library/Python/2.7/site-packages I'm seeing six-1.5.2.dist-info
Not sure where to go from here? Any ideas?
Metadata
Metadata
Assignees
Labels
No labels
Activity
shedd commentedon Jan 31, 2014
I tried a couple of things and found that this solution works: http://stackoverflow.com/a/19400718/139934
I ran:
(Note that I needed to use sudo on distribute_setup)
Once I installed that, fig started working. grrr - another frustrating pip experience!
Is this the "right" solution to this problem?
bfirsh commentedon Feb 1, 2014
We're hopefully going to be shipping OS X binaries and Ubuntu debs soon to avoid all this mess. (See #25)
bfirsh commentedon Feb 2, 2014
@shedd could you give this binary a try?
http://static.orchardup.com.s3.amazonaws.com/binaries/fig/Darwin/x86_64/0.2.0/fig
You can stick it in /usr/local/bin or whatever to get it on your path. Do you think you'd prefer to use a binary over pip?
shedd commentedon Feb 6, 2014
Sure, I'll give that a try - thanks! Given all of the problems I've had with pip, I think a binary does make more sense. Thanks.
cezary-biernacki commentedon Feb 21, 2014
I had the same problem and fixed it by running
I guess it was caused by a bug in previous versions in distribute or setuptools.
KyleAMathews commentedon Feb 26, 2014
Running
sudo pip install --upgrade distributesolved the same problem for me.morgante commentedon Mar 3, 2014
None of the proposed solutions worked for me. Still getting this error—any progress on a binary?
bfirsh commentedon Mar 3, 2014
@morgante give this a try: https://s3.amazonaws.com/static.orchardup.com/binaries/fig/Darwin/x86_64/fig-0.2.2
Should all work. We should be shipping a final version of it today.
morgante commentedon Mar 3, 2014
@bfirsh: That link 404s for me.
bfirsh commentedon Mar 3, 2014
@morgante Oops, sorry – fixed
morgante commentedon Mar 3, 2014
Looks good, thanks!
xixuebin commentedon Feb 6, 2015
fix it with
liusongsen commentedon Jul 19, 2015
遇到这个问题,我就直接通过二进制包方式安装了:
发布的二进制包可以在 https://github.com/docker/compose/releases 找到。
下载后直接放到执行路径即可。
例如,在常见的 Linux 平台上。
$ sudo curl -L https://github.com/docker/compose/releases/download/1.2.0/docker-compose-`uname -s
-uname -m` > /usr/local/bin/docker-compose$ sudo chmod a+x /usr/local/bin/docker-compose
Merge pull request docker#71 from estesp/readme-cleanup
Cleanup provided and example config.