Install doesn't appear to work on Ubuntu #218

Closed
chrischolette opened this Issue Nov 13, 2014 · 12 comments

Projects

None yet

6 participants

@chrischolette

Using pip or github clone, I get the following error. Any leads?

ubuntu@ip-10-251-35-4:~$ dynamic-dynamodb -c dynamic-dynamodb.conf
Traceback (most recent call last):
File "/usr/local/bin/dynamic-dynamodb", line 5, in
pkg_resources.run_script('dynamic-dynamodb==1.19.0', 'dynamic-dynamodb')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb-1.19.0-py2.7.egg/EGG-INFO/scripts/dynamic-dynamodb", line 22, in
import dynamic_dynamodb
File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb-1.19.0-py2.7.egg/dynamic_dynamodb/init.py", line 30, in
from dynamic_dynamodb.core import gsi, table
File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb-1.19.0-py2.7.egg/dynamic_dynamodb/core/gsi.py", line 8, in
from dynamic_dynamodb.statistics import gsi as gsi_stats
File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb-1.19.0-py2.7.egg/dynamic_dynamodb/statistics/gsi.py", line 157, in
stop_max_attempt_number=10)
File "build/bdist.linux-x86_64/egg/retrying.py", line 47, in wrap
AttributeError: 'module' object has no attribute 'wraps'

@sebdah
Owner
sebdah commented Nov 13, 2014

Can you please run pip freeze | grep retry?

@sebdah sebdah self-assigned this Nov 13, 2014
@sebdah sebdah added this to the 1.19.x milestone Nov 13, 2014
@chrischolette

_retry_ing==1.3.2

On Wed, Nov 12, 2014 at 5:06 PM, Sebastian Dahlgren <
notifications@github.com> wrote:

Can you please run pip freeze | grep retry?


Reply to this email directly or view it on GitHub
#218 (comment)
.

@sebdah
Owner
sebdah commented Nov 13, 2014

Thanks. I can't reproduce it on my Mac, but I'll fire up a Ubuntu instance and try it on a clean instance. I don't have the time to do it right now, but I hope to get the time later today (Pacific Standard Time) or tomorrow.

@sebdah
Owner
sebdah commented Nov 13, 2014

I'm sorry, but I can't reproduce this on a brand new Ubuntu installation either. I'd suggest that to try to do this in a virtualenv to ensure that your global libs aren't messed up some how.

@chrischolette

Ok. This happened on a clean 14.xx Ubuntu. Will experiment a bit.

On Thu, Nov 13, 2014 at 8:16 AM, Sebastian Dahlgren <
notifications@github.com> wrote:

I'm sorry, but I can't reproduce this on a brand new Ubuntu installation
either. I'd suggest that to try to do this in a virtualenv to ensure that
your global libs aren't messed up some how.


Reply to this email directly or view it on GitHub
#218 (comment)
.

@sebdah
Owner
sebdah commented Nov 13, 2014

Ok, thanks. Closing this for now.

@sebdah sebdah closed this Nov 13, 2014
@tcanabarro

I had the same issue with Ubuntu 14. Running sudo pip install --upgrade retrying worked, which gave me this:

Requirement already up-to-date: retrying in /usr/lib/python2.6/site-packages
Downloading/unpacking six from https://pypi.python.org/packages/py2.py3/s/six/six-1.8.0-py2.py3-none-any.whl#md5=2f5f96148c68f3c1611f489678a8b445 (from retrying)
  Downloading six-1.8.0-py2.py3-none-any.whl
Installing collected packages: six
  Found existing installation: six 1.3.0
    Uninstalling six:
      Successfully uninstalled six
Successfully installed six
Cleaning up...
@santhoshdaivajna

pip install --upgrade retrying #worked for me.

@ricardclau
Contributor

Same here on a brand new EC2 instance with Ubuntu 14.04

In my setup it stays with retrying 1.3.2 but it upgrades six from 1.5.2 to 1.8.0, @sebdah maybe something to add to requirements.txt?

@sebdah
Owner
sebdah commented Dec 22, 2014

Thanks for the feedback here. I will bump the retrying version in the requirements.txt.

@sebdah sebdah reopened this Dec 22, 2014
@sebdah sebdah added type: chore and removed type: question labels Dec 22, 2014
@sebdah sebdah modified the milestone: 1.20.x, 1.19.x Dec 22, 2014
@sebdah
Owner
sebdah commented Dec 22, 2014

This is now fixed in 1.20.1

@sebdah sebdah closed this Dec 22, 2014
@bounav
bounav commented Jan 19, 2015

Had that issue on Mac OS X 10.10.1 running version 1.20.2 of dynamic-dynamodb.

pip installed the latest version of retrying (1.3.3) so I ended up downgrading to version 1.2.3 of retrying (I read here this version includes its own version of six) and now dynamic-dynamodb runs...

sudo -H pip install retrying==1.2.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment