New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install doesn't appear to work on Ubuntu #218

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

Comments

Projects
None yet
6 participants
@chrischolette

chrischolette commented Nov 13, 2014

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

This comment has been minimized.

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

This comment has been minimized.

chrischolette commented Nov 13, 2014

_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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

chrischolette commented Nov 13, 2014

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

This comment has been minimized.

Owner

sebdah commented Nov 13, 2014

Ok, thanks. Closing this for now.

@sebdah sebdah closed this Nov 13, 2014

@tcanabarro

This comment has been minimized.

tcanabarro commented Nov 27, 2014

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

This comment has been minimized.

santhoshdaivajna commented Dec 7, 2014

pip install --upgrade retrying #worked for me.

@ricardclau

This comment has been minimized.

Contributor

ricardclau commented Dec 11, 2014

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

This comment has been minimized.

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 milestones: 1.20.x, 1.19.x Dec 22, 2014

@sebdah

This comment has been minimized.

Owner

sebdah commented Dec 22, 2014

This is now fixed in 1.20.1

@sebdah sebdah closed this Dec 22, 2014

@bounav

This comment has been minimized.

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