Closed willwhite closed 8 years ago
@willwhite - what does it report if you try one of the subcommands like mapbox geocoding --help
?
from chat
$ mapbox geocoding --help
Usage: mapbox geocoding [OPTIONS]
Warning: entry point could not be loaded. Contact its author for help.
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/click_plugins/core.py", line 37, in decorator
group.add_command(entry_point.load())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 580, in resolve
raise VersionConflict(dist,req) # XXX put more info here
VersionConflict: (six 1.4.1 (/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python), Requirement.parse('six>=1.5'))
Options:
--help Show this message and exit.
My best guess is something on the system python requires an older version of six.
The solution for python devs is to install in a virtual environment but this is a wider issue for those who want to install it globally.
cc @sgillies
@willwhite we've got a new release and distributing it with homebrew. Can you try
brew install mapbox/cli/mapbox
and see if it works. We're trying to encourage brew as an alternative to sudo pip install
on OS X at least.
Closing for now, I'm not able to reproduce and no more reports so far. @willwhite - if you're still getting this error, we can reopen.
I am having the same issue using Bash on Ubuntu on Windows
Update: the --upgrade option seemed to fix the problem
I installed with
sudo pip install mapboxcli
and I get the following when runningmapbox
. I haven't made much progress debugging myself. Any idea what's going on?