Skip to content
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

carrot.utils - cannot import _uuid_generate_random - python 2.7.11 #39

Open
ericpershey opened this issue Mar 1, 2016 · 2 comments
Open

Comments

@ericpershey
Copy link

Line 1 of carrot/utils.py imports _uuid_generate_random which no longer exists in python 2.7.11. I am running python 2.7.11 on Windows 10 currently.

Possible code to fix.
try:
from uuid import _uuid_generate_random
except ImportError:
_uuid_generate_random = None
... import other stuff

@vkhalil
Copy link

vkhalil commented Jun 29, 2016

Hi,

Also affecting Ubuntu 16.04 users as using python 2.7.11.

Thanks.

@arpit1997
Copy link

@ericpershey @vkhalil
I guess the library is still available under python2.7 the docs
It does not tell deprecated or not in development. You need to install this correctly.
There might be unavailibility of official version in 16.04
but you can always try unofficial ports of uuid. You may try this for help.
Thank you. 😸 😸

multi-io added a commit to syseleven/carrot that referenced this issue Nov 7, 2016
multi-io added a commit to syseleven/carrot that referenced this issue Nov 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants