Skip to content

Instantly share code, notes, and snippets.

@hakamadare
Created November 12, 2013 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hakamadare/7439306 to your computer and use it in GitHub Desktop.
Save hakamadare/7439306 to your computer and use it in GitHub Desktop.
sadface :( this is the result of `python setup.py develop` after pulling in huit/nepho@62a6d82
Installed /Users/huit/python/nepho/nepho
Processing dependencies for nepho==0.2.2
Searching for cement>=2.1,==2.1.4-dev
Best match: cement 2.1.4-dev
Doing git clone from git://github.com/cement/cement.git to /var/folders/b2/ps7btgls6bd_npkync0kzjcc0000gq/T/easy_install-p5qOeK/cement.git@2.1.4.dev20131029203905
Checking out 2.1.4.dev20131029203905
Processing cement.git@2.1.4.dev20131029203905
Writing /var/folders/b2/ps7btgls6bd_npkync0kzjcc0000gq/T/easy_install-p5qOeK/cement.git@2.1.4.dev20131029203905/setup.cfg
Running setup.py -q bdist_egg --dist-dir /var/folders/b2/ps7btgls6bd_npkync0kzjcc0000gq/T/easy_install-p5qOeK/cement.git@2.1.4.dev20131029203905/egg-dist-tmp-pqIFGv
Traceback (most recent call last):
  File "setup.py", line 28, in <module>
    'python-vagrant==0.4.0'
  File "/sw/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/sw/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/sw/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/sw/Library/Python/2.7/site-packages/setuptools/command/develop.py", line 27, in run
    self.install_for_development()
  File "/sw/Library/Python/2.7/site-packages/setuptools/command/develop.py", line 129, in install_for_development
    self.process_distribution(None, self.dist, not self.no_deps)
  File "/sw/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 687, in process_distribution
    [requirement], self.local_index, self.easy_install
  File "/sw/Library/Python/2.7/site-packages/pkg_resources.py", line 568, in resolve
    dist = best[req.key] = env.best_match(req, self, installer)
  File "/sw/Library/Python/2.7/site-packages/pkg_resources.py", line 806, in best_match
    return self.obtain(req, installer) # try and download/install
  File "/sw/Library/Python/2.7/site-packages/pkg_resources.py", line 818, in obtain
    return installer(requirement)
  File "/sw/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 609, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/sw/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 639, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/sw/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 825, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/sw/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 1031, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/sw/Library/Python/2.7/site-packages/setuptools/command/easy_install.py", line 1016, in run_setup
    run_setup(setup_script, args)
  File "/sw/Library/Python/2.7/site-packages/setuptools/sandbox.py", line 69, in run_setup
    lambda: execfile(
  File "/sw/Library/Python/2.7/site-packages/setuptools/sandbox.py", line 120, in run
    return func()
  File "/sw/Library/Python/2.7/site-packages/setuptools/sandbox.py", line 71, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 4, in <module>

ImportError: cannot import name version
@tfhartmann
Copy link

Me too!

@agperson
Copy link

pip uninstall cement first.

@hakamadare
Copy link
Author

@agperson is right, pip uninstall cement first solves the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment